Commit Graph

122 Commits

Author SHA1 Message Date
chriseth
de0e89c313 Ararys of intermediate columns. 2024-02-09 08:17:55 +01:00
chriseth
fc4711d4bd Improving naming of condenser functions. 2024-02-09 08:17:54 +01:00
Lucas Clemente Vella
07835e0fec Updating rust version from 1.72 to 1.74. 2024-02-08 19:17:40 +00:00
chriseth
8f6cd49969 Introduce identity operator. 2024-02-07 16:04:55 +01:00
Leandro Pacheco
36c3a78fe7 move LinkDeclaration SourceRef to enum (like other variants) 2024-02-06 10:13:11 -03:00
chriseth
2765e59a9f Add types. 2024-02-06 10:25:04 +01:00
Leandro Pacheco
cbec66e130 fix impl Display for ASMProgram
- have `FieldElement` printed as non-negative
- print constrained machine arguments
- fix related tests
2024-02-05 18:40:00 -03:00
Leandro Pacheco
39c5c62028 AST parsing and impl Display fixes
- `instr x = y` statements must end with semicolon
- fixed Display implementation for AST objects such that
  source->AST->source->AST works properly
- tests for the above
2024-02-05 18:40:00 -03:00
Leo
94377e9664 Merge pull request #949 from powdr-labs/pipeline-clonable2
Make Pipeline Clonable
2024-01-30 15:12:14 +00:00
chriseth
d0508e541e Simplify inlining intermediate polynomials. 2024-01-29 17:46:19 +01:00
Georg Wiese
bbab5d3057 Make Pipeline Clonable 2024-01-29 13:14:47 +01:00
Georg Wiese
268464cf46 Correctly apply next references to intermediate polynomials 2024-01-29 11:21:19 +01:00
chriseth
f37058acb8 Distinguish between integer and field element. 2024-01-25 17:40:23 +01:00
chriseth
e9d2255e93 Fix display of analyzed pil. 2024-01-25 15:45:42 +01:00
chriseth
73ecd745d1 Print builtin 2024-01-24 12:59:20 +01:00
chriseth
ef8c9140e3 Require dot in front of debug. 2024-01-24 09:31:11 +01:00
Leo Alt
607c0043d7 add powdr- prefix to all crates 2024-01-23 18:51:29 +01:00
Leo
2055ac51a8 Merge pull request #930 from powdr-labs/unary_plus
Remove unary plus.
2024-01-23 13:20:06 +00:00
Leandro Pacheco
c4b4f35771 make parser generate SourceRefs
also added a way for analyzing PILFile's directly without having to re-parse
from a string
2024-01-23 08:45:47 -03:00
chriseth
a288549b4b Remove unary plus. 2024-01-23 08:59:55 +01:00
chriseth
8f1d77c916 Properly handle local variables in path_canonicalizer. 2024-01-15 10:04:42 +01:00
chriseth
497a68aa07 Add utility definitions. 2024-01-15 10:04:42 +01:00
chriseth
252eaa070c Support pil at module level. 2024-01-15 10:03:38 +01:00
chriseth
3a292ae1fd Indent parsed pil. 2024-01-12 16:08:35 +01:00
Georg Wiese
cd740b20b7 Print publics after witgen 2024-01-11 17:57:37 +01:00
Leo
e05bc693b8 Merge pull request #876 from powdr-labs/display_lambda
Fix display of lambda functions.
2024-01-09 12:20:11 +00:00
chriseth
a8d96cf120 Fix display of lambda functions. 2024-01-09 11:46:40 +01:00
chriseth
a7a0d5eaf4 Use LambdaExpression for Query already in parser AST. 2024-01-07 18:14:54 +01:00
chriseth
6e321b8d31 Privatize members of SymbolPath and AbsoluteSymbolPath. 2024-01-03 12:40:23 +01:00
Georg Wiese
f67134e9cf Optimize RAM usage for large programs 2024-01-02 16:21:07 +01:00
chriseth
7002712a49 Proper name resolution in PIL. 2024-01-02 09:31:21 +01:00
chriseth
9da882c99f Merge pull request #830 from powdr-labs/clean_up_paths
Clean up paths
2023-12-19 16:43:10 +00:00
chriseth
46c1d83805 Formatting of machines inside modules. 2023-12-19 17:07:02 +01:00
chriseth
3691be7aff Some cleanup for SymbolPaths. 2023-12-19 16:54:39 +01:00
chriseth
381de8f3bf Merge pull request #854 from powdr-labs/fix_public_parsing
Fix public parsing and labels.
2023-12-19 15:40:10 +00:00
chriseth
bef7d80c70 Change labels to require just a single colon. 2023-12-19 14:07:21 +01:00
chriseth
62ad12650f Use spaces for indentation. 2023-12-18 20:46:45 +01:00
Georg Wiese
38c5e1676b Implement publics for Halo2 backend 2023-12-15 13:30:12 +01:00
Georg Wiese
54045fbcf7 Pipeline 2023-12-07 22:12:29 +01:00
chriseth
1b87b91482 Remove some unneeded (and misleading) derived implementations. 2023-11-30 15:41:53 +01:00
chriseth
53301117bc Implement if expression. 2023-11-29 18:32:05 +01:00
Leo
b8e6c2468b Merge pull request #790 from powdr-labs/support_array_elemes_in_operation
Support array elements in operations.
2023-11-28 16:53:43 +00:00
chriseth
9946b863b4 Remove macros. 2023-11-28 15:57:29 +01:00
chriseth
6a9fe3fd5e Move inlining function. 2023-11-27 20:15:45 +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
a381395f78 Support array elements in operations. 2023-11-24 17:32:34 +01:00
Lucas Clemente Vella
cd4449e65f RISCV executor 2023-11-24 11:42:35 +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