luajitos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

testscript.lua (314B)


      1 -- Embedded manifest in lua script
      2 ----- MANIFEST START
      3 -- name = "testprog";
      4 -- developer = "luajitos";
      5 -- permission = {
      6 --     "filesystem";
      7 -- };
      8 ----- MANIFEST END
      9 
     10 local a = 1
     11 print("Hello from embedded manifest script!")
     12 print("Variable a = " .. tostring(a))
     13 print("This script has filesystem permission!")