Commit Graph

3131 Commits

Author SHA1 Message Date
gluaxspeed
83e6edd12a write test for import strings being canonicalized 2021-07-22 12:53:42 -07:00
gluaxspeed
36aff9fbf8 We now canonicalize imported asts before inlining 2021-07-22 12:40:12 -07:00
Alessandro Coglio
63f82c9f68
Merge pull request #1177 from AleoHQ/rfc-countdown-loops
Incorporate recent discussions in countdown loops RFC
2021-07-22 10:24:33 -07:00
Alessandro Coglio
17faf7029d
Merge pull request #1178 from AleoHQ/bug/abnf-format-strings
[Bugfix] Remove Format Strings and Fix ABNF Console Statements
2021-07-21 20:49:46 -07:00
gluaxspeed
3a6e4cb994 be more specific of where this grammar applies, clean up 2021-07-21 20:00:44 -07:00
gluaxspeed
2544a680f1 forgot to regen tests after merging 2021-07-21 14:57:40 -07:00
gluaxspeed
8028766cb4 Merge branch 'master' of github.com:AleoHQ/leo into bug/abnf-format-strings 2021-07-21 14:43:37 -07:00
gluaxspeed
dd67004af7 remove old abnf comments, format abnf 2021-07-21 14:42:25 -07:00
Alessandro Coglio
e0b586a9a1
Merge pull request #1164 from AleoHQ/feature/theorem-tests
[Feature-Impl] Ast generation tests
2021-07-21 11:04:19 -07:00
gluaxspeed
c1879e6e1c Merge branch 'master' of github.com:AleoHQ/leo into bug/abnf-format-strings 2021-07-21 02:51:35 -07:00
gluaxspeed
aa1819c368 finish up ast readme, clean up old files and comments 2021-07-21 02:47:54 -07:00
gluaxspeed
0ddfddfdc5 parser readme, started ast readme 2021-07-21 01:31:20 -07:00
Alessandro Coglio
8ae399a412 [RFC[ Add bubble sort as an additional example.
This was the inspiring example.
2021-07-21 00:09:17 -07:00
Alessandro Coglio
93bd1dcc4f [RFC] Add idea of <bound> <sign> <var> <sign> <bound>. 2021-07-21 00:02:04 -07:00
Alessandro Coglio
98ce2cf05d [RFC] Discuss idea of explicit up/down indication. 2021-07-20 23:58:11 -07:00
Alessandro Coglio
f1ba1c5806 [RFC] Discuss alternative proposal about flipping bounds. 2021-07-20 23:51:53 -07:00
Alessandro Coglio
8adaff8a76 [RFC] Add an observation based on previous discussion. 2021-07-20 23:29:45 -07:00
Alessandro Coglio
9c2b61b346 [RFC] Move a discussion under 'Alternatives'. 2021-07-20 23:22:12 -07:00
Alessandro Coglio
590ef07e0a [RFC] Add a subsection title for mocking under alternatives.
This is because the next commits will be adding more subsections there.
2021-07-20 23:18:40 -07:00
gluaxspeed
a9593971b9 format string and grammar changes 2021-07-20 14:52:35 -07:00
Alessandro Coglio
09f7e4b10d
Merge pull request #1172 from AleoHQ/rfc-import-stabilization
[RFC] Update import stabilization RFC to follow changes
2021-07-20 11:08:23 -07:00
damirka
66fbc644d0 grammar fixes 2021-07-20 20:55:45 +03:00
Alessandro Coglio
5e00c7485f
Merge pull request #1169 from AleoHQ/bug/invalid-slice-length-rust-error
[Bugfix] Fixes Rust Error for Invalid Slice
2021-07-20 09:36:21 -07:00
Alessandro Coglio
d742e61757
Merge pull request #1171 from AleoHQ/rfc-countdown-loops
[RFC] Add discussion of loop step and direction.
2021-07-20 09:16:15 -07:00
damirka
d986621e1b update rfc to follow changes 2021-07-20 18:04:42 +03:00
Alessandro Coglio
c47a9e47d1 [RFC] Add discussion of loop step and direction. 2021-07-19 17:28:38 -07:00
gluaxspeed
a2577231fd add test 2021-07-19 11:33:18 -07:00
gluaxspeed
b9ed20a76d use the array range access span for errors if the side is none 2021-07-19 11:17:10 -07:00
gluaxspeed
98d47ab32a Merge branch 'master' of github.com:AleoHQ/leo into feature/theorem-tests 2021-07-18 20:00:48 -07:00
Alessandro Coglio
9facd3e984
Merge pull request #1168 from AleoHQ/feat/snarkvm-upgrades
Updates Leo to snarkVM v0.7.4
2021-07-18 15:09:11 -07:00
Alessandro Coglio
721852fd24
Merge pull request #1165 from AleoHQ/abnf-grammar-fix
[Feature] Patch abnf to 0.12.0, return leo-abnf crate
2021-07-18 09:31:56 -07:00
weikeng
fef7fe6c90 update the test as well as ci 2021-07-17 01:55:11 -07:00
Weikeng Chen
9b5a36c59a
Update circuit_synthesizer.rs 2021-07-17 01:09:21 -07:00
howardwu
97c5dd12f4 Update CI to Rust 1.53 2021-07-17 00:47:31 -07:00
howardwu
546636152b Updates Leo to snarkVM v0.7.4 2021-07-17 00:42:24 -07:00
damirka
052b0a142b patch abnf to 0.12.0, uncomment leo-abnf crate 2021-07-17 02:37:34 +03:00
gluaxspeed
b456488758 merge master 2021-07-16 03:39:32 -07:00
gluaxspeed
8b44cfa9c7 Merge branch 'master' of github.com:AleoHQ/leo into feature/theorem-tests 2021-07-16 03:28:37 -07:00
gluaxspeed
025f02e5f8 fmt and clippy 2021-07-16 03:28:06 -07:00
gluaxspeed
470a4075f8 refactor theorem to ast for out file hashes, migrate old tests 2021-07-16 03:20:36 -07:00
Alessandro Coglio
9d8fdc7efb
Merge pull request #1163 from AleoHQ/abnf
[ABNF] Fix typo in comments.
2021-07-16 00:09:08 -07:00
Alessandro Coglio
bceefa621d [ABNF] Fix typo in comments. 2021-07-15 21:44:27 -07:00
Alessandro Coglio
235ff3eba7
Merge pull request #1160 from AleoHQ/abnf
Add some comments to the ABNF grammar and re-generate the markdown
2021-07-15 18:06:25 -07:00
Alessandro Coglio
6c071eda01 [ABNF] Re-generate markdown file. 2021-07-15 15:50:22 -07:00
Alessandro Coglio
baace61e21 [ABNF] Add some comments.
Add to the rule for package names, as a comment, the same exclusion added to the
rule for identifiers. Also add a few lines to describe it.

Also discuss the disambiguation of identifiers and package names.
2021-07-14 22:09:28 -07:00
Alessandro Coglio
64ad6a67f3
Merge pull request #1136 from AleoHQ/bug/misc-bugs
[Bugfix] printing/outputs, windows warnings, constant inputs
2021-07-14 09:22:07 -07:00
gluaxspeed
8695b11ce0 Forgot to refactor in compiler tests 2021-07-14 05:04:09 -07:00
gluaxspeed
add64ae11a Refactor Proof/Theorem to Snapshots 2021-07-14 03:24:08 -07:00
gluaxspeed
2f000a971a digest is necessary 2021-07-14 03:09:44 -07:00
gluaxspeed
baca9ca4a5 Hash the ast in the .out file 2021-07-14 02:58:10 -07:00