Commit graph

205 commits

Author SHA1 Message Date
Anand Balakrishnan
f00fe25c58
build: skip dev when running nox by default 2023-09-07 13:23:27 -07:00
Anand Balakrishnan
daf1936d2b
build: split regular environment and dev environment 2023-09-06 14:20:07 -07:00
Anand Balakrishnan
a52f6a756c
build: minor changes 2023-09-06 13:30:59 -07:00
Anand Balakrishnan
980a08227f
style: run formatter 2023-09-06 11:46:49 -07:00
Anand Balakrishnan
97e90271c4
build: switch pre-commit completely to nox 2023-09-06 11:44:54 -07:00
Anand Balakrishnan
deedac2a2e build: add conda environment specs 2023-09-05 18:17:43 -07:00
Anand Balakrishnan
0142dfe838 build: use nox instead of just 2023-09-05 18:17:29 -07:00
Anand Balakrishnan
0530f03691 chore: add lcov files to gitignore 2023-09-05 18:16:12 -07:00
Anand Balakrishnan
009a0ac18a
start argus-parser 2023-09-05 10:28:12 -07:00
Anand Balakrishnan
ac5867e7b0
test(pyargus): add general signal tests 2023-09-05 10:27:14 -07:00
Anand Balakrishnan
5489ddbd09
chore: itertools bump version 2023-09-05 10:12:14 -07:00
Anand Balakrishnan
961551b2cb
chore: bump dependencies 2023-09-01 14:54:47 -07:00
Anand Balakrishnan
ff2e74517a
minor 2023-09-01 14:54:29 -07:00
Anand Balakrishnan
a25e56f025
fix(pyargus): address typing issues
This addresses some of the issues with inheritance (internal to the rust
module) for signals, and generally making mypy and flake8 happy.
2023-09-01 14:52:35 -07:00
Anand Balakrishnan
ccd87fc22a
add flake8 and clean justfile 2023-09-01 14:49:08 -07:00
Anand Balakrishnan
b58f67b272
chore: address linting errors 2023-09-01 11:23:44 -07:00
Anand Balakrishnan
7f97c97b30
build: add mypy to pre-commit 2023-09-01 11:22:29 -07:00
Anand Balakrishnan
137c22cd70 tests(pyargus): add test cases for signals 2023-08-31 17:11:52 -07:00
Anand Balakrishnan
ab0a2c6d85 build: add pre-commit hooks 2023-08-31 17:09:58 -07:00
Anand Balakrishnan
a5bc6f5d36 chore(pyargus): minor changes 2023-08-30 16:02:37 -07:00
Anand Balakrishnan
73921db5f9 chore: run linter and fix formatting 2023-08-30 16:02:03 -07:00
Anand Balakrishnan
3b3a7ce15e chore: set workspace resolver 2023-08-30 15:55:33 -07:00
Anand Balakrishnan
9d5f4bd70c
begin work on automata library 2023-08-30 13:25:29 -07:00
Anand Balakrishnan
b20a838d06
change pyo3 features 2023-08-30 13:24:28 -07:00
Anand Balakrishnan
1bb032dadb
add pyargus to workspace 2023-08-30 12:49:46 -07:00
Anand Balakrishnan
b8c67bcea9
refactor(pyargus): update python bindings for breaking changes 2023-08-30 12:49:14 -07:00
Anand Balakrishnan
0e38c2fecf
add recommended envrc 2023-08-30 12:47:24 -07:00
Anand Balakrishnan
c916db3853
feat(argus-semantics): complete boolean semantics 2023-08-30 12:46:52 -07:00
Anand Balakrishnan
ad9afb4eba
feat(argus-semantics): finish quantitative semantics
The Boolean semantics are still incomplete. The decision to keep the
computations separate stays, as using the quantitative semantics for
Boolean values (while sound) interpolates in weird places.
May revisit this decision in the future
2023-08-29 18:16:52 -07:00
Anand Balakrishnan
28a79cb88c
refactor!(argus-core): remove unnecessary traits and Copy constraints 2023-08-29 18:16:10 -07:00
Anand Balakrishnan
86cef692dc
feat(argus-semantics): implement efficient streaming MinMax 2023-08-28 13:02:51 -07:00
Anand Balakrishnan
4084bb738b
refactor(argus-core): create explicit signal and and or methods 2023-08-28 13:01:08 -07:00
Anand Balakrishnan
16cbaace20
refactor(core): prelude exports all expressions 2023-06-07 10:00:27 -04:00
Anand Balakrishnan
87afc11b90
refactor~(core): use traits and structs for interpolation
We have to now pass the interpolation method as a generic argument to methods.
2023-06-07 09:57:56 -04:00
Anand Balakrishnan
2b16ef9c40
fix(semantics): migrate to new AST structure 2023-06-06 10:46:52 -04: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
70c5a50d22
feat(core): add shift left/right operators to Signal 2023-05-23 13:12:22 -07:00
Anand Balakrishnan
a54ec8a69f
feat(core): add helper methods and better construction for Interval 2023-05-14 16:37:57 -07:00
Anand Balakrishnan
86138fe213
chore(py): handle interval in the expression trampoline 2023-05-09 12:08:11 -07:00
Anand Balakrishnan
d13746f904
build(pyargus): exclude pyargus from workspace to enable cargo test 2023-05-09 12:07:21 -07:00
Anand Balakrishnan
0e62085edc
chore(semantics): make sure that interval is handled in the semantics 2023-05-09 12:05:41 -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
ee75539d73
feat(py): add convenience functions to create variables, literals, and signals 2023-05-04 13:36:06 -07:00
Anand Balakrishnan
31c65a4734
refactor(py): update the type stubs (and expose DType) 2023-05-04 13:33:56 -07:00
Anand Balakrishnan
9b07df440b
build(docs): don't try to document dependencies 2023-05-04 11:38:59 -07:00
Anand Balakrishnan
c3d4bad161
build(py): add justfile recipes for formatting and checking 2023-05-03 16:41:28 -07:00
Anand Balakrishnan
9f674bd385
feat(py): expose quantitative semantics 2023-05-03 16:38:35 -07:00
Anand Balakrishnan
bfb59c1008
refactor!(py): Boolean semantics should be exposed as function 2023-05-03 16:35:27 -07:00
Anand Balakrishnan
e6ef427e2f
feat!(py): expose boolean semantics to Python 2023-05-03 16:32:49 -07:00