issues
search
TracecatHQ
/
tracecat
The open source Tines / Splunk SOAR alternative.
https://tracecat.com
GNU Affero General Public License v3.0
2.31k
stars
152
forks
source link
feat(engine): Upgrade parser
#229
Closed
daryllimyt
closed
1 month ago
daryllimyt
commented
1 month ago
Features
Upgrade parser to use
lark
.
Enables full EBNF context-free grammar, allows for simpler extension of DSL functionality
Enables proper recursive expressions e.g.
${{ 'a' if True else ('b' if False else 'c') }}
Add binary and logical operators e.g. + - == != || etc
Unary (!x, -x) WIP
Feature parity with old parser
Changes
Remove old parser (buggy and hacky)
Remove old validator and evaluator
Remove old regex patterns
Fixed some typos and spelling errors
Testing
All unit tests passing
AWS GD to slack working
Features
lark
.${{ 'a' if True else ('b' if False else 'c') }}
Changes
Testing