Skip to content
/ Chimp Public

A simple javascript like language written in Go. Chimp has double engines, supporting assignment, branch, loop, function and closure.

Notifications You must be signed in to change notification settings

RalphExp/Chimp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chimp Language Python3 License Version

Chimp Language

A javascript like language with VM, extending Monkey, but with more strict syntax

New Features

  • a enhanced REPL shell and interpreter
  • support block scope
  • support while statement
  • support do-while statement
  • support for statement
  • support break and continue statements
  • op-assigment +=, -=, .etc
  • short circuit logical operators (&&, ||)
  • byte code for all of the new statements
  • line comments and block comment

TODO:

  • see the code

How to run

make
./chimp -vm

About

A simple javascript like language written in Go. Chimp has double engines, supporting assignment, branch, loop, function and closure.

Resources

Stars

Watchers

Forks

Packages

No packages published