Skip to content

Pre-processor for rules #11

Answered by gciatto
vasily-kartashov asked this question in Q&A
Discussion options

You must be logged in to vote

The first line you wrote its a directive, which is not properly a rule.

Both rules and directives are clauses.

A theory is a sequence of clauses, essentially.

So the best way to do what you propose is to parse the theory, selecting the directive and manipulating it from java, thus crating a new theory having a rule instead of a directory

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@gciatto
Comment options

@vasily-kartashov
Comment options

@gciatto
Comment options

@vasily-kartashov
Comment options

@gciatto
Comment options

Answer selected by vasily-kartashov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants