src/swipl-devel/packages/xpce/man/refmanual/md/parser.md

class parser {#class-parser}

Class parser defines a generic parser, that allows for combining tokens generated by its <-tokeniser to be translated in arbitrary data-structures.

The definition of this class is premature. This class is only part of XPCE to parse class-default values (see @pce ->load_defaults and should not (yet) be used by application writers.

Later versions will use a parser based on this class to parse PCE input files. The flexibility of the class will allow the user to define macros and specialise the syntax of the language to suit their own needs.

See also class tokeniser and class syntax_table.

Send methods {#class-parser-send}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.