• 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.45 library(quasi_quotations): Define Quasi Quotation syntax
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(quasi_quotations): Define Quasi Quotation syntax
          • with_quasi_quotation_input/3
          • phrase_from_quasi_quotation/2
          • quasi_quotation_syntax/1
          • quasi_quotation_syntax_error/1
    • Packages
Availability::- use_module(library(quasi_quotations)).(can be autoloaded)
Source[det]with_quasi_quotation_input(+Content, -Stream, :Goal)
Process the quasi-quoted Content using Stream parsed by Goal. Stream is a temporary stream with the following properties:

  • Its initial position represents the position of the start of the quoted material.
  • It is a text stream, using utf8 encoding.
  • It allows for repositioning
  • It will be closed after Goal completes.
Goal is executed as once(Goal). Goal must succeed. Failure or exceptions from Goal are interpreted as syntax errors.
See also
phrase_from_quasi_quotation/2 can be used to process a quotation using a grammar.
ClioPatria (version V3.1.1-51-ga0b30a5)