RealEthanPlayzDev / LuauCeption

Running Luau inside Luau

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LuauCeption

Running Luau inside Luau. Inspired by @Rerumu's LuauInLuau.

Notes

  • strftime isn't implemented, os.date will NOT work (doesn't error code, but it will return a empty string)
  • There's existing work on getting analysis to work (at the analysis branch), however it doesn't work (code aborts)

Testing

LuauCeption uses lune (runtime) and frktest (library). See src/tests to view the tests stuff.

To run tests, ensure you've initialized submodules (as the frktest library is imported using submodules) and simply run the run.luau script with lune.

The old testing script (Test.luau) at utils is still available, however it won't be used or updated for newer work.

Special thanks

  • @Rerumu - a LOT of troubleshooting
  • Tryptamine (@Lemonchat) - C exception handling
  • gamerer123 (@Lemonchat) - pointing out a oversight in the V3 implementation (that broke number precision)

About

Running Luau inside Luau

License:MIT License


Languages

Language:Luau 77.7%Language:CMake 18.3%Language:C++ 3.3%Language:Shell 0.8%