Need help with LangSandbox?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

ftomassetti
540 Stars 85 Forks Apache License 2.0 51 Commits 3 Opened issues

Description

Project to illustrate how to build a programming language

Services available

!
?

Need anything else?

Contributors list

# 14,293
eclipse
Clojure
Shell
syntax-...
40 commits
# 86,632
Shell
TeX
R
text-ba...
2 commits
# 44,249
spring-...
Spring
openshi...
jms
1 commit
# 138,781
Rust
Django
JavaFX
Shell
1 commit
# 62,723
C++
Kotlin
JavaFX
image-e...
1 commit

Apache 2.0 License  build status

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.

  1. Define the lexer
  2. Define the parser
  3. Build an editor with syntax highlighting
  4. Build an editor with autocompletion
  5. Map the parse tree to the abstract syntax tree
  6. Transform the abstract syntax tree
  7. Validate the abstract syntax tree
  8. Generate bytecode

I hope you enjoy and please let me know if you have issues, ideas, comments or any sort of feedback!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.