Skip to content

Releases: dwysocki/mini-java

Completed Compiler

Choose a tag to compare

@dwysocki dwysocki released this 09 Dec 06:59

Unless I decide to come back to this some day, this is the final state of my compiler.

Probably Complete

Probably Complete Pre-release
Pre-release

Choose a tag to compare

@dwysocki dwysocki released this 25 Nov 03:12
Update project.clj

Added initialization before use check (in the most hacky way possible).
Also made some minor fixes and improvements.

Compiling Successfully

Pre-release

Choose a tag to compare

@dwysocki dwysocki released this 18 Nov 13:13

The compiler now successfully compiles any valid program. Still needs to report a few errors.

Turing complete?

Turing complete? Pre-release
Pre-release

Choose a tag to compare

@dwysocki dwysocki released this 13 Nov 05:12

An impressive subset of the language is now implemented, enough that I believe it is now turing complete.

The features include:

  • if/while/print
  • arithmetic/logic operators
  • local assignment and referencing
  • object instantiation
  • calling functions of no arguments

Compiles trivial programs

Pre-release

Choose a tag to compare

@dwysocki dwysocki released this 11 Nov 00:28

Successfully compiling programs which only contain a main class with a single print statement printing an integer literal. It's not much, but it's something.

Phase 2

Phase 2 Pre-release
Pre-release

Choose a tag to compare

@dwysocki dwysocki released this 31 Oct 20:40

Static semantics checking fully implemented.

Lookup Table

Lookup Table Pre-release
Pre-release

Choose a tag to compare

@dwysocki dwysocki released this 25 Oct 02:10

Implemented a lookup table for classes, methods, and variables. Also implemented appropriate errors when duplicates are given.

Phase 1

Phase 1 Pre-release
Pre-release

Choose a tag to compare

@dwysocki dwysocki released this 24 Oct 15:45

Supports syntax error checking for mini-java.