V
V
Vladimir Sakov2015-01-28 20:25:34
Iron
Vladimir Sakov, 2015-01-28 20:25:34

What is the name of the program for creating a programming language?

Hello fellow Toasters!
Today I have a small set of questions.
PS I am an agricultural school who wants to create his own programming language. (as always)
1) Is there a program / compiler thanks to which you can create your own full-fledged compiler that converts any code written in it (at the click of a button) into a program and can compile it into the .exe format
2) Is it possible to create such a web - a compiler (preferably in php) which the code (text in English in this case) converted (by pressing the magic button) into the source code and could save this result. (That is, the reproduction of the program itself. For example, a finished program made through the source code can be played by another user without using the source code by the user of the written program)
Thank you all for your attention!
Good luck with your projects and have a nice day!

Answer the question

In order to leave comments, you need to log in

5 answer(s)
Y
Yuri Mikhailuts, 2015-01-28
@JBMurloc

The compiler can be written even in BASIC. Yes, yes, on the same Beysk that takes place at school. The whole complexity of writing a compiler is in the compilation mechanism itself.
So, for starters, learn the theory:
1) Backus-Naur forms are a great theory that allows you to formally write down any language, that is, how to mathematicize language constructs so that they can be programmed. You can read about it here: on Wikipedia , and here not only about BNF, but also about its analogues , And there are lectures on this topic on Intuit , and here is an excellent textbook on compiler theory .
2) It is worth studying the architecture of computers. At least superficially, but you should understand what a program is and how it is executed on a computer: Von Neumann Architecture , and again an article on Intuit (he is generally awesome) , a little about finite automata , Implementation of a finite automaton , Turing Machine
3) Learn C / C++ or some other native programming language. I can recommend Stroustrup .
And generally speaking! I strongly do not recommend waiting for a miracle, it will not happen. The world is cruel and merciless, and if you do not comprehend the necessary knowledge yourself, but wait until someone writes a "Magic Program with a Magic Button" for you, then you will not wait for anything. I also waited until the age of 18, and then I entered the university and began to study. Now I work as a programmer and at least one of my dreams came true, but I still look with envy at those who, already at the age of 18-22, are known as excellent specialists. I know that I could be like that too, but I didn’t because I was waiting for someone to give me a magic button.
Good luck with your studies!

V
Vitaly Yakovenko, 2015-01-28
@Xazzzi

There are examples, you can see badly searched.
habrahabr.ru/post/119850

V
Vladimir Sakov, 2015-01-29
@Tostich

Apero.ru
How then was this text game constructor created? There after all the compiler is used?
How to create exactly the same?

J
John Smith, 2015-01-29
@ClearAirTurbulence

Um... Yuriy's answer above is exhaustive, I advise you to re-read it if you want to create a programming language.
It’s just not clear:
- why
- how are you going to do it with such a mess in your head.
There is a suspicion that if you really seriously start to study the issue, the desire to write bicycles will disappear in you, giving way to more rational ones.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question