Commit Graph

  • f301a663f3 Remove throwing part of tokenizerString test csharp 0x4261756D 2024-03-19 20:30:51 +01:00
  • 5b3da8b4b7 Merge branch 'csharp' of https://gittea.dev/0x4261756D/luaaaaah into csharp 0x4261756D 2024-03-19 20:29:23 +01:00
  • f1f658169e Add empty string test 0x4261756D 2024-03-19 20:28:36 +01:00
  • 23199d37f3 Remove throwing part of tokenizerString test 0x4261756D 2024-03-19 20:26:51 +01:00
  • 5de6233436 Update launch.json 0x4261756D 2024-03-19 20:26:38 +01:00
  • e89625c2e9 Throw on hex floats 0x4261756D 2024-03-19 20:26:24 +01:00
  • 501bc9eed6 Fix crash on empty string 0x4261756D 2024-03-19 20:25:58 +01:00
  • a4d9e5023f Fix error message 0x4261756D 2024-03-19 20:24:40 +01:00
  • f310882220 Remove unnecessary setting of currentToken 0x4261756D 2024-03-19 20:23:08 +01:00
  • 820fc7a82e Remove some unnecessary nesting in the parser 0x4261756D 2024-02-28 19:13:17 +01:00
  • 51390b24d3 More deduplication in the tokenizer 0x4261756D 2024-02-28 18:55:31 +01:00
  • 0c93d45dbd deduplicate some tokenizer code 0x4261756D 2024-02-28 18:22:14 +01:00
  • 28f110e2c4 Further cut down the amount of unnecessary coderegions 0x4261756D 2024-02-28 17:41:36 +01:00
  • 40c744119c Make regions not part of superclass StatNode 0x4261756D 2024-02-28 17:02:23 +01:00
  • ef333f7d93 Throw on broken escape sequences 0x4261756D 2024-02-21 17:43:53 +01:00
  • e3968034ce Add more tests 0x4261756D 2024-02-21 17:38:55 +01:00
  • 769d18f2b0 Fix SingleQuoteBackslashZ expecting to close with " 0x4261756D 2024-02-21 17:38:46 +01:00
  • 8cbfb8b941 Add unfinished implementation for \u escape sequences 0x4261756D 2024-02-21 17:38:18 +01:00
  • ab4be05bf4 Ignore '!' in shebang comment 0x4261756D 2024-02-21 17:36:59 +01:00
  • 637638d889 Implement \x escape sequences 0x4261756D 2024-02-21 16:36:13 +01:00
  • ad3bb57dcc Include failed count in test output 0x4261756D 2024-02-21 16:07:57 +01:00
  • 17a8beb2b7 Don't attempt to parse empty token streams 0x4261756D 2024-02-21 16:04:58 +01:00
  • 3d40351771 Fix being unable to parse files with other line endings 0x4261756D 2024-02-21 16:04:35 +01:00
  • 8b30b34bd1 Fix BigComments and StringWithLongBracket swallowing an ending ']' if ']' occurred somewhere within 0x4261756D 2024-02-21 16:04:00 +01:00
  • 04f5804dff Fix trailing comma handling in ParseFieldlist 0x4261756D 2024-02-21 16:01:58 +01:00
  • 83b0416c03 Make hex numeral 'x' case-insensitive 0x4261756D 2024-02-21 16:00:41 +01:00
  • 6512439ce3 Fix empty strings not having string data 0x4261756D 2024-02-21 15:59:31 +01:00
  • 43fea86d92 Fix missing increment after parsing dotted funcname 0x4261756D 2024-02-21 15:11:45 +01:00
  • 2b75b7d79f Add missing increment if parlist starts with varargs 0x4261756D 2024-02-21 15:11:17 +01:00
  • ae4a3e9993 Fix suffixexp.argsfirstarg expecting ')' instead of name after ':' 0x4261756D 2024-02-21 15:10:37 +01:00
  • 3a6e024c9b Correctly remove last suffix when turning exp into {member, indexed} var 0x4261756D 2024-02-21 15:09:55 +01:00
  • c7ac2cf091 Fix labels expecting a name instead of '::' to close 0x4261756D 2024-02-21 15:08:50 +01:00
  • 6193441621 Fix if expecting a 'then' as else starter 0x4261756D 2024-02-21 15:08:16 +01:00
  • fcaf1c1570 Fix parser crashing in repeat-until block 0x4261756D 2024-02-21 15:07:37 +01:00
  • eaba371455 Fix '&' being parsed as '=' 0x4261756D 2024-02-21 15:07:06 +01:00
  • 424f381755 Make INumeral json serializable 0x4261756D 2024-02-21 15:06:51 +01:00
  • 25b3dd63c5 Improve Run output 0x4261756D 2024-02-21 15:05:32 +01:00
  • d1b855144e Make parser nodes json serializable 0x4261756D 2024-02-21 15:05:06 +01:00
  • 41ab249353 Rename tokenizerTests 0x4261756D 2024-02-21 15:03:42 +01:00
  • d23a5cd70b Test parsing 0x4261756D 2024-02-21 13:49:23 +01:00
  • 27f2917670 Implement missing parser methods 0x4261756D 2024-02-21 13:49:04 +01:00
  • b7f725afee Fix crash if a block has no stats 0x4261756D 2024-02-21 13:48:43 +01:00
  • dd813aa624 Explicitly pass values in RetstatNode constructor 0x4261756D 2024-02-21 13:48:02 +01:00
  • 1679fe8e6e Fix Numeral and LiteralString ExpNodes requiring two regions 0x4261756D 2024-02-21 13:47:38 +01:00
  • ed50d40c1c Fix SuffixexpNodes subclasses inheriting from the wrong base 0x4261756D 2024-02-21 13:47:02 +01:00
  • bb954e99d5 Don't use implicit usings 0x4261756D 2024-02-21 13:45:54 +01:00
  • 02aab2e590 Start working on the parser 0x4261756D 2024-02-01 02:20:22 +01:00
  • 049a96191c Make testing recursive 0x4261756D 2024-01-29 18:24:24 +01:00
  • 39521fbb19 Add float lexing 0x4261756D 2024-01-29 18:24:08 +01:00
  • ec312b3132 Add shebang parsing (read: ignore shebang) 0x4261756D 2024-01-29 18:23:20 +01:00
  • 1646a79055 better command line handling + big formatting stuff 0x4261756D 2024-01-29 14:39:22 +01:00
  • 34cb88582d Port tokenizer to C# 0x4261756D 2024-01-16 02:59:51 +01:00
  • 7889f4c27a Fix last token not getting tokenized zig 0x4261756D 2024-01-15 21:28:40 +01:00
  • 23269baa0b Make numbers in basic test distinct 0x4261756D 2023-11-28 04:06:51 +01:00
  • d0357f0a3a Fix numbers being tokenized as names 0x4261756D 2023-11-28 04:04:57 +01:00
  • a824823786 Add more directories to .gitignore 0x4261756D 2023-11-24 03:36:47 +01:00
  • c8cbf4659a Add test for table.get 0x4261756D 2023-11-24 03:35:55 +01:00
  • 5dc1b9d50b Make tables work and add rawEquals methods 0x4261756D 2023-11-24 03:22:15 +01:00
  • cfc288e279 More treewalker stuff 0x4261756D 2023-11-17 01:37:29 +01:00
  • cdfa8d3f90 Implement ast dumping and start treewalker 0x4261756D 2023-10-08 21:40:44 +02:00
  • b00a99ab6a Implement parsing and token locations 0x4261756D 2023-09-21 18:30:50 +02:00
  • 721383a043 Add tokenizer 0x4261756D 2023-09-15 11:07:50 +02:00
  • 0ca8a731a9 Implement LL-like parser rust 0x4261756D 2023-07-20 15:20:28 +02:00
  • c3e2565ff9 Start work on a LL inspired parser since CYK is too slow 0x4261756D 2023-07-19 12:57:37 +02:00
  • e53734dcca Add terribly slow cyk parser 0x4261756D 2023-07-12 23:25:20 +02:00
  • 5a2171b023 Add grammar 0x4261756D 2023-07-11 17:38:26 +02:00
  • bee2fcb62b Start working on a parser 0x4261756D 2023-06-15 06:44:47 +02:00
  • f21a6272d4 Merge branch 'main' of https://gittea.dev/0x4261756D/luaaaaah 0x4261756D 2023-06-15 02:18:09 +02:00
  • 55763b2155 Initial commit 0x4261756D 2023-06-15 02:15:17 +02:00
  • 2db53ce0db Split tokenizer into its own file 0x4261756D 2023-06-07 02:53:15 +02:00
  • 10c6bcd483 Deduplicate more tokenizer work and avoid constructing strings 0x4261756D 2023-06-07 02:44:37 +02:00
  • 317878dd3b deeduplicate code 0x4261756D 2023-06-06 23:56:38 +02:00
  • a149609f03 Implement more states for the tokenizer 0x4261756D 2023-06-06 20:38:40 +02:00
  • 21c5098cf7 Implement more tokenizer states + some last_index fixes 0x4261756D 2023-06-06 19:18:27 +02:00
  • 294ecb7712 Initial commit, tokenizer stands (barely) 0x4261756D 2023-06-06 02:16:29 +02:00