Path: csiph.com!feeder.erje.net!2.us.feeder.erje.net!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Shoefoot Newsgroups: comp.compilers Subject: Re: XPL Analyzer Date: Wed, 7 Jun 2017 18:56:44 -0700 (PDT) Organization: Compilers Central Lines: 26 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <17-06-007@comp.compilers> References: <17-06-002@comp.compilers> <17-06-006@comp.compilers> Mime-Version: 1.0 Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="62229"; mail-complaints-to="abuse@iecc.com" Keywords: parse, history Posted-Date: 07 Jun 2017 22:25:21 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <17-06-006@comp.compilers> Xref: csiph.com comp.compilers:1888 On Wednesday, June 7, 2017 at 6:37:20 PM UTC-4, George Neuner wrote: > I'm not sure I understand your question: do you have existing tables > that you'd like to plug in to a parser tool, or are you looking for > the (E)BNF source needed to generate tables? > > There are some parser tools, e.g., Gold (http://goldparser.org), that > separate the tables and actions from the "engine" that executes them, > and that can demand load new table/action sets. > > However, I'm not aware of any tool that can directly use pre-existing > "foreign" tables ... every tool I know of has to have generated the > tables itself. Maybe I shouldn't have said "used LALR parse tables". I should have said "generated LALR parse tables". The XPL grammar analyzer generates something the author called MSP tables. I was thinking it would be more useful if it generated LALR tables. Since I am in the process of writing an XPL compiler I thought I could modernize the grammar analyzer with something that would make the package more useful. I have no interest in converting tables from some other tool. I was unaware of goldparser.org. Thanks for the reference. Currently the goldparser project is not releasing the source of the grammar analyzer so it does not help me find a solution.