andrew-johnson-4 / lambda-mountain

Typed Macro Assembler (x86, HTML, CSS, lots of things)
https://andrew-johnson-4.github.io/lambda-mountain/
MIT License
17 stars 0 forks source link

Define a library api #595

Open andrew-johnson-4 opened 1 month ago

andrew-johnson-4 commented 1 month ago

The c and rust apps need functions to call.

One possible function would be to inject a file contents into the runtime. Build configuration would also be useful. Then run the compiler. These apps need to work for both aot and jit.

andrew-johnson-4 commented 1 month ago
inject-file : ( file-name : String , file-contents : String ) -> Nil;
compile : () -> Nil;
config-set-target : ( target : String ) -> Nil;