Article View: comp.lang.prolog
Article #2438Processing syntax errors within DCG rules
From: Claude Fleurey
Date: Tue, 05 Jan 1993 14:54
Date: Tue, 05 Jan 1993 14:54
13 lines
876 bytes
876 bytes
I am looking for a scheme allowing to write DCG rules abble to process
efficiently syntax errors:
. to display relevant error messages
. to re-establish (eventually) the parsing process.
I found the naive approach - introducing 'catch-all' grammar rules -
not enough precise. Being more deterministic, on the other hand,
decreases the declarative aspect of the rules and leads consequently
to a more tedious overall design ...
Thank you
Claude Fleurey
Technical Details
Message-ID:
<19930105.055901.28@almaden.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!esonvm2.VNET.IBM.COMShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!esonvm2.VNET.IBM.COM From: fleurey@esonvm2.VNET.IBM.COM (Claude Fleurey) Message-ID: <19930105.055901.28@almaden.ibm.com> Date: Tue, 5 Jan 93 14:54:49 FST Newsgroups: comp.lang.prolog Subject: Processing syntax errors within DCG rules Disclaimer: This posting represents the poster's views, not those of IBM News-Software: Usenet 3.1 Lines: 13