Commit Graph

3189 Commits

Author SHA1 Message Date
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
gluaxspeed
c0decdb54b add warning for canonicalized ast writing if its disabled 2021-07-14 01:16:20 -07:00
gluaxspeed
bb9e3490a1 "fmt fix" 2021-07-14 00:44:23 -07:00
gluaxspeed
af147449be "fix type, more test coverage" 2021-07-14 00:39:09 -07:00
gluaxspeed
c5c5bce2f0 Merge branch 'master' of github.com:AleoHQ/leo into bug/misc-bugs 2021-07-13 22:27:24 -07:00
Alessandro Coglio
34d66de8dd
Merge pull request #1134 from AleoHQ/rfc-countdown-loops
[RFC] Extend the countdown loops RFC.
2021-07-13 12:57:38 -07:00
Alessandro Coglio
a0dc00bbd3
Merge pull request #1115 from AleoHQ/bug/abnf-parser-bugs
[Fix] Abnf and Parser Alignment and Equality Change
2021-07-13 11:24:57 -07:00
Alessandro Coglio
524bd9ce57
Merge pull request #1137 from AleoHQ/dependabot/cargo/anyhow-1.0.42
Bump anyhow from 1.0.41 to 1.0.42
2021-07-13 09:34:29 -07:00
gluaxspeed
650a729763 Add theorem generations to tests 2021-07-12 11:45:51 -07:00
dependabot[bot]
aa8a7c2ace
Bump anyhow from 1.0.41 to 1.0.42
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.41 to 1.0.42.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.41...1.0.42)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 10:18:58 +00:00
gluaxspeed
d50473ec95 remove debug statement, fix clippy on non-windows 2021-07-11 23:58:23 -07:00
gluaxspeed
a4575c8a00 cleaner output, and log writer 2021-07-11 23:42:14 -07:00
Alessandro Coglio
a04a76305d
Merge pull request #1135 from AleoHQ/fix-typo-inital
fix typo in name of initial ast file
2021-07-11 23:19:47 -07:00
gluaxspeed
c0628a04c7 Merge branch 'master' of github.com:AleoHQ/leo into bug/misc-bugs 2021-07-11 22:55:29 -07:00
Eric McCarthy
a8840d5264
fix typo in name of initial ast file
`inital_ast.json` --> `initial_ast.json`
2021-07-11 21:29:50 -07:00
Alessandro Coglio
1e87368b03
Merge pull request #1101 from AleoHQ/dependabot/cargo/structopt-0.3.22
Bump structopt from 0.3.21 to 0.3.22
2021-07-09 16:05:48 -07:00
Alessandro Coglio
9202e7acc7
Merge pull request #1122 from detailyang/hotfix/ast-display
hotfix:ast:conditional statement display method
2021-07-09 15:22:24 -07:00
Alessandro Coglio
640c22c70c
Merge pull request #1133 from detailyang/hotfix/ast-formatstring-display
hotfix:fix formatstring display trait
2021-07-09 14:55:41 -07:00
gluaxspeed
39e21e5d93 add more tests 2021-07-09 12:15:29 -07:00
gluaxspeed
d4d122e59e Merge branch 'master' of github.com:AleoHQ/leo into bug/abnf-parser-bugs 2021-07-09 11:55:10 -07:00
Alessandro Coglio
a0923b95c9 [RFC] Extend the countdown loops RFC.
Discuss a possible extension to designate also the starting bound as inclusive
or exclusive, and discuss (a)symmetries and options.
2021-07-09 09:59:33 -07:00
detailyang
56aac82801 hotfix:fix formatstring display trait 2021-07-09 11:42:59 +08:00
Alessandro Coglio
0d3e53e754
Merge pull request #1067 from AleoHQ/backward-loops-rfc
[RFC] Adds countdown loops RFC
2021-07-08 14:20:57 -07:00
Alessandro Coglio
6b2292d20d
Merge pull request #1117 from AleoHQ/rfc-type-casts
[RFC] Update the type casts RFC.
2021-07-08 14:10:19 -07:00
Alessandro Coglio
cf290ed097
Merge pull request #1113 from AleoHQ/feature/circuit-constant-value
Feature/circuit constant value
2021-07-08 12:58:41 -07:00
gluaxspeed
dd016f46ad remove CARGO_NET_GIT_FETCH_WITH_CLI: true 2021-07-08 11:29:20 -07:00
gluaxspeed
b767dcd08f Merge branch 'master' of github.com:AleoHQ/leo into feature/circuit-constant-value 2021-07-08 04:14:32 -07:00
gluaxspeed
01717ee86f Merge branch 'master' of github.com:AleoHQ/leo into bug/abnf-parser-bugs 2021-07-08 04:07:00 -07:00
gluaxspeed
0bd580e3d1 fmt fixes, realized they have to be in that format for outputs 2021-07-08 04:05:00 -07:00
detailyang
85b47651a5 hotfix:ast:conditional statement display method 2021-07-08 16:15:46 +08:00
Alessandro Coglio
82a5527ea0 [RFC] Update the type casts RFC.
Based on consensus within the Leo team, now the RFC prescribes the
value-preserving semantics. The discussion on value-changing semantics has been
moved to the 'Alternatives' section. Other text has been adapted and improved to
reflect the chosen approach (before, value-preserving and value-changing were
presented as two possible candidates for type casts).
2021-07-06 16:12:37 -07:00
gluaxspeed
d983467b01 Fix package-name in abnf 2021-07-06 11:57:24 -07:00
Alessandro Coglio
d6c3aec431
Merge pull request #1098 from AleoHQ/dependabot/cargo/thiserror-1.0.26
Bump thiserror from 1.0.25 to 1.0.26
2021-07-05 11:50:50 -07:00
Alessandro Coglio
4e696beb71
Merge pull request #1096 from AleoHQ/dependabot/cargo/assert_cmd-1.0.7
Bump assert_cmd from 1.0.5 to 1.0.7
2021-07-05 10:32:58 -07:00
damirka
d27375d9d6 fix another typo 2021-07-05 19:57:37 +03:00
damirka
cc47350322 fix typo in comment 2021-07-05 16:31:46 +03:00
damirka
d1f8e52eba rework example to shaker sort 2021-07-05 16:28:50 +03:00
damirka
5f840e3b1e fix example - syntax outdated 2021-07-05 15:58:10 +03:00
damirka
f4e270ffd2 post review fixes 2021-07-05 15:47:01 +03:00
dependabot[bot]
e152e90338
Bump structopt from 0.3.21 to 0.3.22
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.21 to 0.3.22.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.21...v0.3.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 10:18:37 +00:00
dependabot[bot]
22930c2b5f
Bump thiserror from 1.0.25 to 1.0.26
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.25 to 1.0.26.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.25...1.0.26)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 10:18:13 +00:00
dependabot[bot]
92b5bb4c44
Bump assert_cmd from 1.0.5 to 1.0.7
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.5 to 1.0.7.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.5...v1.0.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 10:17:55 +00:00
Alessandro Coglio
6d56aa9c81
Merge pull request #1090 from AleoHQ/feature/cli-generates-proofs
Ast Proof Generation In CLI
2021-07-03 14:40:07 -07:00