Description:
Construction of compilers and tools with PCCTS.
|
|
|
nned help on printing strings matched by an ANTLR parser rule
|
| |
Hi Friends I need some help on how to print the input string in an input file matched by a parser rule in ANTLR The parser rule can contain many subrules and tokens The rules can be of the form (~SEMI *) LFPAREN header; etc I want to extract the string in the input file which matches a particular rule like above.... more »
|
|
Looking for John Lilley's C++ grammar and PCCTS
|
| |
Hello, I am looking for the C++ grammar and the PCCTS version that Jogn Lilley modified. Unfortunately, I was not able to find them on today's Internet - the original page has gone long ago. If someone has a link or a copy of these to share, please post to comp.compilers.tools.pccts - sorry for the crosspost.... more »
|
|
tool for lex and yacc ?
|
| |
Hi, Is there a GUI tool for lex and yacc ? I mean which can simplify things by nicely arranging them into rules section, declarations section, help me find and probably co-relate some rules etc. I need such a tool to understand whats going on in a huge lex and yacc file.
|
|
Is there a bug in DOT generation in ANTLR (3.0)?
|
| |
I used the example in Terence Parr's "The Definite ANTLR, Building Domain-Specific Languages", page 191 to generate DOT from the abstract syntax table. I directed the result DOT file to "dot -svg" and stored the SVG file. Then I generated an HTML file that contains the program file and its abstract syntax file.... more »
|
|
What's the exact difference between PCCTS and ANTLR2
|
| |
Hello, All . I know the PCCTS and ANTLR use completely different approaches to generate Lexer source code, and there are some syntax changes of meta language, as described in <<Conversion of a C++ Parser from PCCTS to ANTLR>>. But aside from those described above, are there any more changes? What's the exact advantage of ANTLR2 over PCCTS? And PCCTS... more »
|
|
newbie help : lexer in c++\c
|
| |
hi to all . this may seem quite out of place . i've opted for building a lexical analyzer using c/c++ for my summer project . i know the required automata theory and i know c/c++ too . i've also read the 'lex and yacc' and now i'm stuck and i'm still not able to figure out how to go about starting the coding part or where to begin it .i would... more »
|
|
|