From 48b303d3e34ba5a643156c7a716614ca4fadb4dc Mon Sep 17 00:00:00 2001 From: James <85808999+TheGreatSageEqualToHeaven@users.noreply.github.com> Date: Wed, 27 Mar 2024 22:08:36 +0000 Subject: [PATCH] Create extensions.lua --- examples/extensions.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/extensions.lua diff --git a/examples/extensions.lua b/examples/extensions.lua new file mode 100644 index 0000000..c701815 --- /dev/null +++ b/examples/extensions.lua @@ -0,0 +1,9 @@ +local luau_settings = Fiu.luau_newsettings() + +luau_settings.extensions["macro"] = function() + print("Hello World, from Fiu extension!") +end + +local luau_execute, luau_close = Fiu.luau_load("\5\1\1\5\109\97\99\114\111\1\1\0\0\1\2\0\5\65\0\0\0\12\0\1\0\0\0\0\64\21\0\1\1\22\0\1\0\2\3\1\4\0\0\0\64\0\1\0\1\24\0\0\0\0\1\1\0\0\0\0\0", nil, luau_settings) + +luau_execute()