Thread View: comp.lang.prolog
1 messages
1 total messages
Started by Claude Fleurey
Tue, 05 Jan 1993 14:54
Processing syntax errors within DCG rules
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads