lua-users home
lua-l archive

Re: C API to check if string is valid varible name

[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?

AltStyle によって変換されたページ (->オリジナル) /