What are the initial requirement that i need to know to develop a programming language like coffee script that basically has its own syntax but after compilation changes into another language. I did Google on that but couldn’t find the right answer.
Share
Specify your language with a basic formal grammar in something like EBNF.
Learn about simple parsing by recursive descent and operator precedence.
Write a parser that creates an abstract syntax tree from a source file.
Write a code generator that converts this AST into your target language; or
Write an interpreter that merely evaluates the AST.