Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cover lazy_list_location #1

Open
Anniepoo opened this issue Jun 9, 2013 · 1 comment
Open

cover lazy_list_location #1

Anniepoo opened this issue Jun 9, 2013 · 1 comment
Assignees

Comments

@Anniepoo
Copy link
Owner

Anniepoo commented Jun 9, 2013

http://www.swi-prolog.org/pldoc/doc_for?object=section%283,%27A.19.1%27,swi%28%27/doc/Manual/pio.html%27%29%29

need to rewrite dcg tutorial to cover

phrase_from_stream(:Grammer, +Stream)
syntax_error(+Error)//

lazy_list_location(-Location)//
lazy_list_character_count(-CharCount)//

This means not only rewrite of error location reporting, but dealing with phrase_from_stream as option for list processing.

@ghost ghost assigned Anniepoo Jun 9, 2013
@Anniepoo
Copy link
Owner Author

Don't direct people towards line_count/2 etc. use lazy_list_location.
The former doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant