Skip to content

A toy language where all instructions are binary operators. A program is thus a binary tree.

Notifications You must be signed in to change notification settings

PerraiD/Arbuste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 

Repository files navigation

arbuste

What is it?

Arbuste is toy language where all instructions are binary operators. A program is thus a binary tree.

The compiler is written in Ocaml with ocamllex and ocamlyacc.

Compile it!

As bytecode:

ocamlbuild src/arbuste.byte

As native code:

ocamlbuild src/arbiste.native

Run!

Run

./arbuste.byte examples/helloworld.arb

or

./arbuste.native examples/helloworld.arb

About

A toy language where all instructions are binary operators. A program is thus a binary tree.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages