DEV Community

loading...

Discussion on: ELI5: How does someone write a new computer language?

Collapse
bakenator profile image
bakenator

ELI5 version: you write a program in an existing language to read and compile the new language. Eventually using this method you can write a compiler program in the new language for the new language. Then you don't need the old lang anymore

To go further Google "tokenization" and "abstract syntax trees"

Collapse
desi profile image
Desi Author

This is super simple and exactly what I was hoping for! Haha thank you!