Skip to content

Eco-Gaming/Java-Interpreter

Repository files navigation

Java-Interpreter

This is a very basic Java Interpreter, based on the grammar file in grammar/JavaGrammar.g4. Currently names can only consist of lowercase letters, and only void, String and int types are accepted.

This project was made as part of a computer science class in 2023. Its grammar does not comply with proper Java grammar, as it was made to fulfil the given requirements.

Credits

  • ANTLR is used for scanning and parsing the input.