|
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 |
|
|
376016c8a6
|
🧑💻 make char an attribute
|
2022-09-08 17:36:05 +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 |
|
|
dd13d9e32c
|
✨ allow missing var name on following curly bracket
|
2022-09-07 17:03:19 +02:00 |
|
|
8981e225e4
|
🧑💻 don't modify this.start on negative numbers for clean lexeme
|
2022-09-07 16:58:30 +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 |
|
|
3bd47fbe62
|
✨ add support for negative numbers
|
2022-09-06 22:29:40 +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 |
|
|
5d92207774
|
🎨 make name of stderr build method more understandable
|
2022-09-06 17:24:19 +02:00 |
|
|
8511b1420b
|
🎨 build stderr messages with additional data
|
2022-09-06 17:22:07 +02:00 |
|
|
994bc60923
|
🐛 find element by value in has()
|
2022-09-06 16:48:39 +02:00 |
|
|
3e89f10d72
|
✨ add some helper methods to enum class
|
2022-09-06 16:46:41 +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 |
|
|
43d31b2880
|
✨ add enum helper
|
2022-09-06 14:26:30 +02:00 |
|
|
de9337f90c
|
🎨 group storing arguments in constructor
|
2022-09-06 13:59:31 +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 |
|