|Gil Mizrahi e569d0462d update to stackage lts 17||vor 8 Monaten|
|src||vor 9 Monaten|
|tests||vor 8 Monaten|
|.gitignore||vor 1 Jahr|
|.gitlab-ci.yml||vor 10 Monaten|
|LICENSE||vor 1 Jahr|
|README.md||vor 1 Jahr|
|build.hs||vor 8 Monaten|
|design.org||vor 9 Monaten|
|todo.org||vor 9 Monaten|
BIP (name pending) is stack-based bytecode interpreter (/virtual machine) for statically typed functional languages written in C.
I hope to stick with this project for long enough to get to implement closures, garbage collection, exceptions and concurrency. I'll be taking cues from OCaml and Chicken Scheme as well as other resources, combined with some experimentation.
./build.hs. Stack will download GHC (A Haskell compiler) and several packages the first time you run this so this might take some time.
./build.hs test- To run tests
./build.hs run- To interpret and run the file
./build.hs valgrind- To interpret and run the file
./build.hs clean- To clean
I'm using this project to brush up on my C, learn more about runtime systems, and potentially use this as a backend to my WIP functional language. I'm not entirely sure what I'm doing, but I'll figure it out!
Check out the todo.org file for the current status. Note that this project is built incrementally and in short sessions. Sometimes I'll revise my design decisions, refactor my work, and change the priority of some tasks. It's all part of the plan!
Want to learn more about similar topics? Take a look at this list of resources.