mirror of
https://github.com/loot/loot-condition-interpreter.git
synced 2026-07-27 14:16:09 -07:00
Update readme
This commit is contained in:
@@ -6,20 +6,17 @@ strings. Written in Rust. Very incomplete.
|
|||||||
|
|
||||||
Goals:
|
Goals:
|
||||||
|
|
||||||
- Explore parsing conditions into an intermediate representation, then
|
- [x] Explore parsing conditions into an intermediate representation, then
|
||||||
evaluating from that representation. LOOT's current parser evaluates
|
evaluating from that representation. LOOT's current parser evaluates
|
||||||
conditions while parsing them, tightly coupling the two operations.
|
conditions while parsing them, tightly coupling the two operations.
|
||||||
- Explore more granular result caching. LOOT's current caching maps each
|
- [ ] Explore more granular result caching. LOOT's current caching maps each
|
||||||
condition string to its result, which can't handle case insensitivity (some
|
condition string to its result, which can't handle case insensitivity (some
|
||||||
parts of the condition string are case sensitive) or re-use results in
|
parts of the condition string are case sensitive) or re-use results in
|
||||||
compound conditions.
|
compound conditions.
|
||||||
- Explore round trip serialisation from the intermediate representation.
|
- [ ] Explore round trip serialisation from the intermediate representation.
|
||||||
- Evaluate the cost/benefit of integrating into LOOT, replacing the existing
|
- [ ] Evaluate the cost/benefit of integrating into LOOT, replacing the existing
|
||||||
code.
|
code.
|
||||||
|
|
||||||
Currently only condition parsing is complete. Evaluation is partially done, the
|
|
||||||
rest hasn't yet been started.
|
|
||||||
|
|
||||||
The tests need the [testing-plugins](https://github.com/WrinklyNinja/testing-plugins)
|
The tests need the [testing-plugins](https://github.com/WrinklyNinja/testing-plugins)
|
||||||
and the [LOOT API v0.13.8](https://github.com/loot/loot-api/releases/tag/0.13.8)
|
and the [LOOT API v0.13.8](https://github.com/loot/loot-api/releases/tag/0.13.8)
|
||||||
Windows archives to be extracted and present in the repo root.
|
Windows archives to be extracted and present in the repo root.
|
||||||
|
|||||||
Reference in New Issue
Block a user