DEV Community

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

bakenator profile image
bakenator • Edited on

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"

desi profile image
Desi Author

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