Skip to content

Releases: Alex230805/JAAT

JAAT code optimization

10 Nov 11:30
Compare
Choose a tag to compare

Nothing really changed in this release, the vm instruction set and how it work is the same as the 1.0 release.

The major changes are located in the general code structure, especially in how someone can easily update the machine code or
the instruction set. By using the X macro technique and some c preprocessor power is possible now to easily update the instruction set
without change things in too many places.

JAAT: a JIT Virtual Machine

23 Oct 21:16
Compare
Choose a tag to compare

simple, fast and easy to use library

What is JAAT

I made JAAT for a single purpose: i was bored, bug i have a list of things to do.
On top of my list there was a point about making a JIT compiler.

Instead making an entire JIT compiler, I focus more about making the virtual machine and the middle language for it.
So i started developing JAAT.

How to use JAAT

JAAT can be used like a backend for compilation and execution, or like a built in library to implement and entire JIT compiler
with a prebuilt vm and with a defined instruction set.

By building the project you'll have the JAAT executable in your base dir. By calling it with the -l or -h command you will see a simple helper about instruction and about how to use the library.

By calling it with -n and next linking an external file, JAAT will read, parse and execute from external file, by acting like a backend.

To learn more about it structure you can read the JAAT.h file inside lib/