Pineapple Lang is a simple programming language demo. It includes a hand-written recursive descent parser and a simple interpreter, although the language is not even Turing-complete. But this repo's main goal is to give beginners of compilation principles a warm up and a simple look at how a programming language is built.
This project is a Hack Lang implementation of Pineapple Lang
cd pineapple-hack/
./bin/pineapple-hack tests/examples/hello-world.pineapple
# pen pineapple apple pen.
- Build a Programming language in 450 lines - 1, Start with EBNF
- Build a Programming language in 450 lines - 2, Two Magic
- Build a Programming language in 450 lines - 3, Lexer Part A
- Build a Programming language in 450 lines - 4, Lexer Part B
- Build a Programming language in 450 lines - 5, Parser
- Build a Programming language in 450 lines - 6, Backend
- Build a Programming language in 450 lines - 7, How to Learn Next