Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
ParseAction |
ParseSome |
ParseAction |
ParseNotFollowedBy |
ParseCharacter |
EBNFParse |
Parse |
Arrow | Meaning | |
::= | syntactic rule (the parser's job) | |
:== | semantic rule (lifts a parse tree to a specific value - same surface shape as ::= | |
::- | token-construction rule (e.g. <single_quoted>::-<single_quote><sq_char>*... | |
::: | character-class rule (e.g. <star>:::[*] <lower_alpha>:::[a-z] |
ParseAction |
ParseCharacter |
ParseMany |
ParseCharacter |
ParseAction |
ParseSome |
ParseCharacter |
ParseLiteral |
ParseLiteral |
ParseLiteral |
EBNFParse |
Parse |
Input | Result | |
cnf(test,axiom,p). | OK | |
cnf(t, axiom, p | q | r). | OK | |
cnf(t, axiom, p(a) | ~q(b)). | OK | |
fof(t,axiom,p&q&r&s). | OK | |
fof(t,axiom,p=>q). p<=>q | OK | |
fof(t,axiom,p(a,b,c)). | OK | |
fof(t,axiom,p=q). p!=q | OK | |
fof(t,axiom,![X]:p(X)). | OK | |
fof(t,axiom,?[X]:p(X)). | OK | |
fof(t,axiom,![X,Y]:(p(X)&q(Y))). | OK | |
5-clause group-theory problem with quantifiers and equality | OK | |
include('Axioms/SET006-0.ax'). | OK |