lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


checkout debug.getinfo() facilites.

* https://www.lua.org/pil/23.1.html





---- Em Qua, 06 abr 2022 11:02:05 -0300 binarycat <binarycat@envs.net> escreveu ----

it seems like compiling things to lua is becoming somewhat popular, but one problem with that is line numbers in error messages will then not match up.

i was messing around with literate programming, and i decided i should add line number stuff, but after some looking around, it doesn't seem like such a thing exists.

is there something i'm missing? if not, is there some reason lua doesn't include this?

--
binarycat