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

A.31.1 library(pure_input): Pure Input from files and streams
AllApplicationManualNameSummaryHelp

  • 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
            • syntax_error//1
            • lazy_list_location//1
            • lazy_list_character_count//1
            • stream_to_lazy_list/2
    • Packages
Availability::- use_module(library(pure_input)).(can be autoloaded)
Sourcesyntax_error(+Error)//
Throw the syntax error Error at the current location of the input. This predicate is designed to be called from the handler of phrase_from_file/3.
throws
error(syntax_error(Error), Location)
ClioPatria (version V3.1.1-40-g9d9e003)