Commit Graph

5963 Commits

Author SHA1 Message Date
evan-schott
4308d598e2 running all tests and updating expectation files 2023-08-24 15:29:23 -07:00
evan-schott
439d2b29de loop unrolling compatible with underscores 2023-08-24 15:07:00 -07:00
evan-schott
7e6b1d9ddb remove println 2023-08-22 11:29:35 -07:00
evan-schott
c345dbb309 Add support for underscores in literals 2023-08-22 11:10:54 -07:00
d0cd
a2551132f5
Merge pull request #2533 from AleoHQ/dependabot/cargo/testnet3/anyhow-1.0.75
Bump anyhow from 1.0.74 to 1.0.75
2023-08-18 19:41:58 -04:00
d0cd
a5ccece53f
Merge pull request #2534 from AleoHQ/dependabot/cargo/testnet3/thiserror-1.0.47
Bump thiserror from 1.0.46 to 1.0.47
2023-08-18 19:41:35 -04:00
dependabot[bot]
c9d23783ca
Bump thiserror from 1.0.46 to 1.0.47
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 23:00:57 +00:00
dependabot[bot]
7c8321e463
Bump anyhow from 1.0.74 to 1.0.75
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.74 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.74...1.0.75)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 23:00:16 +00:00
d0cd
0cccdda67e
Merge pull request #2536 from AleoHQ/design/unique-node-ids
[Design] Parsing produces unique node IDs.
2023-08-18 18:58:27 -04:00
d0cd
60e80c5e49
Merge pull request #2537 from AleoHQ/dependabot/cargo/testnet3/clap-4.3.22
Bump clap from 4.3.21 to 4.3.22
2023-08-18 10:13:50 -04:00
dependabot[bot]
b3154e8d77
Bump clap from 4.3.21 to 4.3.22
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.21 to 4.3.22.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.21...v4.3.22)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 10:05:54 +00:00
Pranav Gaddamadugu
a983ebd83d Regen expectations 2023-08-17 21:04:36 -04:00
Pranav Gaddamadugu
7d4a5d3b33 Clippy 2023-08-17 17:52:51 -04:00
Pranav Gaddamadugu
440cced9d8 Cleanup 2023-08-17 17:49:29 -04:00
Pranav Gaddamadugu
58774cd299 Regen expectations 2023-08-17 17:35:58 -04:00
Pranav Gaddamadugu
661a7cd508 Update compiler pipelines 2023-08-17 17:22:57 -04:00
Pranav Gaddamadugu
2fe6892645 Use NodeBuilder in FunctionInliner 2023-08-17 17:22:57 -04:00
Pranav Gaddamadugu
19ba799d21 Use NodeBuilder in LoopUnroller 2023-08-17 17:22:57 -04:00
Pranav Gaddamadugu
8f63fcdf80 Add NodeBuilder to StaticSingleAssigner 2023-08-17 17:22:56 -04:00
Pranav Gaddamadugu
05d38f3777 Use NodeBuilder in Flattener 2023-08-17 17:22:56 -04:00
Pranav Gaddamadugu
bf25bbae8b Use interior mutability pattern for Assigner 2023-08-17 17:22:56 -04:00
Pranav Gaddamadugu
637e091abb Use NodeBuilder in DCE 2023-08-17 17:22:56 -04:00
Pranav Gaddamadugu
26fffd6746 Add and use NodeBuilder in Parser 2023-08-17 17:22:56 -04:00
Pranav Gaddamadugu
1af776db9d Add checks for unique node IDs up until type checking 2023-08-17 17:22:56 -04:00
Pranav Gaddamadugu
c3a72132bf Add utility to check that Node IDs are unique 2023-08-17 17:22:56 -04:00
Pranav Gaddamadugu
a1b5cb1add Add NodeID to AST node constructors 2023-08-17 17:22:56 -04:00
Pranav Gaddamadugu
c2d04bf444 Introduce NodeBuilder 2023-08-17 17:22:56 -04:00
Pranav Gaddamadugu
93efccc9a7 Add NodeID to Identifier::serialize 2023-08-17 17:22:56 -04:00
d0cd
34fe5d770c
Merge pull request #2535 from AleoHQ/fix/expectations
[Test] Update expectations files.
2023-08-17 12:38:11 -04:00
Pranav Gaddamadugu
500584701a Update expectations files 2023-08-17 09:00:45 -04:00
d0cd
6600b2ea44
Merge pull request #2531 from AleoHQ/dependabot/cargo/testnet3/thiserror-1.0.46
Bump thiserror from 1.0.45 to 1.0.46
2023-08-17 00:28:12 -04:00
d0cd
a611a7c6af
Merge pull request #2532 from AleoHQ/dependabot/cargo/testnet3/anyhow-1.0.74
Bump anyhow from 1.0.73 to 1.0.74
2023-08-17 00:27:29 -04:00
d0cd
7cd6e757bf
Merge pull request #2522 from AleoHQ/design/node-id
[Design] Add `id` to AST nodes.
2023-08-17 00:26:52 -04:00
dependabot[bot]
51f589b10d
Bump anyhow from 1.0.73 to 1.0.74
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.73 to 1.0.74.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.73...1.0.74)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 10:24:04 +00:00
dependabot[bot]
cd76422bd5
Bump thiserror from 1.0.45 to 1.0.46
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.45 to 1.0.46.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.45...1.0.46)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 10:23:45 +00:00
collin
1e80baa646 commit run scripts 2023-08-15 14:14:26 -07:00
collin
11b87229f1 chore(leo): bump version for new release 2023-08-15 14:02:00 -07:00
Collin Chin
700e31f113
fix leo execute command line argument parsing (#2530)
* fix leo execute command line argument parsing

* add leo-examples integration test to ci and include leo execute commands

* give leo-example.sh execute permission
2023-08-15 13:59:50 -07:00
d0cd
85d9a28ebb
[Test] Add examples to test framework. (#2527)
* Add tests

* Remove debug print

* Regen expectations

* Remove battleship example
2023-08-15 11:11:17 -07:00
d0cd
6bce40480a
Merge pull request #2520 from AleoHQ/dependabot/cargo/testnet3/clap-4.3.21
Bump clap from 4.3.19 to 4.3.21
2023-08-15 11:52:13 -04:00
d0cd
44f5ab35c3
Merge pull request #2528 from AleoHQ/dependabot/cargo/testnet3/thiserror-1.0.45
Bump thiserror from 1.0.44 to 1.0.45
2023-08-15 11:51:39 -04:00
d0cd
0738420b44
Merge pull request #2529 from AleoHQ/dependabot/cargo/testnet3/anyhow-1.0.73
Bump anyhow from 1.0.72 to 1.0.73
2023-08-15 11:50:48 -04:00
Collin Chin
92386438fc
commit run scripts, bump rust ci img versions (#2526) 2023-08-15 08:48:18 -07:00
dependabot[bot]
7685ea5785
Bump anyhow from 1.0.72 to 1.0.73
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.73)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 10:36:09 +00:00
dependabot[bot]
065549c0ac
Bump thiserror from 1.0.44 to 1.0.45
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.44 to 1.0.45.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.45)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 10:35:45 +00:00
Collin Chin
12570e4602
Commit leo example tests (#2524)
* commit leo example tests

* improve leo example readme's and ci

* commit leo token example script
2023-08-14 15:26:55 -07:00
d0cd
a601ccd5cc
Merge pull request #2523 from AleoHQ/fix/issue-2521
[Fix] Function calls must lead with an `Identifier.
2023-08-13 00:09:38 -04:00
Pranav Gaddamadugu
036776be1b Fix parser 2023-08-09 20:26:48 -04:00
Pranav Gaddamadugu
7cc3330d98 Add failing test 2023-08-09 20:12:02 -04:00
Pranav Gaddamadugu
65ba316c4f Regen expectations 2023-08-09 17:38:33 -04:00