Commit Graph

3913 Commits

Author SHA1 Message Date
Alessandro Coglio
67c34a6a25
Merge pull request #1367 from AleoHQ/abnf
[ABNF] Remove 'string' from the keywords.
2021-09-27 11:07:51 -07:00
Alessandro Coglio
4c3b0d344b
Merge pull request #1342 from AleoHQ/rfc
[RFC] Initial draft of record/transaction RFC.
2021-09-27 10:55:53 -07:00
Alessandro Coglio
95d0799f9e [RFC] Make some text more precise. 2021-09-27 10:47:59 -07:00
damirka
8120384ebc remove console.log 2021-09-27 19:53:11 +03:00
Damir S
ec8096a40f
Update wasm/src/lib.rs
Co-authored-by: Mazdak Farrokhzad <twingoow@gmail.com>
2021-09-27 17:52:55 +03:00
damirka
85059a682d Merge branch 'master' into leo-wasm 2021-09-25 12:14:46 +03:00
damirka
0aa6eabb0c adds README, extends error object 2021-09-25 12:13:59 +03:00
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
Alessandro Coglio
003758cdad [ABNF] Re-generate the markdown. 2021-09-24 15:46:33 -07:00
Alessandro Coglio
cc46ec060f [ABNF] Remove 'string' from the keywords.
Now that the stdlib includes the type alias declaration

type string = [char; _];

in order for that type declaration to be legal and not "special", 'string' must
be an identifier.
2021-09-24 15:43:16 -07:00
Alessandro Coglio
caf27b3243
Merge pull request #1363 from AleoHQ/clippy-cleanup
Misc cleanups of warnings & etc
2021-09-24 08:36:51 -07:00
Pranav Gaddamadugu
1d4a4566d7 Updated tests to fit new compiler options 2021-09-23 09:27:14 -07:00
damirka
aadd998665 fix matrix, remove sscache 2021-09-23 19:27:09 +03:00
damirka
e33b41ea1c install wasm-pack with cargo 2021-09-23 19:24:43 +03:00
damirka
dbf40f9d23 add Rust to CI 2021-09-23 19:14:38 +03: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
damirka
6ffd8a5e49 fix name of the CI 2021-09-23 19:06:27 +03:00
damirka
5d7fea6215 adds a CI 2021-09-23 18:59:36 +03:00
Mazdak Farrokhzad
3ad7d2fdb2 cleanup courtesy of clippy 2021-09-23 17:06:48 +02:00
damirka
1ffcede96c adds .ts tests for parser 2021-09-23 17:05:00 +03: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
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