- Scheme-based language
- Math operations and variable declarations
- Built a lexical analyser for tokenization of custom language and established abstract syntax tree (AST) by parsing
- Designed custom CLI and REPL & Integrated file stream to evaluate program in unique file extension
- Transpiled entire custom language to executable target language Javascript by applying Visitor pattern
- 100% unit tests coverage with Jest Framework
3 ways to interact
- Repl
- Read files from filesystem
- Transpile to JS
npm init
npm link
dropbear run examples/example2.drp
Starts with ( and ends with )
(multiply 2 3)
(add 2 subtract (3 1))
(define x 3)
(max 2 3 56)