gluax
|
4fb95d1195
|
initial commit for tc, adds get_type to Node
|
2022-05-03 11:26:56 -07:00 |
|
gluax
|
46bd62870d
|
remove missed access file
|
2022-05-03 09:53:46 -07:00 |
|
gluax
|
a7c3696e90
|
merge testnet3 into required types, also remove identifier type
|
2022-05-02 19:43:46 -07:00 |
|
Collin Chin
|
4617c3ba35
|
Merge pull request #1777 from AleoHQ/fix-spelling
Fix typos uncovered by spell checker in VS Code.
|
2022-05-02 09:29:59 -07:00 |
|
dependabot[bot]
|
de791e0742
|
Bump serde from 1.0.136 to 1.0.137
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.136 to 1.0.137.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137)
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2022-05-02 16:24:16 +00:00 |
|
Alessandro Coglio
|
653cc4a2a4
|
Fix typos uncovered by spell checker in VS Code.
|
2022-04-30 23:39:38 -07:00 |
|
collin
|
3da1ac802e
|
reorder dependencies
|
2022-04-29 13:09:27 -07:00 |
|
gluax
|
f57396cf5f
|
resolve pr comments
|
2022-04-29 10:50:33 -07:00 |
|
gluax
|
7e6cc65d54
|
change back to parse_input to reflect what we do for parse_program
|
2022-04-28 12:44:54 -07:00 |
|
gluax
|
8cb8c153fc
|
call appropiate input parse function, make suggested changes
|
2022-04-28 12:26:05 -07:00 |
|
gluax
|
7524a325bf
|
fix grabbing last error
|
2022-04-27 12:31:24 -07:00 |
|
gluax
|
8c7fe53ff6
|
fix leo input parser bug
|
2022-04-27 11:52:06 -07:00 |
|
gluax
|
8c86407b91
|
cleaning up tests, fixed compiler bug, found input parse bug
|
2022-04-27 11:44:05 -07:00 |
|
gluax
|
8275b63e57
|
display for symbol table
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
0fc6d17289
|
some clean up to compiler to be able to better test
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
bd356e1f31
|
need to handle input differently than we used to
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
ae5fbef58a
|
start setting up compiler tests again
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
00282da748
|
merge upstream origin testnet3
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
e0c94b8f15
|
add clear method
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
c36023a3d6
|
exit if any errors were emitted
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
22b20bdd6c
|
handler shows all errors then causes an exit at the end
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
5ec3a24cf8
|
initial commit
|
2022-04-27 09:14:59 -07:00 |
|
gluax
|
124e6b2e9b
|
[Impl] Ast Visitor (#1769)
* visitor pattern
* merge upstream, regen grammar readme
* rename reducer to passes
* update comments to properly reflect visitor
* fmt and clippy fixes
* fix comments
Co-authored-by: collin <16715212+collinc97@users.noreply.github.com>
|
2022-04-22 16:05:50 -07:00 |
|
collin
|
f89966fe32
|
merge testnet3
|
2022-04-21 14:37:33 -07:00 |
|
Alessandro Coglio
|
d2cca18f07
|
[AST] Update doc comment to not mention Pest grammar.
|
2022-04-20 22:07:33 -07:00 |
|
Collin Chin
|
23fca6af47
|
Merge pull request #1751 from AleoHQ/abnf-bidi-overrides
[ABNF] disallow bidi override codepoints
|
2022-04-20 09:34:00 -07:00 |
|
collin
|
15660a3ed7
|
cargo fmt
|
2022-04-19 14:01:01 -07:00 |
|
Eric McCarthy
|
4fa12a0b33
|
[lexer] return error if bidi override code point seen in comment, character, or string
|
2022-04-19 13:00:10 -07:00 |
|
gluax
|
98c7ced6fe
|
merge upstream testnet3
|
2022-04-19 12:58:28 -07:00 |
|
Collin Chin
|
645b5a2be7
|
Merge pull request #1750 from AleoHQ/address-check
Address check
|
2022-04-19 12:56:27 -07:00 |
|
Collin Chin
|
f002637d73
|
Merge pull request #1748 from AleoHQ/parser-refactor
Parser: store current + previous tokens
|
2022-04-19 12:55:46 -07:00 |
|
gluax
|
7b849b620c
|
Merge branch 'parser-refactor' of github.com:AleoHQ/leo into feature/warnings
|
2022-04-19 12:47:06 -07:00 |
|
Mazdak Farrokhzad
|
267fda05e7
|
simplify parse_assign_statement
|
2022-04-19 14:11:09 +02:00 |
|
gluax
|
54c936cc61
|
leo warnings, disable unused errors for now
|
2022-04-18 14:06:28 -07:00 |
|
gluax
|
c8b44141eb
|
fix some span and input parsing issues
|
2022-04-18 11:33:43 -07:00 |
|
Collin Chin
|
cd8ac3b8d2
|
remove unused code and dependencies (#1749)
|
2022-04-13 17:08:45 -07:00 |
|
collin
|
065f16a93b
|
cargo fmt
|
2022-04-13 15:25:35 -07:00 |
|
collin
|
f53817c5f5
|
implement real address literal check
|
2022-04-13 15:21:08 -07:00 |
|
collin
|
b6fb3d0a36
|
remove unused code and dependencies
|
2022-04-13 14:28:01 -07:00 |
|
Mazdak Farrokhzad
|
b955b77ac2
|
parser: minor cleanup + span fix
|
2022-04-13 22:52:53 +02:00 |
|
Mazdak Farrokhzad
|
66efa91b08
|
simplify parse_function_parameter_mode
|
2022-04-13 22:27:56 +02:00 |
|
Mazdak Farrokhzad
|
31fcc2f216
|
parser: store (prev_)token
|
2022-04-13 22:20:48 +02:00 |
|
Mazdak Farrokhzad
|
4ac64710b5
|
lazify lexer
|
2022-04-13 21:05:17 +02:00 |
|
gluax
|
ba993b3a83
|
match pattern cleanup
|
2022-04-12 13:13:02 -07:00 |
|
gluax
|
198ceee536
|
fix token and constant pairing
|
2022-04-12 12:22:52 -07:00 |
|
gluax
|
168080942b
|
better match pattern for catching more error situations
|
2022-04-12 11:52:12 -07:00 |
|
gluax
|
9f79ca7169
|
allow const but throw a recoverable error
|
2022-04-12 11:46:35 -07:00 |
|
gluax
|
cfc5b00bad
|
add constant keyword, only used for params
|
2022-04-10 23:10:55 -07:00 |
|
gluax
|
016b669a8d
|
make fields not public
|
2022-04-07 11:18:58 -07:00 |
|
gluax
|
a5b692a765
|
merge upstream testnet3
|
2022-04-06 10:25:26 -07:00 |
|
gluax
|
3936e6c202
|
doc new fn, test updates
|
2022-04-06 10:23:20 -07:00 |
|
gluax
|
cc5552c7ef
|
make suggested changes
|
2022-04-06 10:20:43 -07:00 |
|
gluax
|
3a85223e22
|
adjust tests
|
2022-04-05 11:38:21 -07:00 |
|
gluax
|
4c7903f5c3
|
remove tendril dep and cmpd assignments
|
2022-04-05 11:24:34 -07:00 |
|
gluax
|
a675b81c0a
|
change tests
|
2022-04-05 09:36:22 -07:00 |
|
gluax
|
16914e3ce8
|
remove private keyword
|
2022-04-05 09:27:39 -07:00 |
|
gluax
|
6aa6b0fa07
|
add parsing input to compiler
|
2022-04-04 15:52:05 -07:00 |
|
gluax
|
80d97416cb
|
fixes and correct tests
|
2022-04-04 15:31:08 -07:00 |
|
gluax
|
f6aa32da35
|
parse input changes for private public const
|
2022-04-04 14:51:46 -07:00 |
|
gluax
|
ffa2705a4e
|
remove empty inputs files
|
2022-04-04 14:18:34 -07:00 |
|
gluax
|
76070a8795
|
intial adding of public and private params
|
2022-04-04 14:14:17 -07:00 |
|
gluax
|
27921a61e6
|
tuples removed
|
2022-03-28 10:35:36 -07:00 |
|
gluax
|
95d508566f
|
remove circuit access
|
2022-03-28 07:54:29 -07:00 |
|
gluax
|
877674230a
|
remove aliases and gcs
|
2022-03-28 07:47:05 -07:00 |
|
gluax
|
78b04ff000
|
remove as and imports
|
2022-03-28 07:42:23 -07:00 |
|
gluax
|
ef4b3787a9
|
remove arrays
|
2022-03-28 07:31:53 -07:00 |
|
gluax
|
401c6a6d4d
|
remove annotation and static access
|
2022-03-28 07:04:29 -07:00 |
|
gluax
|
7ad500b344
|
remove uneeded circuit syms
|
2022-03-28 06:53:22 -07:00 |
|
gluax
|
414e288735
|
remove self and Self
|
2022-03-28 06:47:19 -07:00 |
|
gluax
|
d37f9f29c2
|
remove circuits
|
2022-03-28 06:32:55 -07:00 |
|
gluax
|
398e6f5469
|
merge upstream testnet3
|
2022-03-28 06:21:17 -07:00 |
|
gluax
|
4e7d02dbe1
|
make suggested changes, also forgot to accept dead code removal from upstream
|
2022-03-17 12:36:49 -07:00 |
|
gluax
|
34e1b39805
|
some cleanup
|
2022-03-16 15:04:49 -07:00 |
|
gluax
|
790c282e8b
|
merge upstream testnet3
|
2022-03-16 13:56:55 -07:00 |
|
0rphon
|
9ef1b8f73a
|
forgot to remove some comments
|
2022-03-16 13:07:52 -07:00 |
|
gluax
|
0e7d36a61c
|
current tests pass
|
2022-03-16 13:02:56 -07:00 |
|
gluax
|
9391a31569
|
realized raw strings don't play nicely for testing strings
|
2022-03-16 12:27:11 -07:00 |
|
0rphon
|
82ce58544b
|
fixed ci
|
2022-03-15 17:15:08 -07:00 |
|
gluax
|
5034294d09
|
tokenizing almost working
|
2022-03-15 17:13:02 -07:00 |
|
gluax
|
3d1cc9a735
|
most things moved to a char parser
|
2022-03-15 14:53:42 -07:00 |
|
0rphon
|
7c049177cb
|
Merge branch 'testnet3' into improve-parser-tests
|
2022-03-14 16:36:16 -07:00 |
|
0rphon
|
1604f10115
|
re-enabled tests, removed fuzzing hooks
|
2022-03-14 16:29:34 -07:00 |
|
gluax
|
e484d5124f
|
comment fixes
|
2022-03-14 08:16:58 -07:00 |
|
gluax
|
8e0a59dc5d
|
fmt
|
2022-03-14 08:12:29 -07:00 |
|
gluax
|
ef8d0415e7
|
change parens around variable into recoverable error
|
2022-03-14 08:12:03 -07:00 |
|
gluax
|
9a45c2ae99
|
fix array around 1 element array dim size
|
2022-03-14 08:07:01 -07:00 |
|
gluax
|
2c30cba70f
|
remove parened field
|
2022-03-14 07:58:51 -07:00 |
|
0rphon
|
3c258bf3a4
|
code cleanup, added tests, marked dangerous code for review
|
2022-03-09 15:16:52 -08:00 |
|
gluax
|
377c65be21
|
fix issues from fixing a panic
|
2022-03-09 12:08:15 -08:00 |
|
gluax
|
a227e7c113
|
add tests, fix namespaces on older tests, fix another bug
|
2022-03-09 11:11:30 -08:00 |
|
gluax
|
91c0f5ae9d
|
resolve some error messages panicing
|
2022-03-09 09:46:07 -08:00 |
|
gluax
|
86000325bf
|
remove option types in rest of places, clean up canonicalization
|
2022-03-08 12:58:32 -08:00 |
|
gluax
|
eaf0a82154
|
merge testnet3
|
2022-03-08 10:24:36 -08:00 |
|
0rphon
|
39ea7a3ceb
|
Merge branch 'testnet3' into improve-parser-tests
|
2022-03-08 00:57:32 -08:00 |
|
Collin Chin
|
5e2ba78750
|
Merge pull request #1656 from AleoHQ/remove/unsized-array
Remove/unsized array
|
2022-03-07 17:14:03 -08:00 |
|
gluax
|
a778faf8ff
|
remove implicits, this makes arrays not work with implicit
|
2022-03-07 12:20:15 -08:00 |
|
Collin Chin
|
11b4a2702a
|
Merge pull request #1655 from AleoHQ/bug/misc-parser-discrep-bugs
[Fix] Mix Parser bugs & discreps
|
2022-03-07 12:19:09 -08:00 |
|
gluax
|
19c27518cc
|
require loop type
|
2022-03-07 08:18:16 -08:00 |
|
gluax
|
85efd764a6
|
require types on definition statements
|
2022-03-07 08:05:42 -08:00 |
|
collin
|
1a45295372
|
remove redundant array dimension struct
|
2022-03-04 13:06:22 -08:00 |
|
collin
|
10bea676a8
|
remove unsized arrays
|
2022-03-04 12:23:46 -08:00 |
|
gluax
|
060c13dd8d
|
clippy fix
|
2022-03-04 11:21:42 -08:00 |
|
gluax
|
789862103e
|
another char bug fix
|
2022-03-04 11:18:28 -08:00 |
|
gluax
|
308512fab9
|
add tests
|
2022-03-04 10:26:34 -08:00 |
|
gluax
|
85764aa394
|
fix self discrep
|
2022-03-04 10:03:42 -08:00 |
|
gluax
|
bd1d602f6d
|
fix annotation error msg
|
2022-03-04 09:28:29 -08:00 |
|
0rphon
|
7d2cbb2ec2
|
done with coverage
finished coverage tests. adding case by case tests from the parser fuzzer next
|
2022-03-02 14:13:37 -08:00 |
|
collin
|
54beb505c3
|
fix spelling typo
|
2022-03-02 12:19:22 -08:00 |
|
0rphon
|
9d1714d779
|
Merge remote-tracking branch 'origin/testnet3' into improve-parser-tests
|
2022-03-01 12:00:10 -08:00 |
|
gluax
|
736c6af72d
|
a bunch of parser bug fixes so far
|
2022-02-28 14:45:32 -08:00 |
|
collin
|
9ff0d3fed3
|
move tools/test-framework -> tests/test-framework
|
2022-02-28 10:29:05 -08:00 |
|
collin
|
22f605349c
|
merge testnet3
|
2022-02-28 09:42:37 -08:00 |
|
collin
|
e263e64279
|
restructure compiler and delete unused code
|
2022-02-22 15:12:52 -08:00 |
|
damirka
|
239f06b3af
|
removes leo_input mentions, cleanup dep
|
2022-02-22 03:10:50 +03:00 |
|
damirka
|
aa61840eb6
|
Merge branch 'testnet3' into leo-parser-inputs
|
2022-02-22 02:59:54 +03:00 |
|
gluax
|
305ef16883
|
clippy fix
|
2022-02-16 10:17:10 -08:00 |
|
gluax
|
1377d60f07
|
test canonicalization
|
2022-02-16 10:10:26 -08:00 |
|
gluax
|
2ea3709441
|
fix compiler panicing
|
2022-02-16 10:00:41 -08:00 |
|
damirka
|
0878e4f85f
|
single parser, multi purpose
|
2022-02-15 20:54:00 +03:00 |
|
collin
|
b31071777b
|
stabilize leo-package
|
2022-02-07 11:37:57 -05:00 |
|
collin
|
316c2d2592
|
compiler module builds
|
2022-02-03 11:59:42 -08:00 |
|
collin
|
fa2becfb1d
|
update snarkvm rev + cargo update
|
2022-02-02 14:58:01 -08:00 |
|
collin
|
eca7a4ea53
|
reorder dependencies
|
2022-01-27 12:57:52 -08:00 |
|
collin
|
31f90a9032
|
deprecate blake2s
|
2022-01-25 13:31:02 -08:00 |
|
gluax
|
ea419a7891
|
migrate spans crate, which involves rust 2021 ed, and dep updates
|
2022-01-21 12:04:37 -08:00 |
|
collin
|
34a0b4e9b0
|
clippy
|
2022-01-17 16:30:08 -08:00 |
|
collin
|
6ccb8ef6b2
|
update snarkvm rev
|
2022-01-17 16:07:31 -08:00 |
|
collin
|
0425a92c2b
|
feature: update to latest snarkvm rev
|
2022-01-11 16:22:34 -08:00 |
|
0rphon
|
849fa85a28
|
updated all dependencies to latest snarkvm version
|
2021-10-25 13:48:53 -07:00 |
|
damirka
|
e56a1aedaa
|
fixes PartialEq use in circuit member assign
|
2021-10-19 10:43:19 +02:00 |
|
Eric McCarthy
|
e2ba64b79d
|
Merge pull request #1362 from AleoHQ/feature/remove-span-snapshot
Feature/remove span snapshot
|
2021-09-30 15:33:18 -07:00 |
|
Pranav Gaddamadugu
|
ffae3b39ff
|
Fixed JSON order bug in AST on removal of values
|
2021-09-29 07:56:28 -07:00 |
|
damirka
|
a1aa5326ad
|
fixes eq for arrays with unspecified size
|
2021-09-28 11:09:56 +03:00 |
|
Pranav Gaddamadugu
|
242e34279d
|
Add default for build options
|
2021-09-24 18:03:23 -07:00 |
|
Pranav Gaddamadugu
|
a128d367ff
|
Resolving conflicts with master
|
2021-09-24 17:40:07 -07:00 |
|
Pranav Gaddamadugu
|
f754f89c6e
|
Updated test-framework/.../tgc.rs to remove spans from AST; changed compiler test options to disable spans
|
2021-09-23 09:11:09 -07:00 |
|
Mazdak Farrokhzad
|
3ad7d2fdb2
|
cleanup courtesy of clippy
|
2021-09-23 17:06:48 +02: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
|
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
|
3cc9367d09
|
Fixed unhandled case in
|
2021-09-20 20:00:07 -07:00 |
|
Pranav Gaddamadugu
|
5f22a21f47
|
Implemented option to remove from serialized AST
|
2021-09-20 19:21:52 -07:00 |
|
Pranav Gaddamadugu
|
991a658950
|
Added build option to leo build
|
2021-09-20 18:12:03 -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 |
|
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 |
|