+ 4
Can you create your own programing language?
3 Respostas
+ 1
You can make an interpreter in the language you know already. Interpreters are much easier than compilers, so you should start with that first. It's not that hard. First, build a lexer which will split all lines to tokens, and based on the tokens do some operations. This is essentially what all interpreters do.
0
Sure. That's often used to hide implementation details and builds a so called Domain Specific Language. But you can also develop another programming language. Google compiler design, formal language, grammar, ... and start your journey.
0
Yes, you can do this.
You should describe your language using BNF.
And then create a compiler with tools such as Flex Bison .