Lesenechal Remi
|
5323475097
|
empty string singleton is not annotated anymore
|
2020-04-20 20:21:49 +02:00 |
|
Lesenechal Remi
|
5bed9dadef
|
WIP: michelson_pair
|
2020-04-19 15:18:46 +02:00 |
|
Lesenechal Remi
|
e94f445a51
|
michelson_or custom layout and annotations
|
2020-04-19 15:18:46 +02:00 |
|
Pierre-Emmanuel Wulfman
|
7c29b075bb
|
add srcloc for types
|
2020-04-15 17:38:42 +02:00 |
|
Suzanne Dupéron
|
b7c3e77c82
|
Remove trailing whitespace while parsing in ADT generator
|
2020-04-14 17:11:50 +02:00 |
|
Sander Spies
|
422623ce1e
|
Fix build.
|
2020-04-14 13:13:07 +02:00 |
|
Sander Spies
|
3e447c40b7
|
Merge
|
2020-04-14 13:11:44 +02:00 |
|
Sander Spies
|
2b82a74d93
|
Merge
|
2020-04-14 10:32:12 +02:00 |
|
Suzanne Dupéron
|
9e21123de0
|
Generic PP: use PPF, split test for parentheses to separate fold
|
2020-04-13 23:10:01 +02:00 |
|
Suzanne Dupéron
|
22fce03844
|
Improve a typer print
|
2020-04-13 23:10:01 +02:00 |
|
Suzanne Dupéron
|
e001154714
|
with_xxx shorthands for fold configurations
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
b536d3f591
|
Remove early Perl 5 and Python versions of the ADT generator
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
ded76b41d6
|
Adt generator: split structure into smaller structures; use the monad; reordered function, state and value arguments to match the order of List.fold_left.
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
1e1728e5dd
|
[WIP, does not build] Remove some polymorphism : customized visitors must be specific to their accumulator type
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
642c947ee4
|
[WIP, does not build] adt_generator move polymorphism into the fields, start getting rid of the large let rec
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
253da1e9f5
|
Break down the large fold_config structure into smaller structures
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
2991e48ce6
|
Implemented folds for the collections (lists and maps)
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
9639c2f775
|
WIP on making the AST compatibile with the ADT generator
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
ba9441a134
|
moved adt_generator tests to a separate folder
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
9d25773d61
|
Records in ast_typed for match_variant and declaration_constant
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
fcbcea9382
|
Turned some of the mathcing_content tuples into records
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
79593e6f3e
|
Turned some of the tuples into records
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
58fc08b6a7
|
ADT generator: add support for open and include
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
516a3a85ff
|
Inlined stage common in ast_typed (fix OCaml type errors)
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
b3b8fab26d
|
[does not build] Inlined stage common in ast_typed
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
08aefa4580
|
Use unique field names in generic.ml and re-enable warning 30 there
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
12aec6edd0
|
Generic fold example: OCaml printer for an arbitrary ADT
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
a49f0806c0
|
ADT generator: produce info for metaprogramming
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
be38b5269c
|
ADT generator: Stop promoting the generated file, because it breaks the build on the CI (why?)
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
ab8274eae2
|
Install perl6 instead of the painful-to-install python3+fstrings
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
20a51381bc
|
ADT generator: Parser for OCaml ADTs, WIP on adding info
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
e92ba202cf
|
Added Perl 5 and Raku (A.K.A. Perl 6) translations of the ADT generator. Their outputs are identical.
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
6585ce3a09
|
Install future-fstrings to get f-strings in Python 3.5 and earlier.
|
2020-04-13 19:23:12 +02:00 |
|
Suzanne Dupéron
|
2cbc8bbf0c
|
Revert "Revert "Merge branch 'feature/adt-generator-poly-3' into 'dev'""
This reverts commit 8b83e375bd .
|
2020-04-13 19:23:12 +02:00 |
|
Sander Spies
|
6a6c8468a6
|
Remove annotations from michelson or.
|
2020-04-13 10:59:36 +02:00 |
|
Lesenechal Remi
|
4af42cb1bd
|
michelson_or types are transformed into variant types
|
2020-04-07 21:36:59 +02:00 |
|
Pierre-Emmanuel Wulfman
|
79540f9a40
|
ediv implemented and tested; parser gives error
|
2020-04-06 18:23:26 +02:00 |
|
Pierre-Emmanuel Wulfman
|
b41a59d2cf
|
ast-imperative
|
2020-04-03 17:40:35 +02:00 |
|
Pierre-Emmanuel Wulfman
|
1f118f7233
|
ast-sugar
|
2020-04-03 17:40:35 +02:00 |
|
Pierre-Emmanuel Wulfman
|
bc7df6a5b4
|
ast_core
|
2020-04-03 17:40:35 +02:00 |
|
Tom Jack
|
6fed8998bb
|
Somewhat better PP for ast_core and mini_c
|
2020-04-01 14:32:52 -05:00 |
|
Pierre-Emmanuel Wulfman
|
9dc7e7fcb9
|
Add E_cond as sugar (if .. then .. else ..) for match_bool
|
2020-04-01 14:14:20 +02:00 |
|
Pierre-Emmanuel Wulfman
|
c9e509f636
|
review 1
|
2020-03-31 17:05:42 +02:00 |
|
Pierre-Emmanuel Wulfman
|
13e9405dee
|
adding tuples in ast_sugar
|
2020-03-31 17:04:53 +02:00 |
|
Pierre-Emmanuel Wulfman
|
aac7dd3462
|
review 1
|
2020-03-30 17:56:17 +02:00 |
|
Pierre-Emmanuel Wulfman
|
6a9547e910
|
add type map_or_big_map to solve issue of typing big_map_empty from map_add
|
2020-03-30 17:55:02 +02:00 |
|
Pierre-Emmanuel Wulfman
|
330c48e66a
|
remove Map and BIG_Map
|
2020-03-30 17:55:02 +02:00 |
|
Pierre-Emmanuel Wulfman
|
a39c900b72
|
remove set and list
|
2020-03-30 17:55:00 +02:00 |
|
Pierre-Emmanuel Wulfman
|
c5d9c9ffa3
|
remove look_up
|
2020-03-30 17:54:16 +02:00 |
|
Pierre-Emmanuel Wulfman
|
21e8298a4e
|
add assign back
|
2020-03-30 14:28:31 +02:00 |
|