Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #28286
| From | Jeff Higgins <jeff@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | [LONG POST] Re: Parser |
| Date | 2014-04-27 19:59 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <ljk5n6$dcb$1@dont-email.me> (permalink) |
| References | <ur1rl9pb9bkqgd7dg87cqqt56bt4jljbc2@4ax.com> |
On 04/27/2014 06:46 PM, Roedy Green wrote: > What is considered the best parser nowadays that generates the parser > in Java source code? > > What I need in an abbreviated Java parser just to cut the program into > chunks, each class within that each declaration and method. > > I have already written the parsing that takes it from there. > > The idea is to rearrange your code in a defined canonical order, > e.g. statics before instance primitives before references, char before > int... > > If I were designing Java, I would have put a keyword on the front of > each declaration e.g. dcl, and each method "method". > > This would make parsing simpler and faster. It would also make > navigating with a simple search string easier. IF the keyword were > shown in special colour, it would make it much easier by eye to detect > method starts. > Not parser generator but some issues to be aware of. <http://openjdk.java.net/projects/compiler-grammar/>
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Parser Roedy Green <see_website@mindprod.com.invalid> - 2014-04-27 15:46 -0700
[LONG POST] Re: Parser Jeff Higgins <jeff@invalid.invalid> - 2014-04-27 19:59 -0400
Re: [LONG POST] Re: Parser Jeff Higgins <jeff@invalid.invalid> - 2014-04-27 20:00 -0400
Re: [LONG POST] Re: Parser Roedy Green <see_website@mindprod.com.invalid> - 2014-04-28 02:09 -0700
Re: Parser Silvio <silvio@internet.com> - 2014-04-28 11:30 +0200
Re: Parser Roedy Green <see_website@mindprod.com.invalid> - 2014-04-29 13:15 -0700
Re: Parser Joerg Meier <joergmmeier@arcor.de> - 2014-04-29 22:55 +0200
Re: Parser Andreas Leitgeb <avl@auth.logic.tuwien.ac.at> - 2014-05-05 08:13 +0000
Re: Parser Jeff Higgins <jeff@invalid.invalid> - 2014-04-29 18:28 -0400
Re: Parser Jeff Higgins <jeff@invalid.invalid> - 2014-04-29 18:35 -0400
Re: Parser Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2014-04-29 17:31 -0500
Re: Parser Simon Lewis <simonlewis2001@gmail.com> - 2014-04-30 15:13 +0200
csiph-web