lang-bootstrap/06
Dawid Sobczak 52164c82e3 Split main.lua and comment out code for now
I commented out the code because the lua linter I have running is
showing so many warnings its really annoying me so I need to fix all
those before writing anything.
2023-09-19 11:44:13 +01:00
..
lpeglabel Add stage 06: Lua bootstrap 2023-07-06 12:32:47 +01:00
lua-5.4.6 Add stage 06: Lua bootstrap 2023-07-06 12:32:47 +01:00
parser-gen Add stage 06: Lua bootstrap 2023-07-06 12:32:47 +01:00
src Split main.lua and comment out code for now 2023-09-19 11:44:13 +01:00
.gitignore Add stage 06: Lua bootstrap 2023-07-06 12:32:47 +01:00
Lexer.lua Add stage 06: Lua bootstrap 2023-07-06 12:32:47 +01:00
Makefile Add stage 06: Lua bootstrap 2023-07-06 12:32:47 +01:00
README.md Update README.md 2023-09-19 11:44:13 +01:00
zig.peg Add stage 06: Lua bootstrap 2023-07-06 12:32:47 +01:00

TODO:

Fix 05 stage tcc compiler that causes some non-descript linker error whenever a generated executable is executed. Causes this error message : "Inconsistency detected by ld.so: dl-fini.c: 92: _dl_fini: Assertion `ns != LM_ID_BASE || i == nloaded' failed!"

Write rules into makefile to run tests

  1. Create test runner if it doesn't exist for lpeglable and parser-gen
  2. Update tests to lua 5.4
  3. Write a 'make test' rule

Implement backslashed escaped characters in grammar parser

Implement single line comments starting with # in grammar parser