Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A LOWL-to-LLVM map for compiling the ML/I Macro Processor.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
ML/I-LLVM, a recompiler for LOWL sources of ML/I to LLVM. Preliminary note. This software does NOT include ML/I sources. LOWL ML/I sources can be downloaded from the ML/I Macro Processor site. Introduction. This software maps LOWL language to LLVM assembler. LOWL is an abstract low-level language used to develop portable software by ML/I and a couple of other programs. A LOWL-based program is composed of a machine-independent (MI) part and a machine depended (MD) part. The MI part is simply the collection of routines and data defined in the LOWL sources. The MD part instead consists of LOWL extensions and runtime routines used for I/O and actual starting of the program. This software contains a LOWL to LLVM translator (including ML/I extensions) and runtime routines for running ML/I (specs for ML/I MD at ). Prerequisites for compiling ML/I 0. LLVM must be installed in your system. Specifically, you will need 'llc', 'opt' and 'llvm-as' to be accessible from your PATH. 1. 'lex' and 'yacc' (or more commonly, bison and flex) should be installed in your system. How to compile ML/I. 0. Clean the current tree of temporary/old builds, typing 'make clean'. 1. Dowload ML/I LOWL sources from the ML/I Macro Processor site. 2. Type 'make ML1SRC=<path to ml1 lowl sources>' If everything goes fine, you should have a 'ml1' executable, which is a simple ML/I macro processor that gets input from stdin and write output to stdout. Errors and other messages are sent to stderr. How to compile LOWL Test. 0. Make sure your current source tree is clean. 1. Download LOWL Test sources from the ML/I Macro Processor site. 2. type 'make lowltest LOWLTESTSRC=<path to lowl test sources>' Notes.  http://www.ml1.org.uk, the ML/I Macro Processor site.  http://www.ml1.org.uk/htmldoc/lowlmap.html  http://www.ml1.org.uk/htmldoc/lowlml1.html  http://www.ml1.org.uk/tgz/lowlml1.tar.gz, or check in the Source Code section of http://www.ml1.org.uk/implementation.html; older versions are also available at http://www.ml1.org.uk/archive.html