Commit Graph

3462 Commits

Author SHA1 Message Date
Alessandro Coglio
21051eba2e
Merge pull request #1197 from AleoHQ/dependabot/cargo/snarkvm-gadgets-0.7.5
Bump snarkvm-gadgets from 0.7.4 to 0.7.5
2021-07-27 11:12:16 -07:00
Alessandro Coglio
5a369c5726
Merge pull request #1196 from AleoHQ/dependabot/cargo/snarkvm-r1cs-0.7.5
Bump snarkvm-r1cs from 0.7.4 to 0.7.5
2021-07-27 10:44:11 -07:00
Alessandro Coglio
e1b6361a3f
Merge pull request #1193 from AleoHQ/bug/countdown-loops-off-by-one
fix reverse loop have to add range, which is always 1 for now
2021-07-27 10:30:18 -07:00
Alessandro Coglio
827e7eb553
Merge pull request #1200 from AleoHQ/fix-file-name
[ABNF] Fix generated file name.
2021-07-27 10:22:57 -07:00
gluaxspeed
011d405e00 fix output file types from CRLF to LF 2021-07-27 09:48:00 -07:00
Alessandro Coglio
fe5e4a00cf [ABNF] Fix generated file name. 2021-07-27 09:39:41 -07:00
Alessandro Coglio
e1359dc56d
Merge pull request #1195 from AleoHQ/dependabot/cargo/criterion-0.3.5
Bump criterion from 0.3.4 to 0.3.5
2021-07-27 09:34:38 -07:00
gluaxspeed
42f58ff33e added more tests 2021-07-27 09:31:23 -07:00
Alessandro Coglio
13d14f65e8
Merge pull request #1194 from AleoHQ/abnf
[ABNF] Make the lexical grammar slightly less ambiguous.
2021-07-27 09:19:51 -07:00
dependabot[bot]
9934482ef9
Bump snarkvm-dpc from 0.7.4 to 0.7.5
Bumps [snarkvm-dpc](https://github.com/AleoHQ/snarkVM) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.4...v0.7.5)

---
updated-dependencies:
- dependency-name: snarkvm-dpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27 10:19:19 +00:00
dependabot[bot]
0e0488bddc
Bump snarkvm-gadgets from 0.7.4 to 0.7.5
Bumps [snarkvm-gadgets](https://github.com/AleoHQ/snarkVM) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.4...v0.7.5)

---
updated-dependencies:
- dependency-name: snarkvm-gadgets
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27 10:19:05 +00:00
dependabot[bot]
f99916d187
Bump snarkvm-r1cs from 0.7.4 to 0.7.5
Bumps [snarkvm-r1cs](https://github.com/AleoHQ/snarkVM) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.4...v0.7.5)

---
updated-dependencies:
- dependency-name: snarkvm-r1cs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27 10:18:52 +00:00
dependabot[bot]
0fb42a4bd2
Bump criterion from 0.3.4 to 0.3.5
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.4...0.3.5)

---
updated-dependencies:
- dependency-name: criterion
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27 10:18:43 +00:00
Alessandro Coglio
ac65ffd67e [ABNF] Regenerate the markdown for the ABNF grammar. 2021-07-26 21:16:34 -07:00
Alessandro Coglio
ecadb3c321 [ABNF] Make the lexical grammar slightly less ambiguous.
Before this commit, 'true' and 'false' were both keywords and boolean literals,
making the grammar slightly more ambiguous than it needs to be. This manifests
in the formal specification of lexing and parsing, which would need an
additional extra-grammatical predicate requiring 'true' and 'false' to be
boolean literals and not keywords. By making 'true' and 'false' just boolean
literals, we obviate that need.

Extend the comment about identifiers and package names not being keywords or
aleo1... to also exclude boolean literals.

This is similar to the grammar of Java, in which 'true', 'false', and 'null' are
not keywords.

This does not necessitate any change to the lexer/parser, which already performs
its own procedural disambiguation of this and other aspects of the grammar.
2021-07-26 21:12:30 -07:00
gluaxspeed
3f890c9f30 fix reverse loop have to add range, which is always 1 for now 2021-07-26 17:22:05 -07:00
gluaxspeed
20d64970ab merge master, color only at cli as it breaks tests, remove debug 2021-07-26 16:49:33 -07:00
Alessandro Coglio
14d8c261a1 [RFC] Expand discussion on length operator.
In particular, this captures a previous GitHub discussion with Jon and Elijah.
2021-07-26 12:54:20 -07:00
gluaxspeed
780a2744ec Merge branch 'master' of github.com:AleoHQ/leo into feature/console-refactor-and-outs 2021-07-26 12:51:51 -07:00
Alessandro Coglio
a73bc73750
Merge pull request #1189 from AleoHQ/dependabot/cargo/snarkvm-curves-0.7.5
Bump snarkvm-curves from 0.7.4 to 0.7.5
2021-07-26 12:43:12 -07:00
Alessandro Coglio
746aa13e14
Merge pull request #1188 from AleoHQ/dependabot/cargo/snarkvm-fields-0.7.5
Bump snarkvm-fields from 0.7.4 to 0.7.5
2021-07-26 10:54:11 -07:00
dependabot[bot]
81b15d7c62
Bump snarkvm-curves from 0.7.4 to 0.7.5
Bumps [snarkvm-curves](https://github.com/AleoHQ/snarkVM) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.4...v0.7.5)

---
updated-dependencies:
- dependency-name: snarkvm-curves
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 10:17:09 +00:00
dependabot[bot]
fb8dd03e1c
Bump snarkvm-fields from 0.7.4 to 0.7.5
Bumps [snarkvm-fields](https://github.com/AleoHQ/snarkVM) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/AleoHQ/snarkVM/releases)
- [Commits](https://github.com/AleoHQ/snarkVM/compare/v0.7.4...v0.7.5)

---
updated-dependencies:
- dependency-name: snarkvm-fields
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 10:16:55 +00:00
gluaxspeed
bfe83d3bc1 merge master 2021-07-25 22:33:34 -07:00
Alessandro Coglio
49a51d6026
Merge pull request #1185 from AleoHQ/bug/ternary-different-types
[Bugfix] Ternary Type Check
2021-07-24 13:21:59 -07:00
Alessandro Coglio
6184937728
Merge pull request #1186 from AleoHQ/rfc-statuses
[RFC] Update some statuses.
2021-07-24 13:05:17 -07:00
Alessandro Coglio
4a8b857b27 [RFC] Add exmaples to type alias RFCs.
As suggested by Jon.
2021-07-23 23:22:56 -07:00
Alessandro Coglio
4919b2cc02 [RFC] Divide 'Design' section into subsections. 2021-07-23 23:13:46 -07:00
Alessandro Coglio
7ea35ef7ab [RFC] Initial RFC for type aliases. 2021-07-23 22:05:12 -07:00
Alessandro Coglio
2605e0a0ee [RFC] Updates some statuses. 2021-07-23 20:32:13 -07:00
Alessandro Coglio
443d02783f
Merge pull request #1166 from AleoHQ/rfc-arrays-no-size
[RFC] Initial draft for array types with unspecified size.
2021-07-23 20:27:39 -07:00
Alessandro Coglio
f14182097f
Merge pull request #1184 from AleoHQ/feature/countdown-loops
[Implementation] Countdown Loops
2021-07-23 18:03:09 -07:00
gluaxspeed
8ae89149a9 ABNF grammar update 2021-07-23 17:36:27 -07:00
gluaxspeed
1c3362d191 ternary different types errors out 2021-07-23 17:12:30 -07:00
gluaxspeed
1d72107119 inclusive range 2021-07-23 15:14:37 -07:00
damirka
77192723d0 fix bug in detecting recursive dependencies 2021-07-23 14:14:48 +03:00
gluaxspeed
b69dd4e277 remove debug, realized it was crlf vs lf whoops 2021-07-23 00:34:52 -07:00
gluaxspeed
6d08e8920f debug json 2021-07-23 00:26:10 -07:00
gluaxspeed
4b4247427b debug ci differences 2021-07-23 00:13:35 -07:00
damirka
1ebd4fb741 always enable canonicalization 2021-07-23 10:04:55 +03:00
damirka
0dbff220af Merge branch 'master' into leo-manifest-dependencies 2021-07-23 09:39:17 +03:00
gluaxspeed
68fd0433b6 trying to debug why circleci and codecov fail 2021-07-22 23:04:13 -07:00
gluaxspeed
61253031b4 countdown loops 2021-07-22 22:17:33 -07:00
Alessandro Coglio
558638a195
Merge pull request #1182 from AleoHQ/bug/canonicalize-imports
[Bugfix] canonicalize imports
2021-07-22 21:39:03 -07:00
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
damirka
de6ae99b20 make canonicalization a must in imports 2021-07-22 16:43:17 +03:00
damirka
f245937ef9 fix incorrect argument parsing in leo build 2021-07-22 16:10:36 +03:00
damirka
6a2ebfc22e Merge branch 'master' into leo-manifest-dependencies 2021-07-22 15:13:44 +03:00