lua-users home
lua-l archive

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


> Is there some C API to check wether given string is a valid identifier?

No. But see the code for "identifier or reserved word" in llex:
https://www.lua.org/source/5.1/llex.c.html#llex

> It would be really beneficial in some cases.

For instance?