Likely in the form of a multifile predicate, letting users define new DCG rules that will generate tokens.
Perhaps, in the future we could replace the use of an option list with a module of token rules for specifying what kind of lexing the user wants to carry out.
Likely in the form of a multifile predicate, letting users define new DCG rules that will generate tokens.
Perhaps, in the future we could replace the use of an option list with a module of token rules for specifying what kind of lexing the user wants to carry out.