Commit Graph

57 Commits

Author SHA1 Message Date
gluax
ffb7cab142 bug fix 905, make sure values are constant when assign is constant 2021-05-03 15:32:11 -04:00
gluax
2f7ed99f76 pull max's required semi-colon branch to ensure sameness, MD file renamed to readme 2021-04-14 18:38:49 -04:00
Protryon
51920b5df7 require semicolons on return 2021-04-14 15:27:57 -07:00
gluax
1803925b08 semi-colon after return statements are required 2021-04-14 16:59:07 -04:00
gluax
91634d6479 implicit input, removed from function input 2021-04-14 16:00:19 -04:00
damirka
fbe10b3aaf adds empty line to leo example 2021-04-14 20:06:14 +03:00
damirka
794e0f1095 adds test for that scenario 2021-04-14 18:09:52 +03:00
gluax
3efc705a8c fix tests merged from master 2021-03-25 11:19:42 -04:00
collin
113ba12959 add tests for dead code elim 2021-03-23 15:49:56 -07:00
gluax
2c6a34fea7 test that was failing coverage only existed on master 2021-03-22 11:47:34 -04:00
gluax
ef43230e98 merge master and see if it fixes coverage ci 2021-03-22 11:38:19 -04:00
gluax
b50919085b deprecate let mut, undeprecate const, let is now mutable by default 2021-03-18 15:19:07 -04:00
collin
f1f8b99690 add passing iteration test with loop variable 2021-03-17 12:35:16 -07:00
Collin Chin
45316e90d9 formatting 2021-03-12 21:02:38 -08:00
Collin Chin
712d2fbd02 add test for non-constant loop ranges 2021-03-12 20:39:58 -08:00
Protryon
a4f2101aaf remove if from ternary expression 2021-03-08 14:45:38 -08:00
gluax
d549fda7b5 rebase and replace const keyword in tests 2021-02-16 14:19:20 -05:00
Protryon
80d5c87b8a asg 2021-02-02 11:08:56 -08:00
howardwu
c935d6a486 Update license to 2021 2021-02-01 20:26:56 -08:00
Protryon
d1276bd95d statement breakout 2020-12-16 15:00:45 -08:00
collin
2352ebaf2c rename all bytes variables to string 2020-12-04 15:48:43 -05:00
collin
674caf5902 use include_str in all program tests 2020-12-04 15:34:51 -05:00
collin
7976c739e9 use include_str in program input + state tests 2020-12-04 15:20:59 -05:00
collin
69a8b61efe add type-inference module 2020-11-12 10:28:24 -08:00
collin
eb301d310b separate type-inference module 2020-11-11 14:32:46 -08:00
collin
a8c5885836 rename core-ast -> ast 2020-10-30 17:31:09 -07:00
collin
7589fa65c5 rename dynamic-check -> type-inference 2 2020-10-30 12:49:01 -07:00
collin
7e7d1e58a0 rename typed -> core-ast 2 2020-10-30 11:48:40 -07:00
collin
d3125a0f9f add new dynamic check errors and tests for variables 2020-10-26 18:41:51 -07:00
collin
6e124e52ff add dynamic check errors for statements 2020-10-24 17:01:40 -07:00
collin
d2810f2789 fix tests 2020-09-10 11:18:49 -07:00
collin
f675e895f5 merge master 2020-08-18 11:22:56 -07:00
raychu86
ae10a78eb5 Add license header 2020-08-18 03:50:26 -07:00
collin
47523f7f5d start porting tests over 2020-08-16 17:20:47 -07:00
collin
8ad4724b01 merge unary pr 2020-08-05 20:06:33 -07:00
collin
1fd3e946f8 use compound atomic rules in pest, update tests 2020-08-05 18:13:50 -07:00
howardwu
f40ba91784 Rename types -> typed 2020-08-02 20:56:22 -07:00
collin
3d35fb026b outputs -> output 2020-07-31 21:15:33 -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
e22e962588 rename leo-inputs -> leo-input 2020-07-31 18:49:01 -07:00
collin
6eb9ef41c3 fix statement tests 2020-07-30 17:11:58 -07:00
collin
ac8c940169 add parsing for .in and .state files and update errors 2020-07-29 13:20:44 -07:00
collin
1707d43be0 fix indents 2020-07-17 12:59:18 -07:00
collin
bfda4bb95c fix tests 2020-07-15 20:42:57 -07:00
collin
25a66d1f58 impl multiple returns and test 2020-06-23 23:56:51 -07:00
collin
5865149c06 fix index evaluation 2020-06-22 18:28:30 -07:00
collin
82a0afc17e convert leo-inputs to span with errors. fix tests 2020-06-19 23:02:58 -07:00
collin
3d1fe9cc4b convert statements to span with error 2020-06-19 19:04:13 -07:00
collin
c77e6a51b3 remove visibility syntax and functionality 2020-06-15 13:38:07 -07:00