Commit Graph

497 Commits

Author SHA1 Message Date
damirka
e56a1aedaa fixes PartialEq use in circuit member assign 2021-10-19 10:43:19 +02:00
damirka
89df5be18f fixes the random flying bug with duplicates 2021-10-18 17:48:39 +02:00
Pranav Gaddamadugu
ffae3b39ff Fixed JSON order bug in AST on removal of values 2021-09-29 07:56:28 -07:00
Pranav Gaddamadugu
dfcebcf957 Added AST normalization to fit TGC output 2021-09-28 17:16:56 -07:00
Pranav Gaddamadugu
94498179db Added feature to serde_json, new expected ASTs 2021-09-24 16:34:57 -07:00
Pranav Gaddamadugu
2edb794c8b Passing no-span serialization tests in parser 2021-09-22 11:54:58 -07:00
Pranav Gaddamadugu
1521a4a84d Refactored code so all filtering logic is in AST 2021-09-22 10:58:21 -07:00
Pranav Gaddamadugu
73ff1d85e0 Added custom serialization for spans in tuple-like enum variants; changed expected output in serialization test 2021-09-21 18:28:50 -07:00
Pranav Gaddamadugu
a9746cb756 Refactor to previous function name: 2021-09-21 09:32:31 -07:00
Pranav Gaddamadugu
798c3f0eb6 Refactored code to pull out JSON value serialization; preferring this option since it preserves test expectations 2021-09-20 20:48:16 -07:00
Pranav Gaddamadugu
074587f4d2 Added original code to verify that test expectations do not change 2021-09-20 20:28:52 -07:00
Pranav Gaddamadugu
5f22a21f47 Implemented option to remove from serialized AST 2021-09-20 19:21:52 -07:00
Alessandro Coglio
a5f74195cf
Merge pull request #1333 from AleoHQ/array-len-function
[Feature] Adds .len() postfix to arrays
2021-09-15 10:10:32 -07:00
damirka
f12eafb957 replace sizeof with lengthof 2021-09-14 18:01:24 +03:00
damirka
4f41f09ef2 Merge branch 'master' into array-len-function 2021-09-13 14:26:38 +03:00
gluaxspeed
e1f6b16ea7 added new errors 2021-09-10 06:42:01 -07:00
damirka
093517109b renaming, now .length() 2021-09-10 16:11:55 +03:00
gluaxspeed
64e88404d2 prelude stuff auto included 2021-09-10 05:55:07 -07:00
damirka
2942bf85fe staging commit for the sizeof operator 2021-09-07 19:33:02 +03:00
gluaxspeed
8a8b5ab757 resolve merge conflicts 2021-09-07 02:59:35 -07:00
gluax
81271c918f
Merge pull request #1327 from AleoHQ/abnf-ast-changes
[ABNF] CircuitOrAlias changed to Identifier
2021-09-06 22:23:52 -07:00
damirka
857ab9a2b6 change CircuitOrAlias to Identifier 2021-09-06 14:10:06 +03:00
gluaxspeed
cfb8720af7 fix scope shadowing, and importing global consts 2021-09-06 03:53:02 -07:00
gluaxspeed
a1f3108512 Merge branch 'master' of github.com:AleoHQ/leo into bug/shadowing-fixes 2021-09-06 00:07:44 -07:00
damirka
9bef8611e8 custom serializer for Type::Array 2021-09-02 18:27:20 +03:00
damirka
e03d5c23b8 includes ast and asg changes 2021-08-31 20:18:21 +03:00
gluaxspeed
3b26e61050 refactor global consts should no longer allow shadowing 2021-08-27 11:42:20 -07:00
gluaxspeed
1628e19658 alias resolution done during type inference 2021-08-24 22:58:59 -07:00
gluaxspeed
1576f776f3 resolve master conflicts 2021-08-24 03:00:08 -07:00
gluaxspeed
4d89d122d5 turn back to identifiers, looked into inlining imports in asg 2021-08-24 02:39:09 -07:00
Alessandro Coglio
7a5979660b
Merge pull request #1272 from AleoHQ/feature/call-expressions-ast-store-type
[Implmentation] Adds Type to Circuit Member Access Expressions
2021-08-23 08:50:41 -07:00
gluaxspeed
93509bf5c1 alias node type 2021-08-19 09:16:50 -07:00
gluaxspeed
e90228b295 type aliases 2021-08-19 06:04:44 -07:00
damirka
a8cf416a77 Merge branch 'master' into feature-tgc-ci 2021-08-19 10:58:22 +03:00
gluaxspeed
4fc6c5f586 core function imports 2021-08-18 18:52:56 -07:00
gluaxspeed
88bd065d8a merge master, regen tests 2021-08-18 16:25:23 -07:00
gluaxspeed
56c66fa4ba testing and clean up 2021-08-18 14:31:06 -07:00
gluaxspeed
a91c8b9e6a Revert "type on call expression"
This reverts commit cf5a23b38f.
2021-08-18 13:38:50 -07:00
gluaxspeed
a75dbe38eb imports functioning, next is core imports 2021-08-18 06:23:23 -07:00
gluaxspeed
14a1125d33 formatting 2021-08-18 02:46:40 -07:00
gluaxspeed
a66c123d17 merge better errors 2021-08-18 02:45:59 -07:00
gluaxspeed
e6948da23f merge master 2021-08-18 02:10:59 -07:00
gluaxspeed
cf5a23b38f type on call expression 2021-08-18 02:04:41 -07:00
gluaxspeed
20b0f4f2f8 fix canonicalization function type return bugs 2021-08-16 15:12:36 -07:00
gluaxspeed
8ca3ab465e circleci updated rust version 2021-08-13 10:48:38 -07:00
gluaxspeed
ad5591d6fe disable including readmes in crates documetnation while circleci doesn't support 1.54 2021-08-11 00:18:27 -07:00
gluaxspeed
622ff5a9c3 finish docs, setup ci to publish docs pages, test docs generation 2021-08-10 19:59:27 -07:00
gluaxspeed
402ad7aabb finish in code documentation, deny no doc comments 2021-08-10 14:10:27 -07:00
damirka
4f13716e5b removed dbg 2021-08-09 21:57:15 -07:00
damirka
97645eb443 remove comments, update circleci to rust 1.54 2021-08-09 21:57:15 -07:00