Skip to content

manisaiprasad/msp-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

msp_lang and Interpeter

Simple and hackable programming language for learning about compiler design

terminal image

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

Instructions to run on your local Machine

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

Play with

Try out some examples listed in repo wiki and experiment 💻, writing your own code and see how it works

Feature checklist

✅ Simple syntax

✅ Variable bindings

✅ Integers and booleans

✅ Arithmetic expressions

✅ Functions

⌛️ String data structure

⌛️ Array data structure

Contributions

We'd love to accept your patches and doc suggestions! and Any kind of enhancements, bug reports are always welcome.

  • Submit an issue describing your proposed change to the repo in question.
  • Fork the repo, develop and test your changes.
  • Submit a pull request.

About

Simple and hackable programming language for learning about compiler design

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published