Simple and hackable programming language for learning about compiler design
This language was implemented in golang, But you can pretty much understand the concepts behind, even if you never write a single line of code in go language
Head over to https://golang.org/ and install 'go' on your system
Then set your $GOPATH to the top-level folder
or Base folder contains an .envrc
file. If you have direnv (http://direnv.net/) installed then the $GOPATH should be
automatically set for you as soon as you cd
into the msp_lang.
git clone https://github.com/manisaiprasad/msp_lang.git
cd msp_lang
To activate interpreter, Now you can run make
or go run ./src/msp_lang/main.go
__ __ ____ ____ _ _ _ _ ____
| \/ | / ___| | _ \ | | / \ | \ | | / ___|
| |\/| | \___ \ | |_) | | | / _ \ | \| | | | _
| | | | ___) | | __/ | |___ / ___ \ | |\ | | |_| |
|_| |_| |____/ |_| |_____| /_/ \_\ |_| \_| \____|
Hello $username! This is the MSP Lang programming language!
Feel free to type in commands
Try out some examples listed in repo wiki and experiment 💻, writing your own code and see how it works
✅ Simple syntax
✅ Variable bindings
✅ Integers and booleans
✅ Arithmetic expressions
✅ Functions
⌛️ String data structure
⌛️ Array data structure
We'd love to accept your patches and doc suggestions! and Any kind of enhancements, bug reports are always welcome.