Commit Graph

95 Commits

Author SHA1 Message Date
chriseth
a36ec81c4f Disentangle PIL analyzer. 2023-11-30 14:54:59 +01:00
chriseth
c6a7b1c5a8 Merge pull request #774 from powdr-labs/array_concatenation
Allow functions to process constraints
2023-11-30 11:45:57 +00:00
chriseth
b5558189eb Merge pull request #784 from powdr-labs/if_expression
Implement if expression.
2023-11-30 11:40:13 +00:00
chriseth
18cba16c9b Allow functions to work on constraints. 2023-11-30 12:13:55 +01:00
chriseth
53301117bc Implement if expression. 2023-11-29 18:32:05 +01:00
Leo
0ff0fe3817 Merge pull request #805 from powdr-labs/unify_namespaces
Unify namespaces wrt constants.
2023-11-29 17:13:27 +00:00
chriseth
fede3bbff0 Unify namespaces wrt constants. 2023-11-29 16:31:11 +01:00
chriseth
a35c21abfb Remove unneeded dependency. 2023-11-29 16:30:08 +01:00
chriseth
9946b863b4 Remove macros. 2023-11-28 15:57:29 +01:00
Leo
df3eb1ba17 Merge pull request #795 from powdr-labs/move_util_functions
Move inlining function.
2023-11-28 12:18:45 +00:00
chriseth
efb96b2b0e Merge pull request #773 from powdr-labs/allow_function_calls_in_condenser
Allow function calls in condenser
2023-11-28 12:06:05 +00:00
chriseth
6a9fe3fd5e Move inlining function. 2023-11-27 20:15:45 +01:00
chriseth
01bfba1a40 Use evaluator for condenser. 2023-11-27 19:09:46 +01:00
chriseth
38e0a736ef Remove outdated todo. 2023-11-27 19:06:57 +01:00
chriseth
e0197f786b Extract expression processor. 2023-11-27 17:55:00 +01:00
Leo
912cab8fa3 Merge pull request #759 from powdr-labs/arbitrary_function_calls
Allow arbitrary expressions to be function-called.
2023-11-27 14:45:22 +00:00
chriseth
47f71cd1a9 Allow arbitrary expressions to be function-called. 2023-11-27 15:07:40 +01:00
chriseth
86cf0df559 Replace Mapping enum alternative by Expression. 2023-11-24 17:57:41 +01:00
chriseth
2fb26b5464 Evaluate complex expressions. 2023-11-24 16:00:23 +01:00
Lucas Clemente Vella
cd4449e65f RISCV executor 2023-11-24 11:42:35 +01:00
chriseth
7fc93cc61e Transform references in query strings. 2023-11-21 16:34:16 +01:00
Leo
f7670409cb Merge pull request #770 from powdr-labs/allow_namespaced_to_be_function_called
Allow namespaced names to be function-called.
2023-11-20 10:52:39 +00:00
chriseth
716b7ba995 Remove degree as property of symbol. 2023-11-17 15:49:01 +01:00
chriseth
99ea18a17a Allow namespaced names to be function-called. 2023-11-16 14:57:00 +01:00
chriseth
d94db64b6f Support arrays in witgen. 2023-11-08 21:31:49 +01:00
Thibaut Schaeffer
f5e176dee6 Merge pull request #749 from powdr-labs/get-degree-from-namespaces
Get degree from namespaces
2023-11-07 11:46:40 +00:00
Leo
e063f7e345 Merge pull request #734 from powdr-labs/namspace_and_index_access
Parse index access as operator.
2023-11-07 09:36:49 +00:00
schaeff
844dd39618 get degree from namespaces 2023-11-07 10:32:41 +01:00
chriseth
1ce585d724 Explicitly allow printing to stdout. 2023-11-06 17:04:29 +01:00
chriseth
158a3aee5d [SQUASH] Review comments. 2023-11-06 16:58:17 +01:00
chriseth
e4d22a2fb9 Make index access a proper operation. 2023-11-02 17:47:52 +01:00
chriseth
7630446948 Parse next as operator. 2023-11-02 10:59:22 +01:00
chriseth
6eb5982fd0 Restrict operators on AlgebraicExpression. 2023-11-01 22:40:08 +01:00
chriseth
3429b8cf33 Simplify AlgebraicExpression. 2023-10-30 18:36:12 +01:00
chriseth
960ed7c572 Introduce AlgebraicExpression. 2023-10-30 16:16:42 +01:00
chriseth
f80e510b95 Do not allow reference to intermediate columns for fixed evaluation. 2023-10-26 15:48:18 +02:00
chriseth
164880da68 Treat intermediate columns specially. 2023-10-16 17:32:21 +02:00
chriseth
9c558c32ba Condenser. 2023-10-11 16:19:07 +02:00
chriseth
61e2894206 Split expression visitor for Analyzed. 2023-10-10 18:29:58 +02:00
chriseth
764ef2db0b Rename function. 2023-10-10 16:40:41 +02:00
chriseth
1e81bb36ac Move constants to generic definitions. 2023-10-10 16:40:41 +02:00
chriseth
aff7ff1c57 Do not treat constants specially during parsing. 2023-10-10 16:40:41 +02:00
chriseth
7235b88484 Make Identity more flexible. 2023-10-10 12:44:40 +02:00
chriseth
a9585d2add Extract evaluator and processor. 2023-10-09 16:21:54 +02:00
Georg Wiese
a28a037f19 Disallow prints in all crates 2023-10-05 08:11:23 +00:00
chriseth
7081a5ad73 Merge pull request #666 from powdr-labs/symbol_counters
Use symbol counters.
2023-10-04 15:16:31 +00:00
chriseth
f4b3468476 Use symbol counters. 2023-10-04 16:35:10 +02:00
chriseth
8d7b55fe02 Use optimize mildly to substitute constants. 2023-10-04 16:15:26 +02:00
Thibaut Schaeffer
0047b191ab Merge pull request #658 from powdr-labs/process_namespace
Fix constant namespaces.
2023-10-04 10:05:55 +00:00
chriseth
8782d53441 Visitors as bound functions. 2023-10-04 11:06:07 +02:00