Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 3.21 KB

README.md

File metadata and controls

60 lines (40 loc) · 3.21 KB

PINEAPPLE

(English | 中文)

Description

Pineapple Lang is a simple programming language demo implements by Go. 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.

How to run

$cd examples/pineapple/
$go build
$ ./pineapple hello-world.pineapple
pen pineapple apple pen.

May be other Language?

Don't worry, we have other pineapple-lang implements for you:

Tutorial

Contributors

License