0
0
Commit Graph

31 Commits

Author SHA1 Message Date
dc5006cdb3 💡 fix comment for NUM and STR data type enums 2022-10-02 17:40:58 +02:00
06140e3f3f ✏️ fix casing of Juicescript.data_type.BOOL 2022-10-02 16:10:48 +02:00
5ed0341061 variable type helpers 2022-10-01 20:12:34 +02:00
528700b582 🏗️ split command definition into validate and execute functions 2022-10-01 17:44:20 +02:00
f754c176c4 argument validation helpers 2022-10-01 16:19:59 +02:00
aad9c5bdbb 🎨 move "use strict"; to top of include 2022-09-29 19:25:35 +02:00
b6f1f1b97f command definition interface 2022-09-28 16:21:36 +02:00
f64f68a4e0 🎉 start working on runtime aka. runner aka. interpreter 2022-09-16 18:19:23 +02:00
2175363dbf parse identifiers as command arguments 2022-09-09 17:19:21 +02:00
d7dbbe4845 parser code 2022-09-09 17:06:54 +02:00
2d7a85f6c9 🔥 remove single equal sign 2022-09-09 17:06:24 +02:00
45690e798a 🧑‍💻 add newline after pretty printed object 2022-09-09 13:55:26 +02:00
b91893d06f add pretty printer to stderr.debug() 2022-09-09 13:53:27 +02:00
46461c9de0 tokenize question mark 2022-09-09 13:34:55 +02:00
01c3797636 keep track of single equal sign = 2022-09-08 21:07:50 +02:00
f76fb276b7 🥅 don't store program tree on parse error 2022-09-08 17:48:28 +02:00
8c224b6666 add error handling and new parser class 2022-09-08 17:06:13 +02:00
5a5710db02 add run() method for later 2022-09-08 14:05:59 +02:00
e23418cf6f make compare use strict typing 2022-09-08 13:50:37 +02:00
7b967b2e59 tokenize newline and ; as delimiters 2022-09-08 13:36:00 +02:00
ad8d67413f add scanner for variables prefixed with ampersand 2022-09-07 17:09:03 +02:00
02e63a18ce 🧑‍💻 strict mode 2022-09-06 23:39:28 +02:00
dfb7b3d09e 🧑‍💻 use let instead of var 2022-09-06 23:36:35 +02:00
b4774f2405 🧑‍💻 add trailing newlines 2022-09-06 22:10:18 +02:00
68fc67389c add lexer 2022-09-06 22:02:37 +02:00
929d41e392 🎨 add prefix to enum helper class 2022-09-06 15:02:43 +02:00
e2fb88a840 ✏️ add 2 missing commas 2022-09-06 14:56:55 +02:00
84bc051b9e 🏷️ add types flag and end and brackets 2022-09-06 14:53:08 +02:00
988b45fdb4 add token type 'enum' 2022-09-06 14:43:48 +02:00
8e28475dc1 create lexer class 2022-09-06 13:58:00 +02:00
5092bfeea4 🎨 split source into one class per file 2022-09-06 13:37:12 +02:00