Skip to content

Commit

Permalink
- updated README.md
Browse files Browse the repository at this point in the history
- changed name of properties.pl (newname: domain_properties.pl)
- added .pl and .clp encodings
- updated encode.sh
  • Loading branch information
emanuele-deangelis committed Nov 8, 2023
1 parent 1603326 commit b5b21ce
Show file tree
Hide file tree
Showing 6 changed files with 15,249 additions and 411 deletions.
2 changes: 1 addition & 1 deletion rules-validation/prolog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ rules-validation/prolog$ swipl
The SWI-Prolog environment is now ready to execute queries; we can load the V&V modules by executing the following queries:

```prolog
?- consult(properties).
?- consult(domain_properties).
true.
Expand Down

This file was deleted.

File renamed without changes.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions rules-validation/scripts/encode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ fi

case $2 in
"pl")
./adaptCRules.sh $1 > "${1%.c}__mod.c"
./c2Prolog-RuleConverter.sh "${1%.c}__mod.c" > "${1%.c}.pl"
./adaptCRules.sh $1 > "${1%.c}-tipiVariabiliCorretti.c"
./c2Prolog-RuleConverter.sh "${1%.c}-tipiVariabiliCorretti.c" > "${1%.c}-tipiVariabiliCorretti.pl"
;;
"clp")
FileOut="${1%.pl}.clp"
Expand Down

0 comments on commit b5b21ce

Please sign in to comment.