Commit Graph

3641 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
4514dbb390 Change output path to be compatible with CI output 2021-09-22 15:55:38 -07:00
Pranav Gaddamadugu
ae6e0a6786 Changing expectations files; for any AST where Span is used in an enum variant 2021-09-22 12:07:58 -07: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
28d6aeb47d Reorganized parser/tests and included new test for generating ASTs without spans 2021-09-22 10:41:47 -07:00
Alessandro Coglio
1db16356ce [RFC] Update status. 2021-09-22 10:24:37 -07:00
Alessandro Coglio
551ac4d747 [RFC] Update grammar changes to apply to latest grammar. 2021-09-22 10:24:07 -07:00
Alessandro Coglio
30cce1a5f1 [RFC] Fix number. 2021-09-22 10:19:23 -07:00
Alessandro Coglio
2b0b460b9a [RFC] Update some statuses. 2021-09-22 10:16:01 -07:00
Pranav Gaddamadugu
73ff1d85e0 Added custom serialization for spans in tuple-like enum variants; changed expected output in serialization test 2021-09-21 18:28:50 -07:00
Alessandro Coglio
e08d2522f1 [RFC] Revise discussion of 'input' treatment.
Incorporate suggestions from Eric and Mazdak on this.
2021-09-21 09:49:36 -07:00
Pranav Gaddamadugu
a9746cb756 Refactor to previous function name: 2021-09-21 09:32:31 -07:00
Alessandro Coglio
1fc9814421 [RFC] Incorporate suggestion. 2021-09-21 09:12:04 -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
Pranav Gaddamadugu
3236351d72 New error for converting AST to JSON value 2021-09-20 17:54:27 -07:00
Alessandro Coglio
151366ba5c [RFC] Add a new idea for handling transaction outputs. 2021-09-20 11:04:51 -07:00
Alessandro Coglio
d863d1e3ed [RFC] Mention also Output as suggested. 2021-09-20 10:07:49 -07:00
Alessandro Coglio
59cadadf2d [RFC] Incorporate naming suggestion. 2021-09-20 09:55:50 -07:00
Alessandro Coglio
0e96bf8d7d
Merge pull request #1346 from AleoHQ/feature/count-untested-errors
Feature/count untested errors
2021-09-20 09:30:29 -07:00
dependabot[bot]
85a3dddd8c
Bump dirs from 3.0.2 to 4.0.0 (#1347)
Bumps [dirs](https://github.com/soc/dirs-rs) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)

---
updated-dependencies:
- dependency-name: dirs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: damirka <damirka.ru@gmail.com>
2021-09-20 14:31:32 +03:00
dependabot[bot]
1eea668e4a
Bump tracing from 0.1.27 to 0.1.28 (#1355)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.27 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.28)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-20 14:03:34 +03:00
Alessandro Coglio
bdfc79e90a
Merge pull request #1352 from AleoHQ/more-tests
[Tests] Adds .len() parser tests, sanitizes some tests
2021-09-17 11:05:39 -07:00
Pranav Gaddamadugu
8b95f3b779 Enabled CircleCI, triggering again 2021-09-17 10:27:01 -07:00
Alessandro Coglio
a5d388681c
Merge pull request #1349 from AleoHQ/tgc-ci-formatting
[tgc CI] make log more readable; allow tgc type inference to run even…
2021-09-17 10:18:48 -07:00
Alessandro Coglio
b08e63124b [RFC] interface -> entrypoint
This emerged as consensus from yesterday's meeting.
2021-09-17 10:10:39 -07:00
Alessandro Coglio
43a4a6e414 [RFC] Fix typo. 2021-09-17 10:07:51 -07:00
Alessandro Coglio
c491a16f36 [RFC] Use x instead of * -- Eric M.'s suggestion. 2021-09-17 10:07:10 -07:00
Pranav Gaddamadugu
45c1e86b59 Trigger CI 2021-09-17 09:32:57 -07:00
damirka
af777c085d adds .len() parser tests 2021-09-17 17:39:28 +03:00
damirka
27d9fffab7 fix test expectations 2021-09-17 14:44:11 +03:00
Eric McCarthy
7f1277940b [tgc CI] make log more readable; allow tgc type inference to run even if there is a tgc canonicalization failure 2021-09-16 12:35:22 -07:00
damirka
63cc0b7d05 staging for wasm 2021-09-16 17:20:37 +03:00
Pranav Gaddamadugu
fb4f398520 Re-ran all tests with CLEAR_LEO_TEST_EXPECTATIONS=true; changed expectations for the two tests that failed in CI 2021-09-15 18:28:54 -07:00
Pranav Gaddamadugu
0cd77ca89c Tested unknown error, cleanup, formatting, and ran clippy 2021-09-15 16:13:30 -07:00
Pranav Gaddamadugu
ef058cebb7 Added option to write errcov report to file or stdout 2021-09-15 15:23:26 -07:00
Pranav Gaddamadugu
db1ddaa144 errcov outputs coverage information for covered, uncovered, and unknown errors 2021-09-15 15:23:26 -07:00
Pranav Gaddamadugu
dc98e94d7f errcov collects all error codes for errors generated by create_errors! macro 2021-09-15 15:23:26 -07:00
Pranav Gaddamadugu
02170e4201 Created errcov binary, lists error codes found in tests/exepectations 2021-09-15 15:23:26 -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
gluax
2cbf62ef0a
Merge pull request #1339 from AleoHQ/feature/built-ins
[Feature] Leo stdlib & built-ins
2021-09-14 22:04:02 -07:00
gluaxspeed
a503dbb50b add some READMES 2021-09-14 21:38:07 -07:00
Alessandro Coglio
4c816dd024 [RFC] Fix two typos.
Thanks to Errol Drummond for reporting these.
2021-09-14 09:09:02 -07:00
damirka
f12eafb957 replace sizeof with lengthof 2021-09-14 18:01:24 +03:00
dependabot[bot]
3a004b5f23
Bump tracing from 0.1.26 to 0.1.27 (#1344)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.26 to 0.1.27.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-14 17:55:54 +03:00
Alessandro Coglio
65cfffac99 [RFC] Initial draft of record/transaction RFC. 2021-09-13 10:13:47 -07:00
Alessandro Coglio
86552cacdd
Merge pull request #1337 from AleoHQ/abnf
[ABNF] Improve rules for array expressions.
2021-09-13 08:53:49 -07:00