Commit Graph

3581 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
242e34279d Add default for build options 2021-09-24 18:03:23 -07:00
Pranav Gaddamadugu
a128d367ff Resolving conflicts with master 2021-09-24 17:40:07 -07:00
Pranav Gaddamadugu
94498179db Added feature to serde_json, new expected ASTs 2021-09-24 16:34:57 -07:00
Pranav Gaddamadugu
1d4a4566d7 Updated tests to fit new compiler options 2021-09-23 09:27:14 -07:00
Pranav Gaddamadugu
f754f89c6e Updated test-framework/.../tgc.rs to remove spans from AST; changed compiler test options to disable spans 2021-09-23 09:11:09 -07:00
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
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
Pranav Gaddamadugu
a9746cb756 Refactor to previous function name: 2021-09-21 09:32:31 -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
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
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
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
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
86552cacdd
Merge pull request #1337 from AleoHQ/abnf
[ABNF] Improve rules for array expressions.
2021-09-13 08:53:49 -07:00
damirka
4f41f09ef2 Merge branch 'master' into array-len-function 2021-09-13 14:26:38 +03:00
dependabot[bot]
49a1ffbdff
Bump anyhow from 1.0.43 to 1.0.44 (#1340)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44)

---
updated-dependencies:
- dependency-name: anyhow
  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-13 14:06:32 +03:00
dependabot[bot]
041adf2b3b
Bump serde_yaml from 0.8.20 to 0.8.21 (#1341)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.8.20 to 0.8.21.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.20...0.8.21)

---
updated-dependencies:
- dependency-name: serde_yaml
  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-13 14:05:58 +03:00
Alessandro Coglio
f178517b90
Merge pull request #1335 from AleoHQ/add-palindromes-to-examples
[Examples] Adds 2 more examples, updates manifests
2021-09-10 10:42:20 -07:00
damirka
158576f8f5 changed length() to len() 2021-09-10 16:55:32 +03:00
gluaxspeed
c1e9c72d2a merge master and resolve conflicts 2021-09-10 06:53:47 -07:00
gluaxspeed
93f9f7df30 update built-ins rfc 2021-09-10 06:50:01 -07:00
gluaxspeed
e1f6b16ea7 added new errors 2021-09-10 06:42:01 -07:00
damirka
093517109b renaming, now .length() 2021-09-10 16:11:55 +03:00
gluax
9af730e8ee
Merge pull request #1334 from AleoHQ/bug/Self-in-tuple-or-list-arg-errors
[Bugfix] proper canoncialization of function inputs
2021-09-10 05:57:06 -07:00