collin
df8ee1a1f9
fix type checking bugs
2022-06-26 15:13:58 -10:00
collin
21c6a2167a
type check record init expressions
2022-06-26 10:46:32 -10:00
collin
18a74cfb85
type check record type declaration
2022-06-24 11:47:01 -10:00
collin
9d0fd00072
add record type
2022-06-23 21:44:06 -10:00
collin
52395bba45
fix circuit type checking
2022-06-17 18:32:49 -07:00
collin
26810a15ae
impl bhp, pedersen, poseidon instructions
2022-06-17 15:37:48 -07:00
collin
d527a88a3a
impl core circuit instructions
2022-06-17 11:17:46 -07:00
collin
32f0c96b6f
impl shl shr tokens and type checking
2022-06-10 16:33:30 -07:00
collin
1b4e37e66e
fix symbol index bug
2022-06-09 13:16:54 -07:00
collin
f0a1573058
impl method call expression parsing
2022-06-03 13:27:23 -04:00
collin
3b62e3cc97
fix bugs
2022-06-01 13:49:55 -04:00
collin
2327bca617
implement static string type
2022-05-26 16:43:18 -04:00
Mazdak Farrokhzad
0883126fef
char removal: update ABNF + adjust examples
2022-05-24 15:51:58 +02:00
collin
f53817c5f5
implement real address literal check
2022-04-13 15:21:08 -07:00
collin
10bea676a8
remove unsized arrays
2022-03-04 12:23:46 -08:00
Collin Chin
419a6bd454
Update main.leo
2021-09-29 12:26:40 -07:00
damirka
c40106c15d
adds more examples from playground, updates manifests
2021-09-08 19:26:27 +03:00
gluax
e0cf988261
hacky, but optional comma only allowed on last member variable
2021-04-29 15:22:17 -04:00
damirka
18de36c71c
removed test_input from silly sudoku
2021-04-26 22:26:46 +03:00
damirka
5d359f23f5
Merge branch 'master' into feature/input-kebab
2021-04-26 22:25:10 +03:00
damirka
ad86b23c01
adds search for @test(custom) inputs path in kebab case
...
- in Leo test envs can only be snake_cased
- while we suggest naming inputs and folders in kebab-case
- this patch searches for both test_input and test-input options in inputs
2021-04-21 15:27:10 +03:00
damirka
b8312ab4a4
adds integration tests to Leo CLI
...
- leo tests are now written as cli commands
- leo libraries and binaries removed from package and cli
- small code optimizations and removals
2021-04-21 13:01:11 +03:00
gluax
1803925b08
semi-colon after return statements are required
2021-04-14 16:59:07 -04:00
Collin Chin
c352f41d41
add silly-sudoku example
2021-03-29 22:12:06 -07:00
gluax
793cbb9f27
add test for const self, no clippy issues locally
2021-03-25 14:30:06 -04:00
gluax
128eb60dfb
fix tests merged from master
2021-03-25 11:21:02 -04:00
gluax
3efc705a8c
fix tests merged from master
2021-03-25 11:19:42 -04:00
Collin Chin
9b61d0fa15
Merge branch 'master' into feature/constant-mutable-declarations
2021-03-24 22:23:24 -07:00
collin
f16bb70da9
test pedersen hash constraint numbers
2021-03-23 14:16:51 -07:00
collin
ae9ba51b7d
update pedersen hash example to use constant inputs
2021-03-22 15:24:32 -07:00
gluax
b50919085b
deprecate let mut, undeprecate const, let is now mutable by default
2021-03-18 15:19:07 -04:00
collin
8cbce25b5f
fix pedersen hash example
2021-03-11 14:51:54 -08:00
collin
deb3847b8e
remove add trait and uint impls
2021-03-11 14:47:34 -08:00
gluax
d549fda7b5
rebase and replace const keyword in tests
2021-02-16 14:19:20 -05:00
gluaxspeed
6831cf402f
put explicit type in perdesen-hash leo program
2021-02-04 15:07:14 -05:00
collin
cec3a40eb1
infer loop variable types + fix pedersen example
2021-01-07 14:09:57 -05:00
collin
d00eff2d86
removes confusing examples
2020-10-21 11:35:00 -07:00
raychu86
2a82a760f6
Update examples
2020-09-13 17:13:14 -07:00
collin
44a796ad48
fix pedersen hash example
2020-09-02 21:01:50 -07:00
collin
4b14d108b7
update default input file and examples
2020-09-02 12:01:35 -07:00
collin
ad4a6cea4f
remove underscores
2020-08-18 23:05:42 -07:00
collin
c3a89764bf
fix example naming and manifest files
2020-08-18 22:58:14 -07:00
collin
76d04705cb
ignore examples outputs directories
2020-08-03 12:57:49 -07:00
collin
1e56b3a5f6
fix all examples. change outputs -> output
2020-08-03 12:46:47 -07:00
howardwu
b58ee7233a
Update outputs directory
2020-08-02 22:51:48 -07:00
howardwu
f40ba91784
Rename types -> typed
2020-08-02 20:56:22 -07:00
collin
070fa0edea
fix all tests
2020-07-31 20:59:50 -07:00
collin
fb45ac7498
rename inputs -> input
2020-07-31 19:39:30 -07:00
collin
efd885c6a7
impl 1group and add test
2020-07-07 02:08:48 -07:00
collin
eaf9406c21
update pedersen example
2020-07-06 23:53:02 -07:00