Commit Graph

24 Commits

Author SHA1 Message Date
Luna 38f0b04351 updates for latest zig 2020-04-10 16:48:10 -03:00
Luna 4479e78356 scanner: fix SlashEqual generation not skipping its own chars
- parser: allow SlashEqual on main mkAssign/mkSet call
 - readme: += and gang are done
2019-08-27 12:05:29 -03:00
Luna e0a60ddc2c add SlashEqual operator 2019-08-27 11:58:32 -03:00
Luna eb7a485206 parser: simplify finishAssignment, add StarEqual support 2019-08-27 11:54:21 -03:00
Luna fc4b84b51c scanner: add pub keyword 2019-08-26 21:31:57 -03:00
Luna 460055e186 add loop keyword 2019-08-25 16:49:08 -03:00
Luna 1ab966b853 add boolean AND and boolean OR 2019-08-25 13:21:22 -03:00
Luna 72bc932d23 add assignment support (without mut) 2019-08-25 10:27:50 -03:00
Luna 366be14cea add assignment of mutable variables 2019-08-24 17:46:42 -03:00
Luna 86d8fe1a3a add basics of statements 2019-08-24 16:00:22 -03:00
Luna b591ecdf9b fix identifier -> keyword conversion 2019-07-01 15:07:17 -03:00
Luna ac23c0d2d7 fix identifier lexemes 2019-07-01 15:06:53 -03:00
Luna fa47bd7a7e fix for latest zig 2019-06-29 23:50:43 -03:00
Luna ff5a532c58 scanner: fix issues regarding peekNext 2019-06-06 01:28:10 -03:00
Luna f70f2ea1ae add basic parser 2019-06-05 22:06:12 -03:00
Luna a44f04c7c8 scanner: finish off with identifiers and keywords 2019-06-04 21:16:25 -03:00
Luna 498ea72da4 add support for ++ and += 2019-06-04 18:07:46 -03:00
Luna 285f0b8410 add string support 2019-06-04 17:52:37 -03:00
Luna 8a9522d954 add multiline comment support 2019-06-04 17:40:13 -03:00
Luna 1e47b29685 fix scanner peek/peekNext 2019-06-04 17:28:48 -03:00
Luna 765cef87db add number and comment support 2019-06-04 17:24:07 -03:00
Luna 1453bef6c5 add nicer error handling, whitespace skipping 2019-06-04 15:18:52 -03:00
Luna 59083198c6 add basic scanner logic 2019-06-04 15:06:57 -03:00
Luna 3d243eefff add runPrompt / runFile / run functions 2019-06-03 23:12:16 -03:00