Is it posible to reprogram lua in a script?

Im trying to make a simple version of lua like

function new
end)

or

MyPlayer.teleport to script.parent

but I cannot seem to change pre existing words into different things like

local function = local function new()

or

local functionEnd = End)

How would I do this?

I’m not sure what you’re trying to achieve - could you give a fuller example?

1 Like

oh no, you wont buddy, this is hard as hell, Unreliable and Semi-Impossible or even Impossible

Also you can do

 local function = function()

local function(function)
          function()
end

Yeah this is not gonna be possible. When I was a new scripter I wished for similar things as this, but once you become more proficient you realize that scripting languages are as complex as they are to provide the user with as much freedom as the engine provides. The only way that we’ll be able to code this simply is if an AI creates an incredibly simple language where it interprets plain English into readable code (OpenAI already sorta did this, but only with basic web-based apps and games).

lua is already the easiest and most high level language, why?

Idk? Just wanted to see if it was possible

If I could code html this probably would be possible on a website but impractical

You might wanna do some research on programming languages and interpreters.