I'm basically creating a programming language inside a programming language, like a "simpler" Lua, and I'm wondering if I can make it so you can use:
fnc somefunction()
instead of:
function somefunction()
I think I've seen people do this aka just defining the "fnc" somehow, any help would be appreciated!

3 comments
These can only be edited by core-scripts. These cannot be edited.
(As far as I know)
i think you're thinking of something similar to #define in c++. i dont think theres any macro (i'm not sure if i'm using the right term but whatever) functionality in roblox lua :/
You'd need to write a compiler for your language, there is no need to do this and there's no reason to do "fnc".