Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 443 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 443 Bytes

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