CLI#
The command line interface (CLI) to Booleguru is the main method of interacting with the program. Use it to compose formulas and to apply transformations.
Full Grammar of the Expression Language#
The CLI expression language is defined through an ANTLR4 grammar which is given in full below.
- lexer grammar cli_lexer#
- rule and#
- rule or#
- rule not#
- rule xor#
- rule lpar#
- rule rpar#
- rule impl#
- rule lpmi#
- rule equi#
- rule forall#
- rule exists#
- rule lcurl#
- rule rcurl#
- rule lbrack#
- rule rbrack#
- rule tseitin#
- rule vec#
- rule top#
- rule bottom#
- rule dimacs#
- rule smtlib#
- rule boole#
- rule qcir#
- rule python#
- rule lua#
- rule none#
- rule fennel_subst#
- rule fennel_bin_subst#
- rule fennel_call#
- rule fennel_bin_call#
- rule eol_fennel_subst#
- rule id#
- rule path#
- rule ws#
- rule matching_paren#
- rule end_paren#
- rule command#
- rule eol#
- rule call_code#
- rule end_call#