Commit Graph

70 Commits

Author SHA1 Message Date
Marvin Blum
fbfbb8a55c Fixed NaN type, updated changelog for future release, added support for null and unary build in functions. Need to add binary build in functions. 2016-01-06 22:15:09 +01:00
Marvin Blum
9d909a0b8a Finished loading type file. 2016-01-06 21:43:17 +01:00
Marvin Blum
3f6b854a09 Now splits by windows and unix new lines, added parsing structure. 2015-12-17 23:23:49 +01:00
Marvin Blum
05e6937201 Started loading type information. 2015-12-17 22:49:56 +01:00
Marvin Blum
4dfa2ee3ef Issue #17 and concurrent compiling. 2015-12-15 23:53:47 +01:00
Marvin Blum
29804f0d20 Renamed parser helper, upcounted version number. 2015-12-15 23:23:24 +01:00
Marvin Blum
69e684a230 go fmt. 2015-12-15 23:19:41 +01:00
Marvin Blum
f1f564d89b Updated version. 2015-11-14 16:48:24 +01:00
Marvin Blum
59f02f7782 Issue #23. 2015-11-14 16:43:36 +01:00
Marvin Blum
1208bda68c Issue #21. 2015-11-14 16:22:39 +01:00
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