Octave-Frontend is an adaptation of the octave
interpreter to serve as a front-end to the MOUSE compiler. It is distributed
under the general public license (GPL) .
The adaptation is based on octave version
2.1.35 . For the interpreter mode, GNU
readline is required. For generation of intermediate representation, the RNA
library is required. Additionally, the front-end can also generate its intermediate
representation using the Aterm
library of University of Utrecht.
The current version (0.2) of octave front-end can be downloaded here .
There is also a patch
for version 2.1.35.
Local copies of the RNA
library and the Aterm
library are available, too.
- Install the RNA library and optionally the Aterm library.
- Unpack the octave front-end archive
- Install according to the instructions given in the 'INSTALL' file of the octave
- Pass the option '--enable-rna' to 'configure to switch on facilities to generate
- Pass the option '--enable-aterm' to switch on facilities to generate Aterm
- If your are using the 3-series of gcc, please use the environment variable
CXXFLAGS to set '-fpermissive'.
After installation, you can switch on generation of intermediate code by giving
the option '-c' to octave. The name of the output file can be specified by '-o'.
The option '-F rna' switches to RNA format, '-F aterm_text' switches to Aterm
More information about the MOUSE compiler framework can be obtained
Contributions and feature enhancements are welcome. Please submit to firstname.lastname@example.org.