|
List Info
Thread: "Generating Parsers With JavaCC" now available!
|
|
| "Generating Parsers With
JavaCC" now available! |

|
2007-07-16 20:47:52 |
Hi all -
I wanted to let folks know that my JavaCC book
"Generating Parsers With
JavaCC" is now available! It covers lots of stuff that
I hope will be
interesting to those work with JavaCC, including sections
on:
- Installing and running JavaCC from the command line, with
Ant, and
with Maven
- Building tokenizers with regular expressions, lexical
states, and
using MORE/SKIP/SPECIAL_TOKEN tokens
- Creating parsers, using multiple token/syntactic/semantic
lookahead,
and resolving ambiguities and choice conflicts, plus a
chapter on JJDoc.
- Working with Abstract Syntax Trees (ASTs), using
conditional node
descriptors, and building Visitors with JJTree. Even a
section on JTB!
- Handling Unicode characters in a JavaCC grammar
- Catching and recovering from errors within a tokenizer,
parser, and
tree builder
- Testing tokenizers and parsers with JUnit and testing ASTs
with XPath
- Installing and using the excellent JavaCC Eclipse plugin
- A flurry of small examples showing JavaCC in various
contexts: parsing
Apache logs, a simple Logo parser, and several others.
Here's the book's web site:
http://genera
tingparserswithjavacc.com/
and to just skip ahead to the ordering page, go here:
ht
tp://centennialbooksonline.com/index_Page437.htm
I'd greatly appreciate any blog mentions or publicity of
that sort;
please help spread the JavaCC goodness! Thanks, and enjoy!
Yours,
Tom Copeland
tom infoether.com
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
For additional commands, e-mail: users-help javacc.dev.java.net
|
|
| Re: "Generating Parsers With
JavaCC" now available! |

|
2007-07-16 21:12:27 |
Nice! And that totally explains the purpose behind the java
to html
converter.
Dale
Tom Copeland wrote:
> Hi all -
>
> I wanted to let folks know that my JavaCC book
"Generating Parsers With
> JavaCC" is now available! It covers lots of stuff
that I hope will be
> interesting to those work with JavaCC, including
sections on:
>
> - Installing and running JavaCC from the command line,
with Ant, and
> with Maven
> - Building tokenizers with regular expressions, lexical
states, and
> using MORE/SKIP/SPECIAL_TOKEN tokens
> - Creating parsers, using multiple
token/syntactic/semantic lookahead,
> and resolving ambiguities and choice conflicts, plus a
chapter on JJDoc.
> - Working with Abstract Syntax Trees (ASTs), using
conditional node
> descriptors, and building Visitors with JJTree. Even a
section on JTB!
> - Handling Unicode characters in a JavaCC grammar
> - Catching and recovering from errors within a
tokenizer, parser, and
> tree builder
> - Testing tokenizers and parsers with JUnit and testing
ASTs with XPath
> - Installing and using the excellent JavaCC Eclipse
plugin
> - A flurry of small examples showing JavaCC in various
contexts: parsing
> Apache logs, a simple Logo parser, and several others.
>
> Here's the book's web site:
>
> http://genera
tingparserswithjavacc.com/
>
> and to just skip ahead to the ordering page, go here:
>
> ht
tp://centennialbooksonline.com/index_Page437.htm
>
> I'd greatly appreciate any blog mentions or publicity
of that sort;
> please help spread the JavaCC goodness! Thanks, and
enjoy!
>
> Yours,
>
> Tom Copeland
> tom infoether.com
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
> For additional commands, e-mail: users-help javacc.dev.java.net
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
For additional commands, e-mail: users-help javacc.dev.java.net
|
|
| Re: "Generating Parsers With
JavaCC" now available! |

|
2007-07-16 22:11:02 |
On Mon, 2007-07-16 at 20:12 -0600, Dale Anson wrote:
> Nice! And that totally explains the purpose behind the
java to html
> converter.
Yup, right on, I need to get all the code examples up on the
site and
hopefully that htmlizer will be part of that... good times.
Yours,
Tom
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
For additional commands, e-mail: users-help javacc.dev.java.net
|
|
| Re: "Generating Parsers With
JavaCC" now available! |

|
2007-07-16 22:13:09 |
Congratulations, Tom! This is great!
I want to thank you very much for the effort. Thanks to
this, we finally
have an answer to one of the biggest complaints about javacc
- lack of
comprehensive documentation and books.
Sreeni.
>
> I wanted to let folks know that my JavaCC book
"Generating Parsers With
> JavaCC" is now available! It covers lots of stuff
that I hope will be
> interesting to those work with JavaCC, including
sections on:
>
> - Installing and running JavaCC from the command line,
with Ant, and
> with Maven
> - Building tokenizers with regular expressions, lexical
states, and
> using MORE/SKIP/SPECIAL_TOKEN tokens
> - Creating parsers, using multiple
token/syntactic/semantic lookahead,
> and resolving ambiguities and choice conflicts, plus a
chapter on JJDoc.
> - Working with Abstract Syntax Trees (ASTs), using
conditional node
> descriptors, and building Visitors with JJTree. Even a
section on JTB!
> - Handling Unicode characters in a JavaCC grammar
> - Catching and recovering from errors within a
tokenizer, parser, and
> tree builder
> - Testing tokenizers and parsers with JUnit and testing
ASTs with XPath
> - Installing and using the excellent JavaCC Eclipse
plugin
> - A flurry of small examples showing JavaCC in various
contexts: parsing
> Apache logs, a simple Logo parser, and several others.
>
> Here's the book's web site:
>
> http://genera
tingparserswithjavacc.com/
>
> and to just skip ahead to the ordering page, go here:
>
> ht
tp://centennialbooksonline.com/index_Page437.htm
>
> I'd greatly appreciate any blog mentions or publicity
of that sort;
> please help spread the JavaCC goodness! Thanks, and
enjoy!
>
> Yours,
>
> Tom Copeland
> tom infoether.com
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
> For additional commands, e-mail: users-help javacc.dev.java.net
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
For additional commands, e-mail: users-help javacc.dev.java.net
|
|
| Re: "Generating Parsers With
JavaCC" now available! |

|
2007-07-16 22:13:09 |
Congratulations, Tom! This is great!
I want to thank you very much for the effort. Thanks to
this, we finally
have an answer to one of the biggest complaints about javacc
- lack of
comprehensive documentation and books.
Sreeni.
>
> I wanted to let folks know that my JavaCC book
"Generating Parsers With
> JavaCC" is now available! It covers lots of stuff
that I hope will be
> interesting to those work with JavaCC, including
sections on:
>
> - Installing and running JavaCC from the command line,
with Ant, and
> with Maven
> - Building tokenizers with regular expressions, lexical
states, and
> using MORE/SKIP/SPECIAL_TOKEN tokens
> - Creating parsers, using multiple
token/syntactic/semantic lookahead,
> and resolving ambiguities and choice conflicts, plus a
chapter on JJDoc.
> - Working with Abstract Syntax Trees (ASTs), using
conditional node
> descriptors, and building Visitors with JJTree. Even a
section on JTB!
> - Handling Unicode characters in a JavaCC grammar
> - Catching and recovering from errors within a
tokenizer, parser, and
> tree builder
> - Testing tokenizers and parsers with JUnit and testing
ASTs with XPath
> - Installing and using the excellent JavaCC Eclipse
plugin
> - A flurry of small examples showing JavaCC in various
contexts: parsing
> Apache logs, a simple Logo parser, and several others.
>
> Here's the book's web site:
>
> http://genera
tingparserswithjavacc.com/
>
> and to just skip ahead to the ordering page, go here:
>
> ht
tp://centennialbooksonline.com/index_Page437.htm
>
> I'd greatly appreciate any blog mentions or publicity
of that sort;
> please help spread the JavaCC goodness! Thanks, and
enjoy!
>
> Yours,
>
> Tom Copeland
> tom infoether.com
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
> For additional commands, e-mail: users-help javacc.dev.java.net
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
For additional commands, e-mail: users-help javacc.dev.java.net
|
|
| Re: "Generating Parsers With
JavaCC" now available! |

|
2007-07-17 00:10:11 |
I just thought of a really cool supplementary tool for the
book...
A tool that parses .jj and .jjt and tells you how to improve
them :-p
Specifically, something that can suggest speed
optomisations.
I have a grammar I'm working on in my [limited] spare time,
and while
it mostly works, it's quite slow on large input files,
especially
compared to the language interpreter/compiler I'm reverse
engineering
(that I assume is written in C/C++).
Anyway.. (c:
On 17/07/07, sreeni viswanadha.net <sreeni viswanadha.net> wrote:
>
> Congratulations, Tom! This is great!
>
> I want to thank you very much for the effort. Thanks to
this, we finally
> have an answer to one of the biggest complaints about
javacc - lack of
> comprehensive documentation and books.
>
> Sreeni.
>
> >
> > I wanted to let folks know that my JavaCC book
"Generating Parsers With
> > JavaCC" is now available! It covers lots of
stuff that I hope will be
> > interesting to those work with JavaCC, including
sections on:
> >
> > - Installing and running JavaCC from the command
line, with Ant, and
> > with Maven
> > - Building tokenizers with regular expressions,
lexical states, and
> > using MORE/SKIP/SPECIAL_TOKEN tokens
> > - Creating parsers, using multiple
token/syntactic/semantic lookahead,
> > and resolving ambiguities and choice conflicts,
plus a chapter on JJDoc.
> > - Working with Abstract Syntax Trees (ASTs), using
conditional node
> > descriptors, and building Visitors with JJTree.
Even a section on JTB!
> > - Handling Unicode characters in a JavaCC grammar
> > - Catching and recovering from errors within a
tokenizer, parser, and
> > tree builder
> > - Testing tokenizers and parsers with JUnit and
testing ASTs with XPath
> > - Installing and using the excellent JavaCC
Eclipse plugin
> > - A flurry of small examples showing JavaCC in
various contexts: parsing
> > Apache logs, a simple Logo parser, and several
others.
> >
> > Here's the book's web site:
> >
> > http://genera
tingparserswithjavacc.com/
> >
> > and to just skip ahead to the ordering page, go
here:
> >
> > ht
tp://centennialbooksonline.com/index_Page437.htm
> >
> > I'd greatly appreciate any blog mentions or
publicity of that sort;
> > please help spread the JavaCC goodness! Thanks,
and enjoy!
> >
> > Yours,
> >
> > Tom Copeland
> > tom infoether.com
> >
> >
> >
> >
------------------------------------------------------------
---------
> > To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
> > For additional commands, e-mail: users-help javacc.dev.java.net
> >
> >
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
> For additional commands, e-mail: users-help javacc.dev.java.net
>
>
--
- J.Chris Findlay
(c:
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
For additional commands, e-mail: users-help javacc.dev.java.net
|
|
| Re: "Generating Parsers With
JavaCC" now available! |

|
2007-07-17 00:23:15 |
On Monday 16 July 2007 20:13, sreeni viswanadha.net wrote:
> Congratulations, Tom! This is great!
>
> I want to thank you very much for the effort. Thanks to
this, we finally
> have an answer to one of the biggest complaints about
javacc - lack of
> comprehensive documentation and books.
Yes, what Sreeni said!
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
For additional commands, e-mail: users-help javacc.dev.java.net
|
|
| Re: "Generating Parsers With
JavaCC" now available! |

|
2007-07-17 00:24:43 |
> I just thought of a really cool supplementary tool for
the book...
> A tool that parses .jj and .jjt and tells you how to
improve them :-p
>
> Specifically, something that can suggest speed
optomisations.
Did you check out the lexer tips that are on the webpage?
Most often that
is the reason for performance problems. The parser usually
is quite fast.
Sreeni.
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
For additional commands, e-mail: users-help javacc.dev.java.net
|
|
| Re: "Generating Parsers With
JavaCC" now available! |

|
2007-07-17 00:24:43 |
> I just thought of a really cool supplementary tool for
the book...
> A tool that parses .jj and .jjt and tells you how to
improve them :-p
>
> Specifically, something that can suggest speed
optomisations.
Did you check out the lexer tips that are on the webpage?
Most often that
is the reason for performance problems. The parser usually
is quite fast.
Sreeni.
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
For additional commands, e-mail: users-help javacc.dev.java.net
|
|
| Re: "Generating Parsers With
JavaCC" now available! |

|
2007-07-17 03:55:51 |
I'll have another look, but that's what I was meaning - a
tool to
apply the tips to your grammar. (The idea springs from the
fact that
the grammar I'm working on will eventually be used for a
similar tool
for the language in question, namely Maya's MEL.)
Not necessarily a serious suggestion, but then again, maybe
someone
out there has the inkling and time to do it anyway :-p
On 17/07/07, sreeni viswanadha.net <sreeni viswanadha.net> wrote:
> > I just thought of a really cool supplementary tool
for the book...
> > A tool that parses .jj and .jjt and tells you how
to improve them :-p
> >
> > Specifically, something that can suggest speed
optomisations.
>
> Did you check out the lexer tips that are on the
webpage? Most often that
> is the reason for performance problems. The parser
usually is quite fast.
>
> Sreeni.
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
> For additional commands, e-mail: users-help javacc.dev.java.net
>
>
--
- J.Chris Findlay
(c:
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe javacc.dev.java.net
For additional commands, e-mail: users-help javacc.dev.java.net
|
|
|
|