30 Commits

Author SHA1 Message Date
0x4261756D
6193441621 Fix if expecting a 'then' as else starter 2024-02-21 15:08:16 +01:00
0x4261756D
fcaf1c1570 Fix parser crashing in repeat-until block 2024-02-21 15:07:37 +01:00
0x4261756D
eaba371455 Fix '&' being parsed as '=' 2024-02-21 15:07:06 +01:00
0x4261756D
424f381755 Make INumeral json serializable 2024-02-21 15:06:51 +01:00
0x4261756D
25b3dd63c5 Improve Run output 2024-02-21 15:05:32 +01:00
0x4261756D
d1b855144e Make parser nodes json serializable 2024-02-21 15:05:06 +01:00
0x4261756D
41ab249353 Rename tokenizerTests 2024-02-21 15:03:42 +01:00
0x4261756D
d23a5cd70b Test parsing 2024-02-21 13:49:23 +01:00
0x4261756D
27f2917670 Implement missing parser methods 2024-02-21 13:49:04 +01:00
0x4261756D
b7f725afee Fix crash if a block has no stats 2024-02-21 13:48:43 +01:00
0x4261756D
dd813aa624 Explicitly pass values in RetstatNode constructor 2024-02-21 13:48:02 +01:00
0x4261756D
1679fe8e6e Fix Numeral and LiteralString ExpNodes requiring two regions 2024-02-21 13:47:38 +01:00
0x4261756D
ed50d40c1c Fix SuffixexpNodes subclasses inheriting from the wrong base 2024-02-21 13:47:02 +01:00
0x4261756D
bb954e99d5 Don't use implicit usings 2024-02-21 13:45:54 +01:00
0x4261756D
02aab2e590 Start working on the parser 2024-02-01 02:20:22 +01:00
0x4261756D
049a96191c Make testing recursive 2024-01-29 18:24:24 +01:00
0x4261756D
39521fbb19 Add float lexing 2024-01-29 18:24:08 +01:00
0x4261756D
ec312b3132 Add shebang parsing (read: ignore shebang) 2024-01-29 18:23:20 +01:00
0x4261756D
1646a79055 better command line handling + big formatting stuff 2024-01-29 14:39:22 +01:00
0x4261756D
34cb88582d Port tokenizer to C#
Another language change, another unrefactored (but already better tested) tokenizer
2024-01-16 02:59:51 +01:00
0x4261756D
7889f4c27a Fix last token not getting tokenized 2024-01-15 21:28:40 +01:00
0x4261756D
23269baa0b Make numbers in basic test distinct 2023-11-28 04:06:51 +01:00
0x4261756D
d0357f0a3a Fix numbers being tokenized as names 2023-11-28 04:04:57 +01:00
0x4261756D
a824823786 Add more directories to .gitignore 2023-11-24 03:36:47 +01:00
0x4261756D
c8cbf4659a Add test for table.get 2023-11-24 03:35:55 +01:00
0x4261756D
5dc1b9d50b Make tables work and add rawEquals methods
Since hashtables are a hassle with strings and complex datastructures
like the table they are an arraylist for now.

Also implement rawEquals for numerals and values to make table.get work
2023-11-24 03:22:15 +01:00
0x4261756D
cfc288e279 More treewalker stuff 2023-11-17 01:37:29 +01:00
0x4261756D
cdfa8d3f90 Implement ast dumping and start treewalker 2023-10-08 21:40:44 +02:00
0x4261756D
b00a99ab6a Implement parsing and token locations 2023-09-21 18:30:50 +02:00
0x4261756D
721383a043 Add tokenizer 2023-09-15 11:07:50 +02:00