swipldcgtut
swipldcgtut copied to clipboard
cover lazy_list_location
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.