Oliver Hamlet
291d7a7a69
Move check to see if path is in game directory to parsing time
2018-10-03 17:15:35 +01:00
Oliver Hamlet
fe7b0514fb
Split regex arguments that contain parent paths at parsing time
...
This will simplify evaluation and catches syntax errors earlier, and
matches the current LOOT implementation's parse-only behaviour more
closely, though that implementation also checks that the parent path is
valid regex, which is pointless.
2018-10-03 17:15:35 +01:00
Oliver Hamlet
b9448e2072
Implement file path function evaluation
2018-10-03 17:15:34 +01:00
Oliver Hamlet
11fef635d3
Split function parsing and evaluation code into separate files
2018-10-03 17:15:34 +01:00
Oliver Hamlet
28af316ecc
Add more test cases (unimplemented)
2018-10-03 17:15:34 +01:00
Oliver Hamlet
f51b06d25c
Add parsing of version and checksum conditions
2018-10-03 17:15:34 +01:00
Oliver Hamlet
abdc841c15
Add parsing of file regex, active regex, many and many_active functions
2018-10-03 17:15:34 +01:00
Oliver Hamlet
dfb41233bd
Update nom to v4 and regex to v1
2018-10-03 17:15:33 +01:00
Oliver Hamlet
53c632fd75
Refactoring, add active(file) function parsing
2018-10-03 17:15:33 +01:00
Oliver Hamlet
dbb1a4987a
Implement parsing for everything down to Function
2018-10-03 17:15:33 +01:00
Oliver Hamlet
b3435122dd
Initial commit of experimental LOOT condition parser
...
Some FilePath functionality is missing, not all tests pass, and parsing
is incorrect for all structs.
2018-10-03 17:15:33 +01:00