Skip to content

v0.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@nicholascc nicholascc released this 28 Apr 01:37
· 5 commits to main since this release

Look in README.md for instructions for using the compiler, and do note that it currently only supports Windows x64. If you use the compiler's interpreted mode -i, it needs no other dependencies and can just be run as an executable. If you use the compiler's executable output mode -o, you will need to use a C compiler and linker for the final step.

Changes:

  • Added string literals.
  • Added || and && operators for booleans.
  • Fixed struct exporting.
  • Changed the entry point name from 'eme' to 'main'.
  • Added num_cast for integer and float casting.
  • Added interpreted foreign function 'exit' which behaves like it does in C.
  • Added global integer constants.
  • Added 'unique' type definitions.
  • Added #export for uniques, global constants, and imports.
  • Fixed many small errors.
  • Added f32, f64, and float.
  • Added a timer for determining compilation speed on Windows, as well as an extra compilation mode -b.