-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor new Event class. Makes it work with DependencyTree. Add tests.
- Loading branch information
Showing
25 changed files
with
1,055 additions
and
1,918 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,6 @@ tmp/* | |
*.ipynb_checkpoints | ||
/dist | ||
/wheelhouse | ||
docs/build | ||
docs/src | ||
*.orig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 22 additions & 22 deletions
44
textworld/challenges/tw_simple/textworld_data/logic/key.twl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
# # key | ||
# type k : o { | ||
# predicates { | ||
# match(k, c); | ||
# match(k, d); | ||
# } | ||
# key | ||
type k : o { | ||
predicates { | ||
match(k, c); | ||
match(k, d); | ||
} | ||
|
||
# constraints { | ||
# k1 :: match(k, c) & match(k', c) -> fail(); | ||
# k2 :: match(k, c) & match(k, c') -> fail(); | ||
# k3 :: match(k, d) & match(k', d) -> fail(); | ||
# k4 :: match(k, d) & match(k, d') -> fail(); | ||
# } | ||
constraints { | ||
k1 :: match(k, c) & match(k', c) -> fail(); | ||
k2 :: match(k, c) & match(k, c') -> fail(); | ||
k3 :: match(k, d) & match(k', d) -> fail(); | ||
k4 :: match(k, d) & match(k, d') -> fail(); | ||
} | ||
|
||
# inform7 { | ||
# type { | ||
# kind :: "key"; | ||
# } | ||
inform7 { | ||
type { | ||
kind :: "key"; | ||
} | ||
|
||
# predicates { | ||
# match(k, c) :: "The matching key of the {c} is the {k}"; | ||
# match(k, d) :: "The matching key of the {d} is the {k}"; | ||
# } | ||
# } | ||
# } | ||
predicates { | ||
match(k, c) :: "The matching key of the {c} is the {k}"; | ||
match(k, d) :: "The matching key of the {d} is the {k}"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.