Leandro Pacheco
36c3a78fe7
move LinkDeclaration SourceRef to enum (like other variants)
2024-02-06 10:13:11 -03:00
Lucas Clemente Vella
df14ab8be0
Merge pull request #1015 from powdr-labs/lazy_parsers
...
Lazy parsers
2024-02-06 12:03:21 +00: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
chriseth
ec75819cc0
Re-use parsers.
2024-02-05 17:16:45 +01:00
chriseth
73ecd745d1
Print builtin
2024-01-24 12:59:20 +01:00
Leo Alt
607c0043d7
add powdr- prefix to all crates
2024-01-23 18:51:29 +01: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
3a292ae1fd
Indent parsed pil.
2024-01-12 16:08:35 +01:00
chriseth
a8d96cf120
Fix display of lambda functions.
2024-01-09 11:46:40 +01:00
chriseth
9946b863b4
Remove macros.
2023-11-28 15:57:29 +01:00
chriseth
e4d22a2fb9
Make index access a proper operation.
2023-11-02 17:47:52 +01:00
Georg Wiese
a28a037f19
Disallow prints in all crates
2023-10-05 08:11:23 +00:00
chriseth
ac0ccff780
Array literals in expressions.
2023-09-26 10:54:16 +02:00
Thibaut Schaeffer
17d22ed552
Module system ( #558 )
...
* implement import system
* address review comments
* use folder in macro expansion
* use folder in file loader
* use folder in canonicalizer
* use parse_absolute_path
2023-09-13 17:47:29 +02:00
chriseth
d0821e4119
Use absolute path to test dir. ( #596 )
2023-09-12 17:44:22 +02:00
Thibaut Schaeffer
8552095667
introduce more typed pil polynomial types ( #504 )
2023-08-18 14:28:02 +02:00
schaeff
fc8ba429df
modular powdr syntax, basic romgen, and basic linker for single machine
2023-07-10 17:56:29 +02:00
Lucas Clemente Vella
ac12c92359
Enabling logging in tests.
2023-06-22 16:27:32 +01:00
schaeff
3bbdd1c243
improve compiler pipeline
2023-06-19 16:01:02 +02:00
chriseth
46042b471a
Add macros to assembly.
2023-06-07 12:13:55 +02:00
chriseth
847e3cf37e
Allow assembly inside pil.
2023-05-22 12:51:10 +02:00
schaeff
0b23b5bd40
make everything generic over FieldElementTrait
2023-05-12 14:56:30 +02:00
schaeff
6616f66d10
workaround regex feature unification issue
2023-04-21 18:39:13 +02:00
schaeff
2e30056934
rename test data dir
2023-04-21 17:25:16 +02:00
schaeff
82cfa54696
split into small crates
2023-04-21 17:16:22 +02:00