sunjay / brain

A high level programming language that compiles into the brainfuck esoteric programming language
MIT License
170 stars 12 forks source link

Compiling Libraries and Linking #38

Open sunjay opened 7 years ago

sunjay commented 7 years ago

In order to support libraries, we want to be able to compile brain code into a special library format akin to C/C++ object files and Rust rlib files. There should be a command line argument which compiles some code into a library and outputs a file in the library file format.

Library Format

The library file format should be well defined. It should at minimum contain:

TODO: