Commit Graph
91 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 ed1d19851e Updated ToDo. 2015-12-15 23:56:20 +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 59831fed32 Merge branch 'master' of https://github.com/DeKugelschieber/asl 2015-12-15 23:19:56 +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 fa766cc78c Updated README. 2015-11-14 16:45:07 +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 3990a20cb0 Added changelog. 2015-11-07 14:38:34 +01:00
Marvin Blum 07250ba2a7 Updated readme. 2015-11-05 19:02:51 +01:00
Marvin Blum 2bc11fb125 Removed "in" keyword from tokenizer. Updated readme. 2015-11-03 13:28:00 +01: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 3ee9a310e8 Removed preprocessor from "whats missing". 2015-10-31 16:28:43 +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 1d7f435530 Added folder to gitignore. 2015-10-30 19:11:05 +01:00
Marvin Blum aedf8e715e Removed test 'in' folder. 2015-10-30 19:09:46 +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 ae8fad1abc Updated readme. 2015-10-28 19:20:23 +01:00
Marvin Blum 755d5af263 Updated readme. 2015-10-28 19:09:39 +01:00
Marvin Blum bf751e63c9 Merge branch 'master' of https://github.com/DeKugelschieber/asl.git 2015-10-28 19:00:42 +01:00
Marvin Blum c3d4661b7f Issue #6. 2015-10-28 19:00:32 +01:00
Marvin Blum d7013b01c3 Issue #6. 2015-10-28 18:58:40 +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 a703189f0c Edited readme. 2015-10-27 19:09:29 +01:00
Marvin Blum c6acb22403 Removed sample output directory. 2015-10-26 21:04:39 +01:00
Marvin Blum 5d22e80f4e Removed sample. 2015-10-26 21:03:46 +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 2d6edd9207 Removed sample output folder from index. 2015-10-25 18:41:54 +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 2788ea1397 Updated Readme. 2015-10-25 17:13:55 +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 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 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