[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hum/emi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emi

Interpreter for a made-up language written in Go.

Todo:

  • Finish basic functions of the lexer
  • A REPL
  • Write a parser
    • AST
  • Evaluate expressions
  • Add more data types and built-in functions to the interpreter (arrays, hashes, etc.)

Syntax

let five = 5;                 
let ten = 10;                 
let add = fn(x, y) {          
  x + y;                      
};                            
let result = add(five, ten);

Releases

No releases published

Packages

No packages published

Languages