项目
在 GitHub 查看
ftomassetti/LangSandbox
关于
用于展示如何构建编程语言的项目
编程语言与运行时实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文LangSandbox
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!
探索相关项目
加载中…