This is a Virtual Machine Language Translator made using Java which Translates VM language code into assembly code.
This VM Translator has three modules:
- VMTranslator.java which is the top-most/ main module which drives the process.
- Parser.java which reads a VM command, parses the command into its lexical components, and provides convenient access to these components. It also removes all the white-spaces and comments.
- CodeWriter.java which generates the actual assembly codes by translating the VM codes.