Skip to content

An interpreter written in go for a made-up language

License

Notifications You must be signed in to change notification settings

Despire/interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

interpreter

A interpreter written in go for a made-up language. ref

Example program

let a = 5;
let b = 10;

let sum = fn(x, y) {
    x + y;
};

let sum_result = sum(a, b);

let c = if (sum_result < 15) {
    return true;
} else {
    return false;
};

The above program run in the REPL.

alt test

About

An interpreter written in go for a made-up language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages