mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-14 12:10:30 +00:00
a12b405acf
- Add several (internal) modules for lexing and parsing Lua code. These allow us to provide (hopefully) higher quality error messages than Lua's built-in messages. - `shell.run`, `edit` and `lua` now use this parser when fed invalid code. This allows us to provide better syntax errors, while not having any impact on the happy path. Note this does not affect any other mechanism for loading code (`load`, `require`, `dofile`). There's still a lot of work to do here in improving error message quality, but hopefully this provides a good starting point. |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts |