Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 580 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 580 Bytes

Plug

Build Status

Plug is a tiny C-like programming language. Plug syntax looks like this:

let five = 5;
let ten = 10;

let add = func(x, y) {
    x + y;
};

let result = add(five, ten);

print(result);

To compile the project, make sure you have Go installed. Clone the project to your $GOPATH and run go build in the project folder.

If you have the binary already run plug your-file.plug or just run plug to start the REPL.