Skip to content

Very basic IDE and visualization/simulation of Mini-C compiler. Tokens, AST, bytecode step-by-step execution

Notifications You must be signed in to change notification settings

AlexP11223/minic-edu-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

How to build

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.

About

Very basic IDE and visualization/simulation of Mini-C compiler. Tokens, AST, bytecode step-by-step execution

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published