Skip to content

v0.3.0

Latest

Choose a tag to compare

@mega12345mega mega12345mega released this 30 Aug 07:20
e194e8c
  • Added inheritance and polymorphism
  • Added static field support
  • Added <clinit> support
  • Added instanceof support (doesn't yet support arrays)
  • Added -sysout flag to view compilation progress and total time
  • Added mcj:shutdown, which runs mcj:setup and then removes running (instead use mcj:terminate, which already exists, to view the current state of the heap, stack, etc.)
  • Made mcj:setup clear out extra data used for old macro calls
  • Fixed namespace:main incorrectly setting up the entrypoint for maxCommandChainLength detection, which also prevented it from calling other entrypoints
  • Moved the examples into their own namespaces
  • Renamed constructor_ to init_ when using -expandedPaths
  • Fixed handling of null Strings
  • Improved String support for ints and booleans
  • Moved fields on the heap into a fields compound
  • Added storage mcj:data classes, which includes values for static fields and vtables (and more)
  • Added field~<name> and included fields in class~
  • Added const~<name>, where <name> can be:
    • global/namespace
    • global/main_class
    • global/expanded_paths
    • class/path
    • class/name
    • class/is_main
    • method/path
    • method/param_count
    • method/is_main
    • method/is_static
    • method/is_native
    • method/is_void