Skip to content

khzouroussama/JVM-Simple-Lang

Repository files navigation

JVM Simple Lang

a small programming language that runs on the JVM and uses Quadruples as an intermediate Code

exemple1

Technologies

this project is created with:

Symbole Table

exemple2

Quadruples

It is structure with consist of 4 fields namely op, arg1, arg2 and result. op denotes the operator and arg1 and arg2 denotes the two operands and result is used to store the result of the expression.

exemple3

Jasmin generated code

Jasmin is an assembler for the Java Virtual Machine. It takes ASCII descriptions of Java classes, written in a simple assembler-like syntax using the Java Virtual Machine instruction set. It converts them into binary Java class files, suitable for loading by a Java runtime system.

check http://jasmin.sourceforge.net/

exemple4

Examples

check the exemples folder

Note

tested only on Linux !

About

a small programming language that runs on the JVM and uses Quadruples as an intermediate Code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published