Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1021 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 1021 Bytes

Corvassembly

Development tools for the Corvus flavor of assembly.

The documentation can be found here.

If you'd like to assemble your own code, you'll need the antlr4 runtime for python. Assuming you already have python and pip installed, simply run:

$ pip install antlr4-python3-runtime

In addition, you'll need numpy:

$ pip install numpy

If you want to modify the assembler itself, it would be helpful to install the latest antlr4 complete jar. The ANTLR site provides an easy quick-start guide for this process. Note that in order for the configurations to persist beyond the current session, you should paste the export and alias commands into your shell's configuration file.

To test the lexer and parser and produce a graphic syntax tree, simply enter:

$ make test

To build the python output files and assemble a test file:

$ make