• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

A.37.1 library(pure_input): Pure Input from files and streams
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(pio): Pure I/O
          • library(pure_input): Pure Input from files and streams
            • phrase_from_file/2
            • phrase_from_file/3
            • phrase_from_stream/2
            • phrase_from_stream/3
            • syntax_error//1
            • lazy_list_location//1
            • lazy_list_character_count//1
            • stream_to_lazy_codes/2
            • stream_to_lazy_chars/2
            • stream_to_lazy_list/2
    • Packages
Availability::- use_module(library(pure_input)).(can be autoloaded)
Sourcephrase_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.
ClioPatria (version V3.1.1-59-g7b9a7a3)