gluax
dceb8a9744
fix Self inside of circuit giving an error, tests
2021-03-17 14:33:04 -04:00
gluax
e9bc1159ff
merge master and fix last bug
2021-03-16 17:28:59 -04:00
gluax
6ffcb48822
asg now handles Circuit name in Circuit name, some bug fixes
2021-03-16 16:49:18 -04:00
gluax
b83d6e9b05
error fixes, Self replacements extended
2021-03-16 13:15:10 -04:00
gluax
7d2a71c668
Merge master
2021-03-15 13:52:51 -04:00
gluax
ac13542638
Proper Errors
2021-03-15 13:37:23 -04:00
gluax
3a1c29e3b2
ready to return real errors, fixed Self outside circuit bugs
2021-03-12 20:41:49 -05:00
gluax
88166a64f9
error on Self outside of cicuits
2021-03-12 18:29:53 -05:00
gluax
04f62cdd8c
missing function output types
2021-03-12 16:59:08 -05:00
gluax
02e5f57eed
compound assignments
2021-03-12 16:47:57 -05:00
gluax
4185f6f6d2
array types and expressions expanded
2021-03-12 16:19:07 -05:00
gluax
e302f839ed
fix spelling
2021-03-12 14:34:20 -05:00
gluax
250c8ce5ec
reducer clean up
2021-03-12 14:32:20 -05:00
gluax
476307fffc
there could be more instances where expressions might need to be matched
2021-03-10 13:27:06 -05:00
gluax
8e0ebd386a
comment out replacing of self in circuit function input... not sure
2021-03-10 12:22:56 -05:00
gluax
9f126613d0
Self words replaced, still need to error for self/Self outside circuits
2021-03-10 12:11:54 -05:00
gluax
51c20ff07f
fix some reducer bugs, still more to implement/make function better
2021-03-09 18:46:45 -05:00
gluax
78ae6f1f12
merge master
2021-03-09 16:13:43 -05:00
gluax
af5a708f8c
reconstruction
2021-03-09 15:56:35 -05:00
dependabot-preview[bot]
c764020b4e
Bump indexmap from 1.6.1 to 1.6.2
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Commits](https://github.com/bluss/indexmap/compare/1.6.1...1.6.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-09 00:46:13 +00:00
Protryon
a6bf66f864
fix tests
2021-03-07 06:48:02 -08:00
Protryon
1f49d8bc44
Merge branch 'tokenizer' of github.com:AleoHQ/leo into tokenizer
2021-03-07 06:27:57 -08:00
Protryon
f5187fc872
fix some failing tests
2021-03-07 06:27:42 -08:00
collin
7cc331f219
fix formatting error
2021-03-05 16:11:39 -08:00
collin
10ecc6e6e2
merge master and fix build issues
2021-03-04 14:11:17 -08:00
howardwu
2e7b542b8b
Format and clean up, enable default on snarkvm_algorithms
2021-03-04 11:09:24 -08:00
howardwu
4f50b44a63
itemize imports
2021-03-04 10:33:51 -08:00
Protryon
d400764e00
parser rewrite
2021-03-03 09:59:24 -08:00
howardwu
77a0af18fe
chore(leo): bump version for new release
2021-02-26 19:42:35 -08:00
gluax
f952da330c
re-add syntax in, then add deprecation warning for it
2021-02-16 15:33:31 -05:00
gluax
42bea9e93a
Merge branch 'master' of github.com:AleoHQ/leo into feature/515-eliminate-const-vars
2021-02-16 14:02:49 -05:00
bors[bot]
fa53e75f51
Merge #641
...
641: Bug/564 input array len not enforced r=collinc97 a=gluax
Resolves #564 , depends on #563 . The changes for this branch have pulled from PR #638 , which is the PR that fixes #563 .
Co-authored-by: gluaxspeed <jonathan.t.pavlik@gmail.com>
2021-02-11 21:41:53 +00:00
bors[bot]
d418b5330c
Merge #638
...
638: bug/563-array-input-wrong-dimensions r=collinc97 a=gluax
Closes #563 . Fixes the array dimension builder when coming from the input file. Adds a test for it as well.
Co-authored-by: gluaxspeed <jonathan.t.pavlik@gmail.com>
2021-02-11 21:22:50 +00:00
Collin Chin
20a046bbbb
Merge pull request #643 from AleoHQ/feat/readme_license
...
Adds READMEs and LICENSEs to each Leo workspace member
2021-02-11 00:58:22 -08:00
bors[bot]
b72b5ac125
Merge #620
...
620: Feature/254 strengthen import rules r=collinc97 a=gluax
Grammar changes are a bit different than what was suggested in the original feature request #254 . However, it should be logically equivalent and I think makes more sense on the rust side.
Closes #254
Co-authored-by: gluaxspeed <jonathan.t.pavlik@gmail.com>
2021-02-11 07:31:56 +00:00
bors[bot]
a97d60eb28
Merge #598
...
598: [Feature] 374 circuit self access r=collinc97 a=gluax
Feature resolves #374 . At the grammar level the following syntax is no longer allowed on self:
```
self[0];
self();
```
Syntax that is allowed at the grammar level is:
```
console.log("b: {}", self::b);
console.log("hmm: {}",self::hmm());
self.hello();
console.log("access: {}", self.a);
```
Note that these changes are only at the grammar level only.
Co-authored-by: gluaxspeed <jonathan.t.pavlik@gmail.com>
Co-authored-by: Howard Wu <9260812+howardwu@users.noreply.github.com>
2021-02-11 07:09:43 +00:00
howardwu
777a67fb40
Adds README.md
2021-02-10 22:27:37 -08:00
howardwu
55db999a9e
Adds LICENSE.md
2021-02-10 22:23:45 -08:00
gluaxspeed
42fb5ea635
merge from pr 638
2021-02-10 11:59:42 -05:00
gluaxspeed
202f056531
fix pushed but depends on pr #638
2021-02-10 11:57:10 -05:00
gluaxspeed
d211d729d1
refactor pacakge_type -> package_or_packages
2021-02-09 10:57:37 -05:00
gluaxspeed
e48b971789
reverse iter for building array, add test case for it
2021-02-09 10:26:16 -05:00
gluaxspeed
f1bf6c90eb
remove const keyword
2021-02-08 10:34:33 -05:00
howardwu
1898cc6840
chore(leo): bump version for new release
2021-02-07 08:14:56 -08:00
gluaxspeed
26f9973e14
resolve merge conflict, asg + grammar tests
2021-02-05 14:20:48 -05:00
gluaxspeed
5fe61daa88
merge lastest master
2021-02-05 13:11:36 -05:00
Collin Chin
770f660f3a
Merge pull request #617 from AleoHQ/const-args
...
[Feature] Const Function Arguments
2021-02-04 23:05:51 -08:00
Collin Chin
a239e17bb6
Merge pull request #622 from AleoHQ/refactor/compiler
...
Adds ASG struct, updates ASG to support debug
2021-02-04 22:52:40 -08:00
howardwu
1b99c42470
Adds ASG struct, updates ASG to support debug
2021-02-04 19:21:17 -08:00
howardwu
96c20c6472
Update ast convention
2021-02-04 17:26:52 -08:00