Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #2512
| From | Lasse Hillerøe Petersen <lhp+news@toft-hp.dk> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: How change grammar to equivalent LL(1) ? |
| Date | 2020-04-24 16:21 +0000 |
| Organization | SunSITE.dk - Supporting Open source |
| Message-ID | <20-04-009@comp.compilers> (permalink) |
| References | <19-12-023@comp.compilers> |
I know this is a very late reply, however, I sometimes forget to read Usenet news for a while, I hope the moderator is forgiving. On Mon, 23 Dec 2019 05:57:50 -0500, Christopher F Clark wrote: > Just a slight comment on what Lasse Hiller�e Petersen > <lhp+news@toft-hp.dk> wrote: > is called left-factoring. I am aware, however the point was having the refactored action return a function to adjust the direction of the parse tree. I am sure LISPers and Schemers wouldn't consider this anything special (so ordinary perhaps even, that I hadn't been able to find any written mention of it, until today), but when I wrote it back in 2017 I looked at my code and thought "hey, that's actually neat and general." Only today did I actually manage to find a paper, which, although I am very rusty in the matter of formal proofs and theory, being just an amateur hacker, to me reads like the theory behind "my" method: Thielecke, Hayo. (2012). Functional semantics of parsing actions, and left recursion elimination as continuation passing. PPDP'12 - Proceedings of the 2012 ACM SIGPLAN Principles and Practice of Declarative Programming. 91-102. 10.1145/2370776.2370789. > By the way, "Opt" is the usual suffix for Ety. Not in the Algol68 Reports IIRC. ;-) /Lasse [Your moderator tends to draw the line at replies to messages posted 15 or 20 years ago, generally via Google Groups. -John]
Back to comp.compilers | Previous | Next — Previous in thread | Next in thread | Find similar
Re: How change grammar to equivalent LL(1) ? Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2019-12-23 05:57 -0500
Re: How change grammar to equivalent LL(1) ? Lasse Hillerøe Petersen <lhp+news@toft-hp.dk> - 2020-04-24 16:21 +0000
Re: How change grammar to equivalent LL(1) ? Kaz Kylheku <773-297-7223@kylheku.com> - 2020-04-24 18:13 +0000
Re: How change grammar to equivalent LL(1) ? silas poulson <Silas8642@hotmail.co.uk> - 2020-11-11 08:27 -0800
csiph-web