apt1002 / mijit

Experimental JIT compiler generator
https://github.com/apt1002/mijit/
25 stars 4 forks source link

Spin off Beetle as a separate project that depends on Mijit #30

Closed apt1002 closed 3 years ago

apt1002 commented 3 years ago

Only a minimal version of Beetle is necessary inside Mijit for testing.

apt1002 commented 3 years ago

Find it here. The goal is to support the whole of the Beetle specification, and to be able to run pForth. We've already implemented new features, including loading of object files, command line arguments, and file I/O, and we've made a number of bug fixes.

The version of Beetle inside Mijit is now obsolete. We will backport some fixes, but I think the sensible thing would be to pare it down until it only serves as an example and as an integration test. For example, we should perhaps remove all the instructions not used by the "ackermann" test.