Uy Ha
52cbc7add1
Seperate $
, CACHE
, and ENV
for query purpose
2021-06-30 20:39:02 +02:00
Uy Ha
12ef0b4cab
Make $.variable
recursive
2021-06-30 07:40:33 +02:00
Uy Ha
b8c45d2a2b
Fix grammar for allowing white space to appear everywher
2021-06-29 20:35:34 +02:00
Uy Ha
e3dfc2cdca
Stop treating command argument as special:
...
- Planning to move the highlight responsibility to the highlight query
- Stop trying to parse frequently used commands
- One test is failing because of `unquoted_argument`, planning to fix
2021-06-27 21:22:42 +02:00
Uy Ha
1669ad95a0
Update README
2021-06-27 13:17:54 +02:00
Uy Ha
bd57f88f2d
The parser now understands comments (line and bracket)
2021-06-27 13:14:31 +02:00
Uy Ha
9bc53cd0df
Parse bracket comment using external scanner
...
- Due to bracket comment has to have the pattern /[=*[/ follow '#'
symbol immediately, it's easier to implement it using external scanner
2021-06-26 23:30:27 +02:00
Uy Ha
06d75be374
Extract out to scan_bracket_argument
function
2021-06-26 22:52:19 +02:00
Uy Ha
3b2b47dbaa
Simplify the grammar using extras
and add bracket comment
2021-06-26 18:11:48 +02:00
Uy Ha
0988d2ce86
Add external parser for parsing bracket_argument
and also adjust the
...
test cases accordingly
2021-06-26 02:19:49 +02:00
Uy Ha
364423376f
Remove incomplete queries
2021-06-26 02:16:55 +02:00
Uy Ha
adb4aecea9
Ignore scanner.obj
2021-06-26 02:16:24 +02:00
Uy Ha
27b8b979d2
Update README
2021-06-17 23:07:08 +02:00
Uy Ha
5047c61bba
Add message and its test case
2021-06-17 23:06:32 +02:00
Uy Ha
c16b1dfe4b
Add while test cases
2021-06-17 22:45:35 +02:00
Uy Ha
4051a2af3a
Update README
2021-06-17 22:43:53 +02:00
Uy Ha
1a4e86b5bf
Add while and its test case
2021-06-17 22:43:12 +02:00
Uy Ha
169a1d2622
Reorder rules
2021-06-17 22:33:05 +02:00
Uy Ha
eb032187a2
Add if and its test cases
2021-06-17 22:32:18 +02:00
Uy Ha
d843d2677f
Add what queries has for now
2021-06-17 22:31:43 +02:00
Uy Ha
dabd265781
Refactor rules
2021-06-16 21:37:14 +02:00
Uy Ha
9cfb644bc0
Increase width
2021-06-16 21:36:50 +02:00
Uy Ha
c5affb3570
Complete list of keywords for foreach
2021-06-14 22:12:45 +02:00
Uy Ha
6ccd073db5
Start extracting keywords in foreach command
2021-06-14 22:07:04 +02:00
Uy Ha
d23b5a89fa
Hide more invisible characters nodes
2021-06-14 21:33:30 +02:00
Uy Ha
d62626bcb4
Revert making command name anonymous node
2021-06-14 21:06:24 +02:00
Uy Ha
5a730d2140
Make token for command name anonymous
2021-06-13 22:39:43 +02:00
Uy Ha
c0b417d056
Let foreach and endforeach accept arugments instead of variable
2021-06-13 22:34:27 +02:00
Uy Ha
03ade79edb
Update foreach test case name
2021-06-08 00:17:10 +02:00
Uy Ha
bcb9e4ccfb
Extract foreach loop
2021-06-08 00:07:49 +02:00
Uy Ha
9e0798cc16
Hide command_invocation
2021-06-08 00:02:13 +02:00
Uy Ha
a4960577dd
Tag test cases
2021-06-07 23:29:32 +02:00
Uy Ha
b828373a88
Regenerate grammar.json
2021-06-07 23:29:15 +02:00
Uy Ha
4ef112e6ce
Final have foreach working
2021-06-07 23:02:35 +02:00
Uy Ha
3ff964a361
Add basic support for foreach
2021-06-06 20:38:18 +02:00
Uy Ha
265b10cf72
Start fresh with foreach
2021-06-06 15:44:05 +02:00
Uy Ha
bdc2d6e321
[WIP] Start extracting overloaded foreach commands
2021-06-06 13:46:48 +02:00
Uy Ha
a4b8b9c643
Add test case for endforeach with argument
2021-06-04 16:16:51 +02:00
Uy Ha
4dbfb30250
Add license
2021-06-04 15:53:41 +02:00
Uy Ha
9d86152473
Add parsing for foreach RANGE and items
2021-06-04 14:15:12 +02:00
Uy Ha
02c1cdec24
Shorten prettier line width
2021-06-04 14:14:27 +02:00
Uy Ha
387faac594
Update tests for differentiating commands
2021-06-04 13:02:16 +02:00
Uy Ha
6973cc46d2
Remove checkboxes from README
2021-06-04 00:31:21 +02:00
Uy Ha
a2adfd8a15
Use html checkbox for README
2021-06-04 00:30:17 +02:00
Uy Ha
c702eb5ed2
Use html checkbox for README
2021-06-04 00:29:16 +02:00
Uy Ha
ec6c9eb3af
Use Unicode checkbox symbol for README
2021-06-04 00:24:25 +02:00
Uy Ha
045e372f3b
Two things:
...
- Start using prettier for formatting
- Start adding foreach loop highlighting
2021-06-04 00:19:26 +02:00
Uy Ha
4a81a1d859
Update README.rst
2021-05-29 19:35:48 +02:00
Uy Ha
29945819db
Fix README
2021-05-28 23:25:42 +02:00
Uy Ha
ef1e551f91
Update README
2021-05-28 22:51:24 +02:00