This project generates lexers and parsers for LLVM IR assembly from an EBNF grammar using Textmapper.
# Clone repo and submodules.
git clone --recursive https://github.com/llir/ll
# Install textmapper.
cd ll/tools/textmapper/tm-tool
./gen.sh
# Generate LLVM IR parser.
cd ../../..
make
The llir/ll
project is dual-licensed to the public domain and under a zero-clause BSD license. You may choose either license to govern your use of llir/ll
.