[LLVMdev] LLVM LL(k) grammar

Chris Lattner sabre at nondot.org
Tue Jan 25 10:42:19 PST 2005


On Tue, 25 Jan 2005, Jean-Christophe Le Lann wrote:
> Hello,
> Does a LL(k) grammar of LLVM assembly language exist somewhere ?

Nope, however, there is a bison grammar here:

llvm/lib/AsmParser/llvmAsmParser.y

with a lexer in the same directory.  The grammar is pretty simple, and if 
you have any questions, feel free to ask.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list