Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #1893
| Path | csiph.com!feeder.erje.net!2.us.feeder.erje.net!weretis.net!feeder6.news.weretis.net!news.glorb.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end |
|---|---|
| From | Hans-Peter Diettrich <DrDiettrich1@aol.com.dmarc.email> |
| Newsgroups | comp.compilers |
| Subject | Re: XPL Analyzer |
| Date | Tue, 13 Jun 2017 06:45:55 -0400 (EDT) |
| Organization | Compilers Central |
| Lines | 24 |
| Sender | news@iecc.com |
| Approved | comp.compilers@iecc.com |
| Message-ID | <17-06-012@comp.compilers> (permalink) |
| References | <17-06-002@comp.compilers> <17-06-006@comp.compilers> <17-06-007@comp.compilers> <17-06-011@comp.compilers> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="49390"; mail-complaints-to="abuse@iecc.com" |
| Keywords | parse, history |
| Posted-Date | 13 Jun 2017 06:45:55 EDT |
| X-submission-address | compilers@iecc.com |
| X-moderator-address | compilers-request@iecc.com |
| X-FAQ-and-archives | http://compilers.iecc.com |
| Xref | csiph.com comp.compilers:1893 |
Show key headers only | View raw
Am 09.06.2017 um 19:20 schrieb George Neuner: > In that case, (our moderator) John's suggestion is probably best ... > if you have the grammar, then plug it into an (LA)LR tool and have it > generate tables for you. > > I'm not familiar with the book you mentioned, but if a grammar is > provided [even if not in EBNF], it should be possible to translate it > for a modern tool. At least I could find a grammar in BNF, by following the links in Wikipedia to <teampli.net/XPL/ldindex.html>. If I had to write an XPL compiler, as an excercise, I'd try to handcraft an LL(1) top-down parser for it. This approach will give more insight into "how to write a compiler", than understanding how to use a compiler generator. Finally that compiler can be rewritten in XPL. Much time will have to be spent in implementing the system library (Implicit Declarations) and memory management. DoDi [It does depend on whether you want to write a modern compiler or one that someone might have written back when XPL was new. -John]
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
XPL Analyzer Shoefoot <shoefoot@gmail.com> - 2017-06-05 01:48 -0400
Re: XPL Analyzer "Robin Vowels" <robin51@dodo.com.au> - 2017-06-05 20:28 +1000
Re: XPL Analyzer George Neuner <gneuner2@comcast.net> - 2017-06-05 22:17 -0400
Re: XPL Analyzer Shoefoot <shoefoot@gmail.com> - 2017-06-07 18:56 -0700
Re: XPL Analyzer mac <acolvin@efunct.com> - 2017-06-08 17:13 +0000
Re: XPL Analyzer George Neuner <gneuner2@comcast.net> - 2017-06-09 13:20 -0400
Re: XPL Analyzer Hans-Peter Diettrich <DrDiettrich1@aol.com.dmarc.email> - 2017-06-13 06:45 -0400
Re: XPL Analyzer Ben Hanson <jamin.hanson@googlemail.com> - 2017-07-30 14:01 -0700
csiph-web