[antlr-interest] antlrv3-maven plugin problem with "monolitic" grammars
Corrado Campisano
corrado.campisano at gmail.com
Mon Dec 7 12:05:53 PST 2009
Hi folks,
I'm using ANTLRv3 for my dissertation (building a parser for Description
Logics statements to be converted into OWL class definitions).
I've been using AntlrWorks to prepare a draft version of my grammar, then I
started mavenizing the stuff.
I experienced a problem with "monolitic" grammars (both parser and lexer)
when generating Lexer and Parser:the problem is the "package" directive is
added to the Parser only and not to the Lexer.
I worked around it by splitting the grammar into the parser-and-lexer parts,
so this email is just to report the issue, in case someone wants to fix it.
For a descritpion of the problem, take a look at section " 4) CREATE A TEST
CASE AND RUN IT" in this readme:
http://www.servicemix.eu/_SAMPLES/READ_ME.txt
You can also get the whole maven-project-root folder here:
http://www.servicemix.eu/_SAMPLES/maven-test-1.zip
Cheers.
Corrado Campisano
---------- Messaggio inoltrato ----------
Da: Corrado Campisano <corrado.campisano at gmail.com>
Date: 07 dicembre 2009 20.22
Oggetto: Re: tesi: novità?
A: Armando Stellato <stellato at info.uniroma2.it>
Salve prof,
nuovo aggiornamento di natura "tecnica"; ho "mavenizzato" quanto fatto
finora, in allegato c'e' la cartella del progetto.
Se non conosce Maven <http://maven.apache.org/>, dia un'occhiata al file
"READ_ME.txt" che trova nella cartella "_DOC" nello zip allegato, c'e' la
descrizione passo-passo di quello che ho fatto (e' pensato per permettere la
"replica" del processo, a me innanzitutto, vista la complessita' dello
strumento).
PS: mi puo' dare una disponibilita' per un incontro nella settimana
pre-natalizia (14-18 dicembre).
Cordiali saluti,
Corrado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091207/13fee7c2/attachment.html
More information about the antlr-interest
mailing list