rindPHI/isla: ISLa 1.9.1
Description
- Bug fix: Python extension files could not use local definitions before (e.g., helper functions); this is fixed now.
- Buf fix: Epsilon productions are correctly processed in
unparse_grammar.
It is now possible to extend ISLa with custom structural or semantic predicates when using the CLI (this concerns
isla solve,isla parse,isla check,isla fuzz,isla mutate,isla find, andisla mutate) by passing a Python file as input that contains a functionpredicates() -> typing.Set[isla.language.StructuralPredicate | isla.language.SemanticPredicate]Additionally or alternatively, that file may define a variable
grammaror a functiongrammar()specifying the grammar of the language under test. This behavior, already implemented in previous ISLa versions (for the variable declaration, see "Changed"), is unaffected by the predicate extension feature.
- In Python extension files, grammars may alternatively be defined as the return
value of a function
def grammar() -> Dict[str, List[str]]instead of an assignment to a variablegrammar. This is the preferred style; the variable assignment may get deprecated in the future.
Files
rindPHI/isla-v1.9.1.zip
Files
(355.4 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:32c3cc56fd7a1ffc3f2d46c636692a3d
|
355.4 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/rindPHI/isla/tree/v1.9.1 (URL)