minic-edu-app

Introduction: Very basic IDE and vizualization/simulation of Mini-C compiler. Tokens, AST, bytecode step-by-step execution
More: Author   ReportBugs   
Tags:

Build Status

Very basic IDE and vizualization/simulation of Mini-C compiler (https://github.com/AlexP11223/minic).

Allows to see output for each compilation phase, such as tokens, AST image, generated JVM bytecode and to execute bytecode step-by-step simulating JVM operand stack and variables changes.

Implemented in Kotlin, using JavaFX (TornadoFX) for GUI, RichTextFX text editor.

Requirements:

  • JDK 8+.
  • Maven 3+.

Run Maven package phase. This will download all dependencies, run JUnit tests and build JAR file + native application/bundle (such as .exe for Windows). Check Maven output to see if all tests and build steps are completed successfully.

(Maven is included in popular Java IDEs such as IntelliJ Idea or Eclipse. You can run it either via your IDE Maven plugin or from command line in separate Maven installation: mvn package.)

dist/ folder will contain JAR file and native bundles for the target OS, such as .exe for Windows, as well as sample source code files.

Some of the tests (as well the application itself) launch java, using path from System.getProperty("java.home"). Fallbacks to java (from PATH environment variable) if it is not found.

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools