[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: C API to check if string is valid varible name
- From: Tomas Mudrunka <mudrunka@...>
- Date: Fri, 24 Mar 2023 12:38:52 +0100
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.