lua-users home
lua-l archive

C API to check if string is valid varible name

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


Hello,
i am aware there are rules for variable naming:
https://www.lua.org/manual/5.4/manual.html#3.1
Is there some C API to check wether given string is a valid identifier?
It would be really beneficial in some cases.
And yes, i am aware that i can use almost any string as _G key.
But that is not what i am looking for.
--
S pozdravem
Best regards
 Tomáš Mudruňka - SPOJE.NET s.r.o.

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