Commit Graph

60 Commits

Author SHA1 Message Date
Marvin Blum
2bc11fb125 Removed "in" keyword from tokenizer. Updated readme. 2015-11-03 13:28:00 +01:00
Marvin Blum
5c540ce481 Revert "New repo layout and unified test" 2015-11-02 18:13:18 +01:00
nikolauska
d2c32b3b85 added new repository layout and unified tests 2015-11-02 12:00:18 +03:00
Marvin Blum
67e950b41d Started better error output by adding line and column number. Need to
get rid of panic.
2015-10-31 16:49:33 +01:00
Marvin Blum
6c55846e9f Issue #18, but syntax is: foreach (variable) => (expression) {...}. 2015-10-31 16:40:58 +01:00
Marvin Blum
8d5c0a6905 Added documentation, added new line before preprocessor line. 2015-10-31 16:27:10 +01:00
Marvin Blum
276ab86668 Added preprocessor line. 2015-10-31 16:20:04 +01:00
Marvin Blum
dc4eaf4b0f main package must remain, stupid me. 2015-10-30 19:38:17 +01:00
Marvin Blum
4da540317f Version number. 2015-10-30 19:05:18 +01:00
Marvin Blum
6e4cef91bc Issue #15. 2015-10-30 19:03:50 +01:00
Marvin Blum
c3d4661b7f Issue #6. 2015-10-28 19:00:32 +01:00
Marvin Blum
393ddd4326 Added compiler context. 2015-10-28 18:38:49 +01:00
Marvin Blum
53ea74a19b That's it basically, need own context to compile sub parts within other
compilation.
2015-10-28 18:26:29 +01:00
Marvin Blum
0a66f15704 Merge remote-tracking branch 'origin/master' into feature/code-keyword
Conflicts:
	in/simple.asl
2015-10-28 18:13:55 +01:00
Marvin Blum
352bfd6a9b Issue #9. 2015-10-28 18:12:20 +01:00
Marvin Blum
0b26c5bdf8 Issue #11. 2015-10-28 18:08:08 +01:00
Marvin Blum
1cbcda4261 Started to add special function to inline code (issue #6). 2015-10-28 17:59:38 +01:00
Marvin Blum
bba215cd8d Fixed switch in test and readme. 2015-10-28 17:50:46 +01:00
Marvin Blum
a64bef135d Issue #13. 2015-10-28 17:04:51 +01:00
Marvin Blum
7ed05f913b Fixed unit tests. 2015-10-27 22:06:49 +01:00
Marvin Blum
f614efec43 Also converting paths to Windows paths now. 2015-10-26 20:55:20 +01:00
Marvin Blum
a736ed2f58 Fix issue #1. Added windows new line/whitespace character. 2015-10-25 19:43:21 +01:00
Marvin Blum
070ef6732d Small improvements to for. 2015-10-25 19:33:09 +01:00
Marvin Blum
665c9e27a1 Issue #2 expression fix, updated readme. 2015-10-25 18:37:51 +01:00
Marvin Blum
bf283cb87a Issue #2. 2015-10-25 18:34:45 +01:00
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
abda5faff7 Special cases for waitUntil and exitWith. 2015-10-25 15:10:29 +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
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
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