Commit graph

24 commits

Author SHA1 Message Date
Anand Balakrishnan
f97d593926 feat: expose parser in argus 2023-10-04 14:46:32 -07:00
Anand Balakrishnan
2319668e2b
feat!(argus-parser): complete parser
This changes the API for `ExprBuilder`, but that is OK.
2023-10-03 16:11:18 -07:00
Anand Balakrishnan
6632e897ba add Expr type for union of BoolExpr or NumExpr 2023-09-29 14:00:24 -07:00
Anand Balakrishnan
3a9623b99b
fix(argus-core): disable clippy warnings for proptest 2023-09-07 13:24:52 -07:00
Anand Balakrishnan
ff2e74517a
minor 2023-09-01 14:54:29 -07:00
Anand Balakrishnan
137c22cd70 tests(pyargus): add test cases for signals 2023-08-31 17:11:52 -07:00
Anand Balakrishnan
73921db5f9 chore: run linter and fix formatting 2023-08-30 16:02:03 -07:00
Anand Balakrishnan
1c79847a77
feat!(core): Use new AST structure
Derive Expr methods using a derive proc-macro. These macros are present in
the `argus-derive` crate, but the traits are defined in `argus-core`
2023-06-06 10:46:27 -04:00
Anand Balakrishnan
a54ec8a69f
feat(core): add helper methods and better construction for Interval 2023-05-14 16:37:57 -07:00
Anand Balakrishnan
c339343f84
feat!(core): add intervals to temporal operators 2023-05-09 12:04:45 -07:00
Anand Balakrishnan
299e572186
docs(core): add documentation for all public API members 2023-05-05 14:33:19 -07:00
Anand Balakrishnan
a6a3805107
feat(core): add LTL temporal expressions 2023-04-11 11:42:30 -07:00
Anand Balakrishnan
4f470eae50
feat(core): add easy constructors for Ordering 2023-04-05 13:28:47 -07:00
Anand Balakrishnan
2b447409a1
feat: add Sub and Abs expression nodes 2023-04-04 14:32:37 -07:00
Anand Balakrishnan
7c8c833469
test: add proptest arbitrary as a feature 2023-04-04 09:56:19 -07:00
Anand Balakrishnan
ad4d85ec3d
chore: run rustfmt 2023-03-22 14:57:27 -07:00
Anand Balakrishnan
0359029741
feat: add ExprRef sumtype with better expression iteration 2023-03-20 10:28:26 -07:00
Anand Balakrishnan
55894d55fb
feat: implement an Expr trait 2023-03-19 23:15:54 -07:00
Anand Balakrishnan
afe265eba2
refactor: move overloaded ops into separate modules
This just makes editing the files easier for me as a cognitive load.
2023-03-19 23:13:44 -07:00
Anand Balakrishnan
f23371ac39
style: adjust the enum variant length 2023-03-17 16:06:41 -07:00
Anand Balakrishnan
84f8b2a093
feat: overload operations of expressions for easy DSL 2023-03-17 15:48:52 -07:00
Anand Balakrishnan
b56327a3a2
feat: add expression builder API 2023-03-17 14:42:09 -07:00
Anand Balakrishnan
a0747108a7
test: add tests for arbitrarily generated expressions 2023-03-17 13:52:39 -07:00
Anand Balakrishnan
32d92df549
feat: add a propositional logic expression tree 2023-03-17 13:51:50 -07:00