phrase_from_stream(:Grammar,
+Stream)
phrase_from_stream(:Grammar,
+Stream, +Options)Run Grammer against the character codes on Stream. Stream
must be buffered. Options:
- as(Type)
- Where Type is one of
codes (default) or chars.
See also
stream_to_lazy_codes/2
and stream_to_lazy_chars/2.