Commit Graph

42 Commits

Author SHA1 Message Date
Marvin Blum
486ec3ba9d Removed panic on "no tokens provided". 2015-10-25 17:03:21 +01:00
Marvin Blum
4471ae285e Added main. 2015-10-25 16:57:00 +01:00
Marvin Blum
a1d7fc977e README table fix. 2015-10-25 15:11:39 +01:00
Marvin Blum
abda5faff7 Special cases for waitUntil and exitWith. 2015-10-25 15:10:29 +01:00
Marvin Blum
4848a502bb Merge branch 'master' of https://github.com/DeKugelschieber/asl.git 2015-10-25 14:10:31 +01:00
Marvin Blum
d542562022 Fixed negation bug. 2015-10-25 14:03:04 +01:00
Marvin Blum
c3c4ca6f7d Added try ... catch. 2015-10-25 13:51:53 +01:00
Marvin Blum
9db5c2042d Missing != operator, added test for all of them. 2015-10-25 13:15:51 +01:00
Marvin Blum
2e7e198047 go fmt. 2015-10-25 13:04:30 +01:00
Marvin Blum
276dd2c1e9 Fixed tokenizer problem. 2015-10-25 13:03:51 +01:00
Marvin Blum
65aac94f5e Update README.md 2015-10-25 01:53:03 +02:00
Marvin Blum
b8e38b2351 Updated README. 2015-10-24 14:40:04 +02:00
Marvin Blum
5996df0f71 Fixed buildin function call problem, but found a new on in tokenizer
(e.g. "format" -> for, mat).
2015-10-24 14:37:12 +02:00
Marvin Blum
75729ebb8e Fixed ! operator and negative value prefix (e.g. -100). 2015-10-24 14:24:00 +02:00
Marvin Blum
5a00e256da Updated README, tested more complex example :( 2015-10-23 20:51:14 +02:00
Marvin Blum
04d0f4b61b Fixed function call and buildin function call, all tests are green.
Still need to solve special cases and sqf: ... sqf blocks.
2015-10-23 20:09:26 +02:00
Marvin Blum
dfe02ecef1 Fixed switch, something is wrong with function call parameters. 2015-10-21 22:48:03 +02:00
Marvin Blum
7aa5691863 More testing, fixed for, added array parsing, switch is buggy. 2015-10-15 18:54:38 +02:00
Marvin Blum
a8c6da2958 Added conditional expressions. 2015-10-14 22:00:59 +02:00
Marvin Blum
8144e207ed More testing, started parsing expressions, which requires a lot of
rewriting.
2015-10-10 17:45:27 +02:00
Marvin Blum
e051b0ae42 Started testing for parser. 2015-10-10 17:00:11 +02:00
Marvin Blum
18ab469808 Added optional "pretty" printing. 2015-10-10 15:57:35 +02:00
Marvin Blum
765a3fde5b Started testing with tokenizer. 2015-10-10 14:38:33 +02:00
Marvin Blum
7657631b36 Added license. 2015-10-09 16:14:17 +02:00
Marvin Blum
b908525d34 Updated README, added todo. 2015-10-09 15:53:21 +02:00
Marvin Blum
7c4e3c1077 Updated README, strings can now contain comments. 2015-10-09 11:48:09 +02:00
Marvin Blum
2bc92c2970 Removed... 2015-10-09 11:31:53 +02:00
Marvin Blum
828eab7892 Removed bin and pkg from index. 2015-10-09 11:30:58 +02:00
Marvin Blum
e88a6b48a8 Added strings to tokenizer, added comments to code. 2015-10-09 11:29:52 +02:00
Marvin Blum
25d691eb66 Removed unused token. 2015-09-21 22:15:37 +02:00
Marvin Blum
316bbd5e2f gofmt. 2015-09-21 22:00:01 +02:00
Marvin Blum
1c02007ac3 Added comments to preprocessor. 2015-09-21 21:57:09 +02:00
Marvin Blum
5a91193cae Build in functions. 2015-09-21 20:26:49 +02:00
Marvin Blum
b489e5018c More testing, fixes, ... 2015-09-21 17:53:04 +02:00
Marvin Blum
a53f052be8 Added foreach (called "each"). 2015-09-21 17:42:42 +02:00
Marvin Blum
e3b8ddc0f9 Added for. 2015-09-21 17:28:16 +02:00
Marvin Blum
1f0730b984 Added while and switch. 2015-09-21 17:16:00 +02:00
Marvin Blum
af7a0a9f4c Multiple statements, generalized expressions. 2015-09-21 16:44:14 +02:00
Marvin Blum
6cd9caef99 Updated readme. 2015-09-21 15:27:39 +02:00
Marvin Blum
7e6f66acd6 Function parsing, some fixes to parser. 2015-09-21 15:26:05 +02:00
Marvin Blum
9754def486 Basic parser, fixed bug in tokenizer. 2015-09-21 14:46:39 +02:00
Marvin Blum
651c7451d1 Init, basic tokenizer setup. 2015-09-21 13:26:17 +02:00