|
06140e3f3f
|
✏️ fix casing of Juicescript.data_type.BOOL
|
2022-10-02 16:10:48 +02:00 |
|
|
b21383afcd
|
♻️ simplify data type checks
|
2022-10-02 16:10:10 +02:00 |
|
|
72454d3538
|
✨ code to enter and return from scope
|
2022-10-02 15:46:04 +02:00 |
|
|
10eca29f76
|
🧑💻 parse optional parameters to min and max count
|
2022-10-02 15:24:59 +02:00 |
|
|
196f6e755c
|
✨ own stringify helper
|
2022-10-02 13:32:27 +02:00 |
|
|
42c33d8951
|
🚸 warn when making parameter variables global
|
2022-10-02 12:57:10 +02:00 |
|
|
c9a39157ca
|
🧑💻 combine variable and scope stack
|
2022-10-02 12:38:04 +02:00 |
|
|
5f8e2996e9
|
🚸 change "flag not found" to warning
|
2022-10-01 21:26:25 +02:00 |
|
|
0b32991018
|
✨ make sure parameter names are unique in list
|
2022-10-01 21:18:53 +02:00 |
|
|
a01f59a545
|
✨ make sure optional parameters are followed by optional ones
|
2022-10-01 21:13:45 +02:00 |
|
|
f5e25dfc8d
|
🎉 ifl command
|
2022-10-01 21:01:06 +02:00 |
|
|
32271498be
|
🎉 jmp command
|
2022-10-01 21:00:49 +02:00 |
|
|
649dfe1837
|
🎉 add command
|
2022-10-01 21:00:34 +02:00 |
|
|
f107c4548a
|
🎉 typ command
|
2022-10-01 20:12:43 +02:00 |
|
|
5ed0341061
|
✨ variable type helpers
|
2022-10-01 20:12:34 +02:00 |
|
|
88905b304f
|
✨ argument and variables helpers
|
2022-10-01 19:42:46 +02:00 |
|
|
177cf3ede0
|
🎉 drw command
|
2022-10-01 19:42:09 +02:00 |
|
|
7d7f1424dc
|
🎉 mov command
|
2022-10-01 19:42:00 +02:00 |
|
|
ddf7163f6d
|
🐛 don't pretty print null
|
2022-10-01 17:57:44 +02:00 |
|
|
02bb1a43e9
|
🐛 add missing value to TRUE and FALSE tokens
|
2022-10-01 17:55:47 +02:00 |
|
|
528700b582
|
🏗️ split command definition into validate and execute functions
|
2022-10-01 17:44:20 +02:00 |
|
|
471b089454
|
💬 surround scope name with quotation marks at throw "unknown scope"
|
2022-10-01 17:17:22 +02:00 |
|
|
6b3bc93401
|
💡 improve method description for argument_validate_type
|
2022-10-01 16:21:10 +02:00 |
|
|
f754c176c4
|
✨ argument validation helpers
|
2022-10-01 16:19:59 +02:00 |
|
|
fd2c040662
|
🚸 warn on unterminated command definition
|
2022-10-01 16:17:43 +02:00 |
|
|
2e54a114dd
|
🚸 make types in stderr be uppercase
|
2022-10-01 16:04:14 +02:00 |
|
|
aad9c5bdbb
|
🎨 move "use strict"; to top of include
|
2022-09-29 19:25:35 +02:00 |
|
|
195af72d01
|
✨ runner state machine
|
2022-09-28 17:32:19 +02:00 |
|
|
cae42e4fbd
|
🚸 only use end to end command definition
|
2022-09-28 16:44:06 +02:00 |
|
|
4a6a97aec5
|
✨ validate user-defined command name against built-in commands
|
2022-09-28 16:31:58 +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 |
|
|
f7a9520f3f
|
✏️ fix wrong constructor description
|
2022-09-16 18:13:42 +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 |
|
|
3bce41fda6
|
🧑💻 parse argument list in seperate method
|
2022-09-09 13:49:10 +02:00 |
|
|
282725ab1e
|
🏷️ empty variable has empty string now
|
2022-09-09 13:43:42 +02:00 |
|
|
46f60b6f9d
|
🧑💻 move some syntax checks to parser
|
2022-09-09 13:39:19 +02:00 |
|
|
b730713c0c
|
🐛 remove lexeme from EOF token
|
2022-09-09 13:35:56 +02:00 |
|
|
46461c9de0
|
✨ tokenize question mark
|
2022-09-09 13:34:55 +02:00 |
|
|
bfbd49c9fe
|
✏️ fix typo chekc
|
2022-09-09 13:29:16 +02:00 |
|
|
ec6ca08d18
|
📝 rename function to command
|
2022-09-08 21:33:52 +02:00 |
|
|
d52cdc4874
|
✨ start working on parser
|
2022-09-08 21:16:21 +02:00 |
|
|
01c3797636
|
✨ keep track of single equal sign =
|
2022-09-08 21:07:50 +02:00 |
|
|
d9256b243a
|
🐛 update this.char when match() matches
|
2022-09-08 20:25:07 +02:00 |
|
|
1e57dad38e
|
🐛 always update this.char on this.next()
|
2022-09-08 19:02:59 +02:00 |
|
|
f76fb276b7
|
🥅 don't store program tree on parse error
|
2022-09-08 17:48:28 +02:00 |
|