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!
Unfortunately within roblox this isn't possible. Roblox allows you to define your own functions, and variables. Doing something like fnc myFunction()
isn't practical. The myFunction()
is possible, but something like fnc
isn't. Something like local fnc = myFunction()
would work, but I'm aware that it isn't exactly what you're looking for.
However, if you decide to switch to lua (off roblox), then this is possible. I've seen people go crazy and make their own programming language, within a programming language they've made.