peterchaula / LangSandbox

Project to illustrate how to build a programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LangSandbox

This project is used to illustrate how to build a programming language. The code present here is discussed in a series of articles

  1. Define the lexer
  2. Define the parser
  3. Build an editor with syntax highlighting (the code for this part is in this project)
  4. Build an editor with autocompletion (the code for this part is in this project)
  5. Map the parse tree to the abstract syntax tree (to be published)
  6. Transform the abstract syntax tree (to be published)
  7. Validate the abstract syntax tree (to be published)
  8. Generate bytecode (to be published)

About

Project to illustrate how to build a programming language

License:Apache License 2.0


Languages

Language:Kotlin 91.5%Language:ANTLR 8.5%