Projects
View on GitHub
ftomassetti/LangSandbox
About
Project to illustrate how to build a programming language
Languages & RuntimesMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalLangSandbox
This project is used to illustrate how to build a programming language. The code present here is discussed in a series of articles.
From these series of tutorials I derived a book on creating languages.
You may be interested in the companion project (Kanvas) where we show how to build an editor for your language.
- Define the lexer
- Define the parser
- Build an editor with syntax highlighting (the code for this part is in this project)
- Build an editor with autocompletion (the code for this part is in this project)
- Map the parse tree to the abstract syntax tree
- Transform the abstract syntax tree
- Validate the abstract syntax tree
- Generate bytecode
I hope you enjoy and please let me know if you have issues, ideas, comments or any sort of feedback!
Explore related projects
Loading…