Commit Graph

2583 Commits

Author SHA1 Message Date
collin
da0c7b86c4 remove unused code 2021-04-12 13:15:40 -07:00
collin
a9ee01b418 fix clippy checks 2021-04-12 13:15:40 -07:00
Protryon
7aeb8f15ee ns -> namespace 2021-04-12 13:15:40 -07:00
Protryon
960f6b2d91 EOF -> Eof 2021-04-12 13:15:40 -07:00
Protryon
aa4c97c9fd remove full path from span outputs 2021-04-12 13:15:40 -07:00
Protryon
899b8b3efd tests 2021-04-12 13:15:39 -07:00
gluax
29b8b2e301 add another test for tuple defined arrays 2021-04-12 11:47:19 -04:00
damirka
fee71becad fixes ci not showing credentials 2021-04-12 17:21:13 +03:00
damirka
9104ed4f91 debug .ci 2021-04-12 17:12:07 +03:00
damirka
f3c97390ee adds name substitution on leo new and init
- only adds a name if user is already logged in
- if not, puts [AUTHOR] as it was previously
- before publishing author field is checked in Leo.toml and better error message returned
2021-04-12 16:54:37 +03:00
damirka
ab033ff857 updates login procedure
- locally stored token is now verified on leo login and removed if expired
- we allow re-login when credentials or token are passed (did not before)
- we now store username alongside jwt
2021-04-12 15:59:23 +03:00
dependabot-preview[bot]
9da1f9eb6b
Bump bincode from 1.3.2 to 1.3.3
Bumps [bincode](https://github.com/servo/bincode) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/servo/bincode/releases)
- [Commits](https://github.com/servo/bincode/compare/v1.3.2...v1.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-12 11:32:41 +00:00
gluax
2bb85f52c1 quick fix, it's in order in this location not reversed, add tests 2021-04-09 22:52:14 -04:00
howardwu
c336f5a704 Fix asg-passes cargo toml bug 2021-04-09 14:19:35 -07:00
howardwu
62ee4c3b8b chore(leo): bump version for new release 2021-04-09 14:08:52 -07:00
howardwu
ed19537408 Order workspace members 2021-04-09 14:02:15 -07:00
howardwu
ccea624184 Remove no defaults on synthesizer 2021-04-09 13:56:03 -07:00
howardwu
34a719d5a5 Update metadata for grammar toml 2021-04-09 13:50:39 -07:00
howardwu
513c6f00ac Remove keyword from grammar toml 2021-04-09 13:49:11 -07:00
howardwu
bec813b014 chore(leo): bump version for new release 2021-04-09 13:45:30 -07:00
Alessandro Coglio
f26114afa5 [ABNF] Make ** right-associative.
As agreed on Slack.
2021-04-09 13:01:59 -07:00
Collin Chin
3b76a2dfd8
Merge pull request #814 from AleoHQ/feature/leo-path-cli
[CLI] Adds --path argument to Leo CLI
2021-04-08 13:07:06 -07:00
Collin Chin
e291f8e3ed
Update build.rs 2021-04-08 13:06:31 -07:00
Collin Chin
a157944215
Merge pull request #839 from AleoHQ/abnf-md-fix
[ABNF] Adds %s to ANBF converter and resulting Markdown
2021-04-08 13:00:22 -07:00
Collin Chin
8b254b6b10
Merge pull request #838 from AleoHQ/fix-package-name-check
Fix package name checks
2021-04-08 12:59:44 -07:00
damirka
3b649f32f4 fixes CI 2021-04-08 18:12:34 +03:00
damirka
66e30ba0e1 makes -d and -q global 2021-04-08 17:49:08 +03:00
damirka
166be0874c Merge branch 'master' into feature/leo-path-cli 2021-04-08 17:47:20 +03:00
damirka
45986d598c adds %s to abnf converter and md 2021-04-08 10:45:04 +03:00
collin
0a3fb30035 package names cannot start with a number 2021-04-07 17:18:14 -07:00
collin
34fd7283c8 fix package name check 2021-04-07 17:10:07 -07:00
Collin Chin
23bca1e595
Merge pull request #796 from ljedrz/align_integers_with_snarkvm
Align with snarkVM's Integer changes
2021-04-07 15:28:39 -07:00
Collin Chin
bd7ec477c9
Merge pull request #837 from AleoHQ/bug-duplicate-functions
Adds error when function defined more than once
2021-04-07 14:32:47 -07:00
collin
aa0e576773 edit duplicate function message 2021-04-07 14:31:44 -07:00
Collin Chin
68419f4e10
Merge pull request #835 from AleoHQ/feature/abnf-doc-improvements
[ABNF] Improve the documentation of the grammar and fix a rule
2021-04-07 14:26:52 -07:00
damirka
8ac7440daa adds test, expects asg error 2021-04-07 20:20:58 +03:00
damirka
f55e880c43 adds check for already existing functions 2021-04-07 19:39:53 +03:00
ljedrz
dee5f7dc15 fix: use a hand-written impl of get_index
Signed-off-by: ljedrz <ljedrz@gmail.com>
2021-04-07 10:01:26 +02:00
ljedrz
670e3c0b47 deps: update snarkVM
Signed-off-by: ljedrz <ljedrz@gmail.com>
2021-04-07 10:01:26 +02:00
ljedrz
74f02411e8 fix: align with snarkVM's Integer changes
Signed-off-by: ljedrz <ljedrz@gmail.com>
2021-04-07 10:01:26 +02:00
Alessandro Coglio
d7d15b1bc4 [ABNF] Regenerate markdown file. 2021-04-06 16:41:12 -07:00
Alessandro Coglio
f19af30f0e [ABNF] Fix rule for affine group literals.
This was

affine-group-literal = "(" group-coordinate "," group-coordinate ")" %s"group"

instead of

affine-group-literal = "(" group-coordinate "," group-coordinate %s")group"

(note the different ending).

This change should have been part of the PR for whitespace in group literals,
but apparently I failed to do that, along with the other changes.

This commit rectifies that omission.
2021-04-06 16:39:07 -07:00
Alessandro Coglio
7da8a3c033 [ABNF] Improve consistency of documentation. 2021-04-06 16:37:18 -07:00
Alessandro Coglio
5f85308444 [ABNF] Improve the syntactic grammar section documentation.
Update some comments that were now out of date.

Clarify some text.

Fix some typos.
2021-04-06 16:35:47 -07:00
Alessandro Coglio
f0bac48093 [ABNF] Improve lexical grammar documentation.
Fix some typos, clarify some text, remove/update some obsolete references.
2021-04-06 16:03:28 -07:00
Alessandro Coglio
e035743f96 [ABNF] Improve naming convention section of documentation.
Some tweaks and some clarifications.
2021-04-06 15:19:41 -07:00
Collin Chin
e31bace4cb
Merge pull request #830 from AleoHQ/dependabot/cargo/abnf-0.10.2
Bump abnf from 0.10.1 to 0.10.2
2021-04-06 15:15:53 -07:00
Collin Chin
1867cf88b7
Merge pull request #827 from AleoHQ/feature/abnf-const-self
[ABNF] Allow const self and other small fixes/improvements
2021-04-06 15:15:33 -07:00
Alessandro Coglio
fdaab572f9 [ABNF] Improve operator precedence section of documentation.
Fix a typo. Tweak some text layout.
2021-04-06 15:14:08 -07:00
Alessandro Coglio
11c0d60021 [ABNF] Improve structure section of documentation.
Make this more concise and clear by just presenting the lexical and syntactic
grammar as the way we define the Leo syntax, as opposed to discussing
alternatives like PEGs.
2021-04-06 14:59:52 -07:00