cluaupp 0.2.3 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -79
- package/README.md +47 -83
- package/editors/vscode/extension.js +8 -31
- package/editors/vscode/package.json +4 -4
- package/examples/README.md +5 -7
- package/examples/game/.vscode/extensions.json +2 -4
- package/examples/game/.vscode/settings.json +6 -14
- package/{include/cluaupp/datatypes.hpp → examples/game/include/clpp/datatypes.clh} +1 -1
- package/{include/cluaupp/generated/instances.hpp → examples/game/include/clpp/generated/instances.clh} +1415 -1415
- package/examples/game/include/clpp/libs/chrono.clh +26 -0
- package/examples/game/include/clpp/libs/cmdr.clh +16 -0
- package/{include/cluaupp/libs/dataservice.hpp → examples/game/include/clpp/libs/dataservice.clh} +138 -145
- package/{include/cluaupp/libs/display.hpp → examples/game/include/clpp/libs/display.clh} +12 -13
- package/examples/game/include/clpp/libs/ezvisual.clh +16 -0
- package/{include/cluaupp/libs/formatnumber.hpp → examples/game/include/clpp/libs/formatnumber.clh} +14 -15
- package/{include/cluaupp/libs/fusion.hpp → examples/game/include/clpp/libs/fusion.clh} +41 -41
- package/{include/cluaupp/libs/iris.hpp → examples/game/include/clpp/libs/iris.clh} +40 -40
- package/{include/cluaupp/libs/janitor.hpp → examples/game/include/clpp/libs/janitor.clh} +38 -39
- package/{include/cluaupp/libs/module3d.hpp → examples/game/include/clpp/libs/module3d.clh} +23 -25
- package/{include/cluaupp/libs/net.hpp → examples/game/include/clpp/libs/net.clh} +40 -42
- package/examples/game/include/clpp/libs/promise.clh +28 -0
- package/{include/cluaupp/libs/spring.hpp → examples/game/include/clpp/libs/spring.clh} +1 -2
- package/{include/cluaupp/libs/statemachine.hpp → examples/game/include/clpp/libs/statemachine.clh} +18 -19
- package/{include/cluaupp/libs/stickybillboard.hpp → examples/game/include/clpp/libs/stickybillboard.clh} +13 -14
- package/examples/game/include/clpp/libs/topbarplus.clh +28 -0
- package/examples/game/include/clpp/libs/twinkle.clh +15 -0
- package/examples/game/include/clpp/libs/vfx.clh +13 -0
- package/examples/game/include/clpp/libs.clh +24 -0
- package/examples/game/include/clpp/roblox.clh +32 -0
- package/examples/game/libs/ArrayIndexer/init.luau +144 -0
- package/examples/game/libs/Chrono/Client/ClientClock.luau +202 -0
- package/examples/game/libs/Chrono/Client/InterpolationBuffer.luau +74 -0
- package/examples/game/libs/Chrono/Client/ModelResolver.luau +53 -0
- package/examples/game/libs/Chrono/Client/Player.luau +113 -0
- package/examples/game/libs/Chrono/Client/Receiver.luau +395 -0
- package/examples/game/libs/Chrono/Client/Replicate.luau +333 -0
- package/examples/game/libs/Chrono/Client/Sender.luau +205 -0
- package/examples/game/libs/Chrono/LICENSE +21 -0
- package/examples/game/libs/Chrono/Server/EntityGrid.luau +299 -0
- package/examples/game/libs/Chrono/Server/Player.luau +141 -0
- package/examples/game/libs/Chrono/Server/Receiver.luau +287 -0
- package/examples/game/libs/Chrono/Server/Replicate.luau +415 -0
- package/examples/game/libs/Chrono/Server/Sender.luau +306 -0
- package/examples/game/libs/Chrono/Server/ServerClock.luau +50 -0
- package/examples/game/libs/Chrono/Shared/ApplyMounts.luau +137 -0
- package/examples/game/libs/Chrono/Shared/Bin.luau +31 -0
- package/examples/game/libs/Chrono/Shared/ClockUnwrap.luau +70 -0
- package/examples/game/libs/Chrono/Shared/Config.luau +264 -0
- package/examples/game/libs/Chrono/Shared/Entity.luau +1016 -0
- package/examples/game/libs/Chrono/Shared/Events.luau +39 -0
- package/examples/game/libs/Chrono/Shared/Holder.luau +210 -0
- package/examples/game/libs/Chrono/Shared/InterpolationMath.luau +51 -0
- package/examples/game/libs/Chrono/Shared/ModelHelper.luau +122 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/Death.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/Heartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/Replicate.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/examples/game/libs/Chrono/Shared/ReplicationRules.luau +122 -0
- package/examples/game/libs/Chrono/Shared/Signal.luau +219 -0
- package/examples/game/libs/Chrono/Shared/Snapshots.luau +218 -0
- package/examples/game/libs/Chrono/Shared/Stats.luau +204 -0
- package/examples/game/libs/Chrono/Shared/Ticker.luau +112 -0
- package/examples/game/libs/Chrono/Shared/Types.luau +247 -0
- package/examples/game/libs/Chrono/Shared/Warn.luau +33 -0
- package/examples/game/libs/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Client/ClientClock.luau +202 -0
- package/examples/game/libs/Chrono/_impl/Client/InterpolationBuffer.luau +74 -0
- package/examples/game/libs/Chrono/_impl/Client/ModelResolver.luau +53 -0
- package/examples/game/libs/Chrono/_impl/Client/Player.luau +113 -0
- package/examples/game/libs/Chrono/_impl/Client/Receiver.luau +395 -0
- package/examples/game/libs/Chrono/_impl/Client/Replicate.luau +333 -0
- package/examples/game/libs/Chrono/_impl/Client/Sender.luau +205 -0
- package/examples/game/libs/Chrono/_impl/LICENSE +21 -0
- package/examples/game/libs/Chrono/_impl/Server/EntityGrid.luau +299 -0
- package/examples/game/libs/Chrono/_impl/Server/Player.luau +141 -0
- package/examples/game/libs/Chrono/_impl/Server/Receiver.luau +287 -0
- package/examples/game/libs/Chrono/_impl/Server/Replicate.luau +415 -0
- package/examples/game/libs/Chrono/_impl/Server/Sender.luau +306 -0
- package/examples/game/libs/Chrono/_impl/Server/ServerClock.luau +50 -0
- package/examples/game/libs/Chrono/_impl/Shared/ApplyMounts.luau +137 -0
- package/examples/game/libs/Chrono/_impl/Shared/Bin.luau +31 -0
- package/examples/game/libs/Chrono/_impl/Shared/ClockUnwrap.luau +70 -0
- package/examples/game/libs/Chrono/_impl/Shared/Config.luau +264 -0
- package/examples/game/libs/Chrono/_impl/Shared/Entity.luau +1016 -0
- package/examples/game/libs/Chrono/_impl/Shared/Events.luau +39 -0
- package/examples/game/libs/Chrono/_impl/Shared/Holder.luau +210 -0
- package/examples/game/libs/Chrono/_impl/Shared/InterpolationMath.luau +51 -0
- package/examples/game/libs/Chrono/_impl/Shared/ModelHelper.luau +122 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/Death.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/Replicate.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/Shared/ReplicationRules.luau +122 -0
- package/examples/game/libs/Chrono/_impl/Shared/Signal.luau +219 -0
- package/examples/game/libs/Chrono/_impl/Shared/Snapshots.luau +218 -0
- package/examples/game/libs/Chrono/_impl/Shared/Stats.luau +204 -0
- package/examples/game/libs/Chrono/_impl/Shared/Ticker.luau +112 -0
- package/examples/game/libs/Chrono/_impl/Shared/Types.luau +247 -0
- package/examples/game/libs/Chrono/_impl/Shared/Warn.luau +33 -0
- package/examples/game/libs/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/examples/game/libs/Chrono/_impl/init.luau +96 -0
- package/examples/game/libs/Chrono/init.luau +14 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/announce.luau +21 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/ban.luau +59 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/banServer.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kick.luau +19 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/kill.luau +13 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/killServer.luau +13 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/respawn.luau +15 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/teleport.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/unban.luau +26 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/blink.luau +35 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/fetch.luau +12 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/position.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/thru.luau +50 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/uptime.luau +6 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Debug/version.luau +12 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/alias.luau +22 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/bind.luau +104 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/clear.luau +20 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/echo.luau +17 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/edit.luau +75 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/exit.luau +11 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/history.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/hover.luau +21 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/len.luau +16 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/math.luau +36 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/pick.luau +21 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/rand.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/replace.luau +32 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/resolve.luau +32 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/run.luau +20 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/runLines.luau +34 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/runif.luau +95 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/unbind.luau +27 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/var.luau +29 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varServer.luau +37 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varSet.luau +30 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/examples/game/libs/Cmdr/BuiltInCommands/help.luau +96 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/BrickColor.luau +258 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Color3.luau +59 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Command.luau +23 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Duration.luau +111 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/JSON.luau +13 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/MathOperator.luau +43 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Player.luau +36 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/PlayerId.luau +66 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Primitives.luau +145 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/StoredKey.luau +33 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Team.luau +49 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Type.luau +23 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/URL.luau +18 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/UserInput.luau +32 -0
- package/examples/game/libs/Cmdr/BuiltInTypes/Vector.luau +58 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/examples/game/libs/Cmdr/CmdrClient/CmdrInterface/init.luau +18 -0
- package/examples/game/libs/Cmdr/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Argument.luau +395 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Command.luau +415 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Registry.luau +717 -0
- package/examples/game/libs/Cmdr/CmdrClient/Shared/Util.luau +879 -0
- package/examples/game/libs/Cmdr/CmdrClient/init.luau +377 -0
- package/examples/game/libs/Cmdr/LICENSE +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +59 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +19 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +13 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +13 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +15 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +26 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +35 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +12 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/position.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +50 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +6 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Debug/version.luau +12 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +22 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +104 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +20 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +17 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +75 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +11 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/history.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/len.luau +16 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/math.luau +36 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +21 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +32 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +32 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/run.luau +20 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +34 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +95 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +27 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/var.luau +29 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +37 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +30 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInCommands/help.luau +96 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/BrickColor.luau +258 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Color3.luau +59 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Command.luau +23 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Duration.luau +111 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/JSON.luau +13 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/MathOperator.luau +43 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Player.luau +36 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/PlayerId.luau +66 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Primitives.luau +145 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/StoredKey.luau +33 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Team.luau +49 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Type.luau +23 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/URL.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/UserInput.luau +32 -0
- package/examples/game/libs/Cmdr/_impl/BuiltInTypes/Vector.luau +58 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Argument.luau +395 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Command.luau +415 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Registry.luau +717 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/Shared/Util.luau +879 -0
- package/examples/game/libs/Cmdr/_impl/CmdrClient/init.luau +377 -0
- package/examples/game/libs/Cmdr/_impl/LICENSE +21 -0
- package/examples/game/libs/Cmdr/_impl/init.luau +178 -0
- package/examples/game/libs/Cmdr/init.luau +8 -0
- package/examples/game/libs/DataService/Client.luau +209 -0
- package/examples/game/libs/DataService/Data.luau +886 -0
- package/examples/game/libs/DataService/Enum.luau +6 -0
- package/examples/game/libs/DataService/Enums.luau +10 -0
- package/examples/game/libs/DataService/Packages/quicknet/DataTypes.luau +70 -0
- package/examples/game/libs/DataService/Packages/quicknet/Enums.luau +85 -0
- package/examples/game/libs/DataService/Packages/quicknet/EnumsToNativeTypes.luau +57 -0
- package/examples/game/libs/DataService/Packages/quicknet/Parser.luau +355 -0
- package/examples/game/libs/DataService/Packages/quicknet/QuickNet.luau +953 -0
- package/examples/game/libs/DataService/Packages/quicknet/Serialize.luau +2020 -0
- package/examples/game/libs/DataService/Packages/quicknet/Types.luau +72 -0
- package/examples/game/libs/DataService/Packages/quicknet/init.luau +1 -0
- package/examples/game/libs/DataService/Packages/signal/init.luau +433 -0
- package/examples/game/libs/DataService/Path.luau +236 -0
- package/examples/game/libs/DataService/ProfileStore.luau +2243 -0
- package/examples/game/libs/DataService/Replicator.luau +172 -0
- package/examples/game/libs/DataService/Server.luau +412 -0
- package/examples/game/libs/DataService/init.luau +204 -0
- package/examples/game/libs/Display/LICENSE +201 -0
- package/examples/game/libs/Display/_impl/LICENSE +201 -0
- package/examples/game/libs/Display/_impl/init.luau +269 -0
- package/examples/game/libs/Display/_impl/option.luau +237 -0
- package/examples/game/libs/Display/init.luau +10 -0
- package/examples/game/libs/Display/option.luau +237 -0
- package/examples/game/libs/EzVisualz/Dropshadow.luau +148 -0
- package/examples/game/libs/EzVisualz/Gradient.luau +452 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Bubblegum.luau +16 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Chrome.luau +16 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Death.luau +15 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Electric.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Fire.luau +13 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Galaxy.luau +11 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Ghost.luau +16 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Gold.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Green.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Ice.luau +14 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Lava.luau +15 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Matrix.luau +19 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Neon.luau +12 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Oceanic.luau +15 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Rainbow.luau +13 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Silver.luau +12 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Sunset.luau +11 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/Zebra.luau +18 -0
- package/examples/game/libs/EzVisualz/GradientTemplates/init.luau +9 -0
- package/examples/game/libs/EzVisualz/LICENSE.md +21 -0
- package/examples/game/libs/EzVisualz/Presets/Bubblegum.luau +36 -0
- package/examples/game/libs/EzVisualz/Presets/ChromeStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/DeathStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/ElectricStroke.luau +54 -0
- package/examples/game/libs/EzVisualz/Presets/FireStroke.luau +29 -0
- package/examples/game/libs/EzVisualz/Presets/GalaxyStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/Presets/Ghost.luau +10 -0
- package/examples/game/libs/EzVisualz/Presets/GhostStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/Gold.luau +10 -0
- package/examples/game/libs/EzVisualz/Presets/GoldStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/GreenOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/Presets/IceStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/Lava.luau +9 -0
- package/examples/game/libs/EzVisualz/Presets/LavaStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/Presets/Matrix.luau +21 -0
- package/examples/game/libs/EzVisualz/Presets/NeonStroke.luau +30 -0
- package/examples/game/libs/EzVisualz/Presets/OceanicStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/Rainbow.luau +9 -0
- package/examples/game/libs/EzVisualz/Presets/RainbowOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/Presets/RainbowStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/Presets/Shine.luau +48 -0
- package/examples/game/libs/EzVisualz/Presets/ShineOutline.luau +66 -0
- package/examples/game/libs/EzVisualz/Presets/Silver.luau +10 -0
- package/examples/game/libs/EzVisualz/Presets/SilverStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/Presets/SunsetStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/Presets/WaveStroke.luau +33 -0
- package/examples/game/libs/EzVisualz/Presets/Zebra.luau +21 -0
- package/examples/game/libs/EzVisualz/Presets/init.luau +9 -0
- package/examples/game/libs/EzVisualz/Stroke.luau +167 -0
- package/examples/game/libs/EzVisualz/Util.luau +7 -0
- package/examples/game/libs/EzVisualz/_impl/Dropshadow.luau +148 -0
- package/examples/game/libs/EzVisualz/_impl/Gradient.luau +452 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +16 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Chrome.luau +16 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Death.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Electric.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Fire.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Galaxy.luau +11 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Ghost.luau +16 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Gold.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Green.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Ice.luau +14 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Lava.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Matrix.luau +19 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Neon.luau +12 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Oceanic.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Rainbow.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Silver.luau +12 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Sunset.luau +11 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/Zebra.luau +18 -0
- package/examples/game/libs/EzVisualz/_impl/GradientTemplates/init.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/LICENSE.md +21 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Bubblegum.luau +36 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/ChromeStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/DeathStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/ElectricStroke.luau +54 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/FireStroke.luau +29 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GalaxyStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Ghost.luau +10 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GhostStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Gold.luau +10 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GoldStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/GreenOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/IceStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Lava.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/LavaStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Matrix.luau +21 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/NeonStroke.luau +30 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/OceanicStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Rainbow.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/RainbowOutline.luau +23 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/RainbowStroke.luau +13 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Shine.luau +48 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/ShineOutline.luau +66 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Silver.luau +10 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/SilverStroke.luau +15 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/SunsetStroke.luau +31 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/WaveStroke.luau +33 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/Zebra.luau +21 -0
- package/examples/game/libs/EzVisualz/_impl/Presets/init.luau +9 -0
- package/examples/game/libs/EzVisualz/_impl/Stroke.luau +167 -0
- package/examples/game/libs/EzVisualz/_impl/Util.luau +7 -0
- package/examples/game/libs/EzVisualz/_impl/init.luau +319 -0
- package/examples/game/libs/EzVisualz/_impl/wally.lock +8 -0
- package/examples/game/libs/EzVisualz/_impl/wally.toml +8 -0
- package/examples/game/libs/EzVisualz/init.luau +9 -0
- package/examples/game/libs/EzVisualz/wally.lock +8 -0
- package/examples/game/libs/EzVisualz/wally.toml +8 -0
- package/examples/game/libs/FormatNumber/LICENSE.md +25 -0
- package/examples/game/libs/FormatNumber/Main/DecimalFormatSymbols.lua +43 -0
- package/examples/game/libs/FormatNumber/Main/IntegerWidth.lua +41 -0
- package/examples/game/libs/FormatNumber/Main/Notation.lua +116 -0
- package/examples/game/libs/FormatNumber/Main/Precision.lua +179 -0
- package/examples/game/libs/FormatNumber/Main/init.lua +199 -0
- package/examples/game/libs/FormatNumber/Simple/init.lua +76 -0
- package/examples/game/libs/FormatNumber/Version.lua +82 -0
- package/examples/game/libs/FormatNumber/_impl/LICENSE.md +25 -0
- package/examples/game/libs/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +43 -0
- package/examples/game/libs/FormatNumber/_impl/Main/IntegerWidth.lua +41 -0
- package/examples/game/libs/FormatNumber/_impl/Main/Notation.lua +116 -0
- package/examples/game/libs/FormatNumber/_impl/Main/Precision.lua +179 -0
- package/examples/game/libs/FormatNumber/_impl/Main/init.lua +199 -0
- package/examples/game/libs/FormatNumber/_impl/Simple/init.lua +76 -0
- package/examples/game/libs/FormatNumber/_impl/Version.lua +82 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/class.lua +204 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/decimal_conversion.lua +30 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/enums.lua +55 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/format.lua +342 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/formatter_settings.lua +160 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/init.lua +8 -0
- package/examples/game/libs/FormatNumber/_impl/_internal/skeleton.lua +541 -0
- package/examples/game/libs/FormatNumber/_impl/init.lua +20 -0
- package/examples/game/libs/FormatNumber/_internal/class.lua +204 -0
- package/examples/game/libs/FormatNumber/_internal/decimal_conversion.lua +30 -0
- package/examples/game/libs/FormatNumber/_internal/enums.lua +55 -0
- package/examples/game/libs/FormatNumber/_internal/format.lua +342 -0
- package/examples/game/libs/FormatNumber/_internal/formatter_settings.lua +160 -0
- package/examples/game/libs/FormatNumber/_internal/init.lua +8 -0
- package/examples/game/libs/FormatNumber/_internal/skeleton.lua +541 -0
- package/examples/game/libs/FormatNumber/init.lua +20 -0
- package/examples/game/libs/FormatNumber/init.luau +20 -0
- package/examples/game/libs/Fusion/Animation/ExternalTime.luau +84 -0
- package/examples/game/libs/Fusion/Animation/Spring.luau +313 -0
- package/examples/game/libs/Fusion/Animation/Stopwatch.luau +128 -0
- package/examples/game/libs/Fusion/Animation/Tween.luau +178 -0
- package/examples/game/libs/Fusion/Animation/getTweenDuration.luau +27 -0
- package/examples/game/libs/Fusion/Animation/getTweenRatio.luau +47 -0
- package/examples/game/libs/Fusion/Animation/lerpType.luau +164 -0
- package/examples/game/libs/Fusion/Animation/packType.luau +100 -0
- package/examples/game/libs/Fusion/Animation/springCoefficients.luau +80 -0
- package/examples/game/libs/Fusion/Animation/unpackType.luau +103 -0
- package/examples/game/libs/Fusion/Colour/Oklab.luau +70 -0
- package/examples/game/libs/Fusion/Colour/sRGB.luau +47 -0
- package/examples/game/libs/Fusion/External.luau +156 -0
- package/examples/game/libs/Fusion/ExternalDebug.luau +70 -0
- package/examples/game/libs/Fusion/Graph/Observer.luau +111 -0
- package/examples/game/libs/Fusion/Graph/castToGraph.luau +29 -0
- package/examples/game/libs/Fusion/Graph/change.luau +81 -0
- package/examples/game/libs/Fusion/Graph/depend.luau +33 -0
- package/examples/game/libs/Fusion/Graph/evaluate.luau +56 -0
- package/examples/game/libs/Fusion/Instances/Attribute.luau +58 -0
- package/examples/game/libs/Fusion/Instances/AttributeChange.luau +47 -0
- package/examples/game/libs/Fusion/Instances/AttributeOut.luau +63 -0
- package/examples/game/libs/Fusion/Instances/Child.luau +21 -0
- package/examples/game/libs/Fusion/Instances/Children.luau +148 -0
- package/examples/game/libs/Fusion/Instances/Hydrate.luau +29 -0
- package/examples/game/libs/Fusion/Instances/New.luau +48 -0
- package/examples/game/libs/Fusion/Instances/OnChange.luau +50 -0
- package/examples/game/libs/Fusion/Instances/OnEvent.luau +54 -0
- package/examples/game/libs/Fusion/Instances/Out.luau +69 -0
- package/examples/game/libs/Fusion/Instances/Tag.luau +61 -0
- package/examples/game/libs/Fusion/Instances/applyInstanceProps.luau +149 -0
- package/examples/game/libs/Fusion/Instances/defaultProps.luau +194 -0
- package/examples/game/libs/Fusion/LICENSE +21 -0
- package/examples/game/libs/Fusion/Logging/formatError.luau +49 -0
- package/examples/game/libs/Fusion/Logging/messages.luau +46 -0
- package/examples/game/libs/Fusion/Logging/parseError.luau +25 -0
- package/examples/game/libs/Fusion/Memory/checkLifetime.luau +134 -0
- package/examples/game/libs/Fusion/Memory/deriveScope.luau +24 -0
- package/examples/game/libs/Fusion/Memory/deriveScopeImpl.luau +40 -0
- package/examples/game/libs/Fusion/Memory/doCleanup.luau +91 -0
- package/examples/game/libs/Fusion/Memory/innerScope.luau +34 -0
- package/examples/game/libs/Fusion/Memory/insert.luau +22 -0
- package/examples/game/libs/Fusion/Memory/needsDestruction.luau +17 -0
- package/examples/game/libs/Fusion/Memory/scoped.luau +24 -0
- package/examples/game/libs/Fusion/RobloxExternal.luau +98 -0
- package/examples/game/libs/Fusion/State/Computed.luau +122 -0
- package/examples/game/libs/Fusion/State/For/Disassembly.luau +207 -0
- package/examples/game/libs/Fusion/State/For/ForTypes.luau +30 -0
- package/examples/game/libs/Fusion/State/For/init.luau +101 -0
- package/examples/game/libs/Fusion/State/ForKeys.luau +88 -0
- package/examples/game/libs/Fusion/State/ForPairs.luau +91 -0
- package/examples/game/libs/Fusion/State/ForValues.luau +88 -0
- package/examples/game/libs/Fusion/State/Value.luau +76 -0
- package/examples/game/libs/Fusion/State/castToState.luau +26 -0
- package/examples/game/libs/Fusion/State/peek.luau +31 -0
- package/examples/game/libs/Fusion/State/updateAll.luau +1 -0
- package/examples/game/libs/Fusion/Types.luau +318 -0
- package/examples/game/libs/Fusion/Utility/Contextual.luau +91 -0
- package/examples/game/libs/Fusion/Utility/Safe.luau +23 -0
- package/examples/game/libs/Fusion/Utility/isSimilar.luau +29 -0
- package/examples/game/libs/Fusion/Utility/merge.luau +35 -0
- package/examples/game/libs/Fusion/Utility/nameOf.luau +35 -0
- package/examples/game/libs/Fusion/Utility/never.luau +14 -0
- package/examples/game/libs/Fusion/Utility/nicknames.luau +11 -0
- package/examples/game/libs/Fusion/Utility/xtypeof.luau +27 -0
- package/examples/game/libs/Fusion/_impl/Animation/ExternalTime.luau +84 -0
- package/examples/game/libs/Fusion/_impl/Animation/Spring.luau +313 -0
- package/examples/game/libs/Fusion/_impl/Animation/Stopwatch.luau +128 -0
- package/examples/game/libs/Fusion/_impl/Animation/Tween.luau +178 -0
- package/examples/game/libs/Fusion/_impl/Animation/getTweenDuration.luau +27 -0
- package/examples/game/libs/Fusion/_impl/Animation/getTweenRatio.luau +47 -0
- package/examples/game/libs/Fusion/_impl/Animation/lerpType.luau +164 -0
- package/examples/game/libs/Fusion/_impl/Animation/packType.luau +100 -0
- package/examples/game/libs/Fusion/_impl/Animation/springCoefficients.luau +80 -0
- package/examples/game/libs/Fusion/_impl/Animation/unpackType.luau +103 -0
- package/examples/game/libs/Fusion/_impl/Colour/Oklab.luau +70 -0
- package/examples/game/libs/Fusion/_impl/Colour/sRGB.luau +47 -0
- package/examples/game/libs/Fusion/_impl/External.luau +156 -0
- package/examples/game/libs/Fusion/_impl/ExternalDebug.luau +70 -0
- package/examples/game/libs/Fusion/_impl/Graph/Observer.luau +111 -0
- package/examples/game/libs/Fusion/_impl/Graph/castToGraph.luau +29 -0
- package/examples/game/libs/Fusion/_impl/Graph/change.luau +81 -0
- package/examples/game/libs/Fusion/_impl/Graph/depend.luau +33 -0
- package/examples/game/libs/Fusion/_impl/Graph/evaluate.luau +56 -0
- package/examples/game/libs/Fusion/_impl/Instances/Attribute.luau +58 -0
- package/examples/game/libs/Fusion/_impl/Instances/AttributeChange.luau +47 -0
- package/examples/game/libs/Fusion/_impl/Instances/AttributeOut.luau +63 -0
- package/examples/game/libs/Fusion/_impl/Instances/Child.luau +21 -0
- package/examples/game/libs/Fusion/_impl/Instances/Children.luau +148 -0
- package/examples/game/libs/Fusion/_impl/Instances/Hydrate.luau +29 -0
- package/examples/game/libs/Fusion/_impl/Instances/New.luau +48 -0
- package/examples/game/libs/Fusion/_impl/Instances/OnChange.luau +50 -0
- package/examples/game/libs/Fusion/_impl/Instances/OnEvent.luau +54 -0
- package/examples/game/libs/Fusion/_impl/Instances/Out.luau +69 -0
- package/examples/game/libs/Fusion/_impl/Instances/Tag.luau +61 -0
- package/examples/game/libs/Fusion/_impl/Instances/applyInstanceProps.luau +149 -0
- package/examples/game/libs/Fusion/_impl/Instances/defaultProps.luau +194 -0
- package/examples/game/libs/Fusion/_impl/LICENSE +21 -0
- package/examples/game/libs/Fusion/_impl/Logging/formatError.luau +49 -0
- package/examples/game/libs/Fusion/_impl/Logging/messages.luau +46 -0
- package/examples/game/libs/Fusion/_impl/Logging/parseError.luau +25 -0
- package/examples/game/libs/Fusion/_impl/Memory/checkLifetime.luau +134 -0
- package/examples/game/libs/Fusion/_impl/Memory/deriveScope.luau +24 -0
- package/examples/game/libs/Fusion/_impl/Memory/deriveScopeImpl.luau +40 -0
- package/examples/game/libs/Fusion/_impl/Memory/doCleanup.luau +91 -0
- package/examples/game/libs/Fusion/_impl/Memory/innerScope.luau +34 -0
- package/examples/game/libs/Fusion/_impl/Memory/insert.luau +22 -0
- package/examples/game/libs/Fusion/_impl/Memory/needsDestruction.luau +17 -0
- package/examples/game/libs/Fusion/_impl/Memory/scoped.luau +24 -0
- package/examples/game/libs/Fusion/_impl/RobloxExternal.luau +98 -0
- package/examples/game/libs/Fusion/_impl/State/Computed.luau +122 -0
- package/examples/game/libs/Fusion/_impl/State/For/Disassembly.luau +207 -0
- package/examples/game/libs/Fusion/_impl/State/For/ForTypes.luau +30 -0
- package/examples/game/libs/Fusion/_impl/State/For/init.luau +101 -0
- package/examples/game/libs/Fusion/_impl/State/ForKeys.luau +88 -0
- package/examples/game/libs/Fusion/_impl/State/ForPairs.luau +91 -0
- package/examples/game/libs/Fusion/_impl/State/ForValues.luau +88 -0
- package/examples/game/libs/Fusion/_impl/State/Value.luau +76 -0
- package/examples/game/libs/Fusion/_impl/State/castToState.luau +26 -0
- package/examples/game/libs/Fusion/_impl/State/peek.luau +31 -0
- package/examples/game/libs/Fusion/_impl/State/updateAll.luau +1 -0
- package/examples/game/libs/Fusion/_impl/Types.luau +318 -0
- package/examples/game/libs/Fusion/_impl/Utility/Contextual.luau +91 -0
- package/examples/game/libs/Fusion/_impl/Utility/Safe.luau +23 -0
- package/examples/game/libs/Fusion/_impl/Utility/isSimilar.luau +29 -0
- package/examples/game/libs/Fusion/_impl/Utility/merge.luau +35 -0
- package/examples/game/libs/Fusion/_impl/Utility/nameOf.luau +35 -0
- package/examples/game/libs/Fusion/_impl/Utility/never.luau +14 -0
- package/examples/game/libs/Fusion/_impl/Utility/nicknames.luau +11 -0
- package/examples/game/libs/Fusion/_impl/Utility/xtypeof.luau +27 -0
- package/examples/game/libs/Fusion/_impl/init.luau +83 -0
- package/examples/game/libs/Fusion/init.luau +27 -0
- package/examples/game/libs/Iris/API.lua +2085 -0
- package/examples/game/libs/Iris/Internal.lua +895 -0
- package/examples/game/libs/Iris/LICENSE.txt +21 -0
- package/examples/game/libs/Iris/PubTypes.lua +43 -0
- package/examples/game/libs/Iris/Types.lua +660 -0
- package/examples/game/libs/Iris/WidgetTypes.lua +521 -0
- package/examples/game/libs/Iris/_impl/API.lua +2085 -0
- package/examples/game/libs/Iris/_impl/Internal.lua +895 -0
- package/examples/game/libs/Iris/_impl/LICENSE.txt +21 -0
- package/examples/game/libs/Iris/_impl/PubTypes.lua +43 -0
- package/examples/game/libs/Iris/_impl/Types.lua +660 -0
- package/examples/game/libs/Iris/_impl/WidgetTypes.lua +521 -0
- package/examples/game/libs/Iris/_impl/config.lua +305 -0
- package/examples/game/libs/Iris/_impl/init.lua +696 -0
- package/examples/game/libs/Iris/_impl/widgets/Button.lua +90 -0
- package/examples/game/libs/Iris/_impl/widgets/Checkbox.lua +115 -0
- package/examples/game/libs/Iris/_impl/widgets/Combo.lua +492 -0
- package/examples/game/libs/Iris/_impl/widgets/Format.lua +140 -0
- package/examples/game/libs/Iris/_impl/widgets/Image.lua +155 -0
- package/examples/game/libs/Iris/_impl/widgets/Input.lua +1232 -0
- package/examples/game/libs/Iris/_impl/widgets/Menu.lua +599 -0
- package/examples/game/libs/Iris/_impl/widgets/Plot.lua +639 -0
- package/examples/game/libs/Iris/_impl/widgets/RadioButton.lua +126 -0
- package/examples/game/libs/Iris/_impl/widgets/Root.lua +143 -0
- package/examples/game/libs/Iris/_impl/widgets/Tab.lua +333 -0
- package/examples/game/libs/Iris/_impl/widgets/Table.lua +635 -0
- package/examples/game/libs/Iris/_impl/widgets/Text.lua +132 -0
- package/examples/game/libs/Iris/_impl/widgets/Tree.lua +287 -0
- package/examples/game/libs/Iris/_impl/widgets/Window.lua +1075 -0
- package/examples/game/libs/Iris/_impl/widgets/init.lua +447 -0
- package/examples/game/libs/Iris/config.lua +305 -0
- package/examples/game/libs/Iris/init.lua +696 -0
- package/examples/game/libs/Iris/init.luau +12 -0
- package/examples/game/libs/Iris/widgets/Button.lua +90 -0
- package/examples/game/libs/Iris/widgets/Checkbox.lua +115 -0
- package/examples/game/libs/Iris/widgets/Combo.lua +492 -0
- package/examples/game/libs/Iris/widgets/Format.lua +140 -0
- package/examples/game/libs/Iris/widgets/Image.lua +155 -0
- package/examples/game/libs/Iris/widgets/Input.lua +1232 -0
- package/examples/game/libs/Iris/widgets/Menu.lua +599 -0
- package/examples/game/libs/Iris/widgets/Plot.lua +639 -0
- package/examples/game/libs/Iris/widgets/RadioButton.lua +126 -0
- package/examples/game/libs/Iris/widgets/Root.lua +143 -0
- package/examples/game/libs/Iris/widgets/Tab.lua +333 -0
- package/examples/game/libs/Iris/widgets/Table.lua +635 -0
- package/examples/game/libs/Iris/widgets/Text.lua +132 -0
- package/examples/game/libs/Iris/widgets/Tree.lua +287 -0
- package/examples/game/libs/Iris/widgets/Window.lua +1075 -0
- package/examples/game/libs/Iris/widgets/init.lua +447 -0
- package/examples/game/libs/Janitor/FastDefer.luau +33 -0
- package/examples/game/libs/Janitor/LICENSE +21 -0
- package/examples/game/libs/Janitor/_impl/FastDefer.luau +33 -0
- package/examples/game/libs/Janitor/_impl/LICENSE +21 -0
- package/examples/game/libs/Janitor/_impl/init.luau +999 -0
- package/examples/game/libs/Janitor/init.luau +15 -0
- package/examples/game/libs/MathUtils/init.luau +100 -0
- package/examples/game/libs/Module3D/LICENSE +21 -0
- package/examples/game/libs/Module3D/_impl/LICENSE +21 -0
- package/examples/game/libs/Module3D/_impl/init.luau +269 -0
- package/examples/game/libs/Module3D/init.luau +14 -0
- package/examples/game/libs/Net/init.luau +125 -0
- package/examples/game/libs/Net/src/codec.luau +153 -0
- package/examples/game/libs/Occlude/init.luau +54 -0
- package/examples/game/libs/Promise/LICENSE +21 -0
- package/examples/game/libs/Promise/_impl/LICENSE +21 -0
- package/examples/game/libs/Promise/_impl/init.lua +1991 -0
- package/examples/game/libs/Promise/init.lua +1990 -0
- package/examples/game/libs/Promise/init.luau +13 -0
- package/examples/game/libs/Promise/types.luau +46 -0
- package/examples/game/libs/SOURCES.md +22 -0
- package/examples/game/libs/Spring/LICENSE +201 -0
- package/examples/game/libs/Spring/_impl/LICENSE +201 -0
- package/examples/game/libs/Spring/_impl/init.luau +111 -0
- package/examples/game/libs/Spring/init.luau +24 -0
- package/examples/game/libs/StateMachine/Classes/State.lua +375 -0
- package/examples/game/libs/StateMachine/Classes/Transition.lua +336 -0
- package/examples/game/libs/StateMachine/Functions/deepCopy.lua +19 -0
- package/examples/game/libs/StateMachine/Functions/mergeTables.lua +22 -0
- package/examples/game/libs/StateMachine/LICENSE +19 -0
- package/examples/game/libs/StateMachine/Vendor/Signal.lua +386 -0
- package/examples/game/libs/StateMachine/Vendor/Trove.lua +188 -0
- package/examples/game/libs/StateMachine/_impl/Classes/State.lua +375 -0
- package/examples/game/libs/StateMachine/_impl/Classes/Transition.lua +336 -0
- package/examples/game/libs/StateMachine/_impl/Functions/deepCopy.lua +19 -0
- package/examples/game/libs/StateMachine/_impl/Functions/mergeTables.lua +22 -0
- package/examples/game/libs/StateMachine/_impl/LICENSE +19 -0
- package/examples/game/libs/StateMachine/_impl/Vendor/Signal.lua +386 -0
- package/examples/game/libs/StateMachine/_impl/Vendor/Trove.lua +188 -0
- package/examples/game/libs/StateMachine/_impl/init.lua +595 -0
- package/examples/game/libs/StateMachine/init.lua +595 -0
- package/examples/game/libs/StateMachine/init.luau +10 -0
- package/examples/game/libs/StickyBillboard/init.luau +167 -0
- package/examples/game/libs/TopbarPlus/Attribute.lua +35 -0
- package/examples/game/libs/TopbarPlus/Elements/Caption.lua +316 -0
- package/examples/game/libs/TopbarPlus/Elements/Container.lua +215 -0
- package/examples/game/libs/TopbarPlus/Elements/Dropdown.lua +315 -0
- package/examples/game/libs/TopbarPlus/Elements/Indicator.lua +91 -0
- package/examples/game/libs/TopbarPlus/Elements/Menu.lua +180 -0
- package/examples/game/libs/TopbarPlus/Elements/Notice.lua +113 -0
- package/examples/game/libs/TopbarPlus/Elements/Selection.lua +49 -0
- package/examples/game/libs/TopbarPlus/Elements/Widget.lua +437 -0
- package/examples/game/libs/TopbarPlus/Features/Gamepad.lua +201 -0
- package/examples/game/libs/TopbarPlus/Features/Overflow.lua +360 -0
- package/examples/game/libs/TopbarPlus/Features/Themes/Classic.lua +27 -0
- package/examples/game/libs/TopbarPlus/Features/Themes/Default.lua +75 -0
- package/examples/game/libs/TopbarPlus/Features/Themes/init.lua +353 -0
- package/examples/game/libs/TopbarPlus/LICENSE +381 -0
- package/examples/game/libs/TopbarPlus/Packages/GoodSignal.lua +182 -0
- package/examples/game/libs/TopbarPlus/Packages/Janitor.lua +322 -0
- package/examples/game/libs/TopbarPlus/Reference.lua +30 -0
- package/examples/game/libs/TopbarPlus/Types.lua +477 -0
- package/examples/game/libs/TopbarPlus/Utility.lua +462 -0
- package/examples/game/libs/TopbarPlus/VERSION.lua +51 -0
- package/examples/game/libs/TopbarPlus/_impl/Attribute.lua +35 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Caption.lua +316 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Container.lua +215 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Dropdown.lua +315 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Indicator.lua +91 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Menu.lua +180 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Notice.lua +113 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Selection.lua +49 -0
- package/examples/game/libs/TopbarPlus/_impl/Elements/Widget.lua +437 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Gamepad.lua +201 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Overflow.lua +360 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Themes/Classic.lua +27 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Themes/Default.lua +75 -0
- package/examples/game/libs/TopbarPlus/_impl/Features/Themes/init.lua +353 -0
- package/examples/game/libs/TopbarPlus/_impl/LICENSE +381 -0
- package/examples/game/libs/TopbarPlus/_impl/Packages/GoodSignal.lua +182 -0
- package/examples/game/libs/TopbarPlus/_impl/Packages/Janitor.lua +322 -0
- package/examples/game/libs/TopbarPlus/_impl/Reference.lua +30 -0
- package/examples/game/libs/TopbarPlus/_impl/Types.lua +477 -0
- package/examples/game/libs/TopbarPlus/_impl/Utility.lua +462 -0
- package/examples/game/libs/TopbarPlus/_impl/VERSION.lua +51 -0
- package/examples/game/libs/TopbarPlus/_impl/init.lua +1249 -0
- package/examples/game/libs/TopbarPlus/init.lua +1249 -0
- package/examples/game/libs/TopbarPlus/init.luau +8 -0
- package/examples/game/libs/Twinkle/init.luau +157 -0
- package/examples/game/libs/VfxUtil/init.luau +164 -0
- package/examples/game/src/client/hud.client.clpp +54 -0
- package/examples/game/src/client/init.client.clpp +6 -0
- package/examples/game/src/server/combat.server.clpp +85 -0
- package/examples/game/src/server/leaderstats.server.clpp +28 -0
- package/examples/game/src/shared/PlayerData.clh +20 -0
- package/examples/game/src/shared/config.clp +6 -0
- package/examples/game/src/shared/features.clp +100 -0
- package/generated/cli.js +46 -24
- package/generated/clpp/contract.js +6 -0
- package/generated/clpp/index.js +29 -0
- package/generated/clpp/paths.js +119 -0
- package/generated/clpp/postprocess.js +78 -0
- package/generated/clpp/runner.js +253 -0
- package/generated/compile.js +41 -134
- package/generated/intellisense.js +35 -166
- package/generated/libs.js +1 -1
- package/generated/lsp.js +6 -37
- package/generated/preprocess.js +8 -179
- package/generated/system-understander.js +1 -1
- package/generated/transpile.js +6 -49
- package/generated/utils/project.js +89 -61
- package/include/clpp/datatypes.clh +585 -0
- package/include/clpp/generated/enums.clh +4920 -0
- package/include/clpp/generated/instances.clh +12489 -0
- package/include/clpp/libs/chrono.clh +26 -0
- package/include/clpp/libs/cmdr.clh +16 -0
- package/include/clpp/libs/dataservice.clh +138 -0
- package/include/clpp/libs/display.clh +12 -0
- package/include/clpp/libs/ezvisual.clh +16 -0
- package/include/clpp/libs/formatnumber.clh +14 -0
- package/include/clpp/libs/fusion.clh +41 -0
- package/include/clpp/libs/iris.clh +40 -0
- package/include/clpp/libs/janitor.clh +38 -0
- package/include/clpp/libs/math.clh +14 -0
- package/include/clpp/libs/module3d.clh +23 -0
- package/include/clpp/libs/net.clh +40 -0
- package/include/clpp/libs/promise.clh +28 -0
- package/include/clpp/libs/spring.clh +17 -0
- package/include/clpp/libs/statemachine.clh +18 -0
- package/include/clpp/libs/stickybillboard.clh +13 -0
- package/include/clpp/libs/topbarplus.clh +28 -0
- package/include/clpp/libs/twinkle.clh +15 -0
- package/include/clpp/libs/vfx.clh +13 -0
- package/include/clpp/libs.clh +24 -0
- package/include/clpp/roblox.clh +32 -0
- package/package.json +13 -30
- package/src/cli.ts +45 -25
- package/src/clpp/contract.ts +51 -0
- package/src/clpp/index.ts +18 -0
- package/src/clpp/paths.ts +115 -0
- package/src/clpp/postprocess.ts +93 -0
- package/src/clpp/runner.ts +272 -0
- package/src/compile.ts +43 -144
- package/src/intellisense.ts +33 -173
- package/src/libs.ts +1 -1
- package/src/lsp.ts +6 -35
- package/src/preprocess.ts +8 -180
- package/src/system-understander.ts +1 -1
- package/src/transpile.ts +17 -51
- package/src/types.ts +1 -0
- package/src/utils/project.ts +106 -68
- package/templates/game/.vscode/extensions.json +2 -4
- package/templates/game/.vscode/settings.json +6 -14
- package/templates/game/include/clpp/datatypes.clh +585 -0
- package/templates/game/include/clpp/generated/enums.clh +4920 -0
- package/templates/game/include/clpp/generated/instances.clh +12489 -0
- package/templates/game/include/clpp/libs/chrono.clh +26 -0
- package/templates/game/include/clpp/libs/cmdr.clh +16 -0
- package/templates/game/include/clpp/libs/dataservice.clh +138 -0
- package/templates/game/include/clpp/libs/display.clh +12 -0
- package/templates/game/include/clpp/libs/ezvisual.clh +16 -0
- package/templates/game/include/clpp/libs/formatnumber.clh +14 -0
- package/templates/game/include/clpp/libs/fusion.clh +41 -0
- package/templates/game/include/clpp/libs/iris.clh +40 -0
- package/templates/game/include/clpp/libs/janitor.clh +38 -0
- package/templates/game/include/clpp/libs/math.clh +14 -0
- package/templates/game/include/clpp/libs/module3d.clh +23 -0
- package/templates/game/include/clpp/libs/net.clh +40 -0
- package/templates/game/include/clpp/libs/promise.clh +28 -0
- package/templates/game/include/clpp/libs/spring.clh +17 -0
- package/templates/game/include/clpp/libs/statemachine.clh +18 -0
- package/templates/game/include/clpp/libs/stickybillboard.clh +13 -0
- package/templates/game/include/clpp/libs/topbarplus.clh +28 -0
- package/templates/game/include/clpp/libs/twinkle.clh +15 -0
- package/templates/game/include/clpp/libs/vfx.clh +13 -0
- package/templates/game/include/clpp/libs.clh +24 -0
- package/templates/game/include/clpp/roblox.clh +32 -0
- package/templates/game/libs/ArrayIndexer/init.luau +144 -0
- package/templates/game/libs/Chrono/Client/ClientClock.luau +202 -0
- package/templates/game/libs/Chrono/Client/InterpolationBuffer.luau +74 -0
- package/templates/game/libs/Chrono/Client/ModelResolver.luau +53 -0
- package/templates/game/libs/Chrono/Client/Player.luau +113 -0
- package/templates/game/libs/Chrono/Client/Receiver.luau +395 -0
- package/templates/game/libs/Chrono/Client/Replicate.luau +333 -0
- package/templates/game/libs/Chrono/Client/Sender.luau +205 -0
- package/templates/game/libs/Chrono/LICENSE +21 -0
- package/templates/game/libs/Chrono/Server/EntityGrid.luau +299 -0
- package/templates/game/libs/Chrono/Server/Player.luau +141 -0
- package/templates/game/libs/Chrono/Server/Receiver.luau +287 -0
- package/templates/game/libs/Chrono/Server/Replicate.luau +415 -0
- package/templates/game/libs/Chrono/Server/Sender.luau +306 -0
- package/templates/game/libs/Chrono/Server/ServerClock.luau +50 -0
- package/templates/game/libs/Chrono/Shared/ApplyMounts.luau +137 -0
- package/templates/game/libs/Chrono/Shared/Bin.luau +31 -0
- package/templates/game/libs/Chrono/Shared/ClockUnwrap.luau +70 -0
- package/templates/game/libs/Chrono/Shared/Config.luau +264 -0
- package/templates/game/libs/Chrono/Shared/Entity.luau +1016 -0
- package/templates/game/libs/Chrono/Shared/Events.luau +39 -0
- package/templates/game/libs/Chrono/Shared/Holder.luau +210 -0
- package/templates/game/libs/Chrono/Shared/InterpolationMath.luau +51 -0
- package/templates/game/libs/Chrono/Shared/ModelHelper.luau +122 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/Death.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/Heartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/Replicate.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/templates/game/libs/Chrono/Shared/ReplicationRules.luau +122 -0
- package/templates/game/libs/Chrono/Shared/Signal.luau +219 -0
- package/templates/game/libs/Chrono/Shared/Snapshots.luau +218 -0
- package/templates/game/libs/Chrono/Shared/Stats.luau +204 -0
- package/templates/game/libs/Chrono/Shared/Ticker.luau +112 -0
- package/templates/game/libs/Chrono/Shared/Types.luau +247 -0
- package/templates/game/libs/Chrono/Shared/Warn.luau +33 -0
- package/templates/game/libs/Chrono/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Client/ClientClock.luau +202 -0
- package/templates/game/libs/Chrono/_impl/Client/InterpolationBuffer.luau +74 -0
- package/templates/game/libs/Chrono/_impl/Client/ModelResolver.luau +53 -0
- package/templates/game/libs/Chrono/_impl/Client/Player.luau +113 -0
- package/templates/game/libs/Chrono/_impl/Client/Receiver.luau +395 -0
- package/templates/game/libs/Chrono/_impl/Client/Replicate.luau +333 -0
- package/templates/game/libs/Chrono/_impl/Client/Sender.luau +205 -0
- package/templates/game/libs/Chrono/_impl/LICENSE +21 -0
- package/templates/game/libs/Chrono/_impl/Server/EntityGrid.luau +299 -0
- package/templates/game/libs/Chrono/_impl/Server/Player.luau +141 -0
- package/templates/game/libs/Chrono/_impl/Server/Receiver.luau +287 -0
- package/templates/game/libs/Chrono/_impl/Server/Replicate.luau +415 -0
- package/templates/game/libs/Chrono/_impl/Server/Sender.luau +306 -0
- package/templates/game/libs/Chrono/_impl/Server/ServerClock.luau +50 -0
- package/templates/game/libs/Chrono/_impl/Shared/ApplyMounts.luau +137 -0
- package/templates/game/libs/Chrono/_impl/Shared/Bin.luau +31 -0
- package/templates/game/libs/Chrono/_impl/Shared/ClockUnwrap.luau +70 -0
- package/templates/game/libs/Chrono/_impl/Shared/Config.luau +264 -0
- package/templates/game/libs/Chrono/_impl/Shared/Entity.luau +1016 -0
- package/templates/game/libs/Chrono/_impl/Shared/Events.luau +39 -0
- package/templates/game/libs/Chrono/_impl/Shared/Holder.luau +210 -0
- package/templates/game/libs/Chrono/_impl/Shared/InterpolationMath.luau +51 -0
- package/templates/game/libs/Chrono/_impl/Shared/ModelHelper.luau +122 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientClockRelay.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientHeartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ClientLoaded.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/Death.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/Heartbeat.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/Replicate.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/ReplicateFull.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/Remotes/SafeReplicate.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/Shared/ReplicationRules.luau +122 -0
- package/templates/game/libs/Chrono/_impl/Shared/Signal.luau +219 -0
- package/templates/game/libs/Chrono/_impl/Shared/Snapshots.luau +218 -0
- package/templates/game/libs/Chrono/_impl/Shared/Stats.luau +204 -0
- package/templates/game/libs/Chrono/_impl/Shared/Ticker.luau +112 -0
- package/templates/game/libs/Chrono/_impl/Shared/Types.luau +247 -0
- package/templates/game/libs/Chrono/_impl/Shared/Warn.luau +33 -0
- package/templates/game/libs/Chrono/_impl/Shared/_CUSTOM_MODEL_REP/init.model.json +3 -0
- package/templates/game/libs/Chrono/_impl/init.luau +96 -0
- package/templates/game/libs/Chrono/init.luau +14 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/announce.luau +21 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/ban.luau +59 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/banServer.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kick.luau +19 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/kill.luau +13 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/killServer.luau +13 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/respawn.luau +15 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/teleport.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/unban.luau +26 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/blink.luau +35 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/fetch.luau +12 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/position.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/thru.luau +50 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/uptime.luau +6 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Debug/version.luau +12 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/alias.luau +22 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/bind.luau +104 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/clear.luau +20 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/echo.luau +17 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/edit.luau +75 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/exit.luau +11 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/history.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/hover.luau +21 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/len.luau +16 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/math.luau +36 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/pick.luau +21 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/rand.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/replace.luau +32 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/resolve.luau +32 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/run.luau +20 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/runLines.luau +34 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/runif.luau +95 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/unbind.luau +27 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/var.luau +29 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varServer.luau +37 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varSet.luau +30 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/templates/game/libs/Cmdr/BuiltInCommands/help.luau +96 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/BrickColor.luau +258 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Color3.luau +59 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Command.luau +23 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Duration.luau +111 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/JSON.luau +13 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/MathOperator.luau +43 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Player.luau +36 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/PlayerId.luau +66 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Primitives.luau +145 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/StoredKey.luau +33 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Team.luau +49 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Type.luau +23 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/URL.luau +18 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/UserInput.luau +32 -0
- package/templates/game/libs/Cmdr/BuiltInTypes/Vector.luau +58 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/templates/game/libs/Cmdr/CmdrClient/CmdrInterface/init.luau +18 -0
- package/templates/game/libs/Cmdr/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Argument.luau +395 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Command.luau +415 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Registry.luau +717 -0
- package/templates/game/libs/Cmdr/CmdrClient/Shared/Util.luau +879 -0
- package/templates/game/libs/Cmdr/CmdrClient/init.luau +377 -0
- package/templates/game/libs/Cmdr/LICENSE +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announce.luau +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/announceServer.luau +17 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/ban.luau +59 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/banServer.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlace.luau +35 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/gotoPlaceServer.luau +17 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kick.luau +19 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kickServer.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/kill.luau +13 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/killServer.luau +13 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawn.luau +15 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/respawnServer.luau +7 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleport.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/teleportServer.luau +26 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unban.luau +26 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Admin/unbanServer.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/blink.luau +35 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetch.luau +12 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/fetchServer.luau +7 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstance.luau +20 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/getPlayerPlaceInstanceServer.luau +28 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/position.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/thru.luau +50 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptime.luau +6 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/uptimeServer.luau +12 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Debug/version.luau +12 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/alias.luau +22 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/bind.luau +104 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/clear.luau +20 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/convertTimestamp.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/echo.luau +17 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/edit.luau +75 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/exit.luau +11 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/history.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/hover.luau +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayDecode.luau +25 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/jsonArrayEncode.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/len.luau +16 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/math.luau +36 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/pick.luau +21 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/rand.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/replace.luau +32 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/resolve.luau +32 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/run.luau +20 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runLines.luau +34 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/runif.luau +95 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/unbind.luau +27 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/var.luau +29 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varServer.luau +37 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSet.luau +30 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/Utility/varSetServer.luau +29 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInCommands/help.luau +96 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/BrickColor.luau +258 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Color3.luau +59 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Command.luau +23 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Duration.luau +111 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/JSON.luau +13 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/MathOperator.luau +43 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Player.luau +36 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/PlayerId.luau +66 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Primitives.luau +145 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/StoredKey.luau +33 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Team.luau +49 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Type.luau +23 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/URL.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/UserInput.luau +32 -0
- package/templates/game/libs/Cmdr/_impl/BuiltInTypes/Vector.luau +58 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/AutoComplete.luau +240 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/CreateGui.luau +227 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/Window.luau +713 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/CmdrInterface/init.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/DefaultEventHandlers.luau +18 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Argument.luau +395 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/HasCharacter.luau +39 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/IsDataStoreAvailable.luau +36 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxArrayLength.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/MaxStringLength.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NonEmptyString.luau +10 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/BuiltInGuards/NotEquals.luau +8 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Command.luau +415 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Dispatcher.luau +407 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Registry.luau +717 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/Shared/Util.luau +879 -0
- package/templates/game/libs/Cmdr/_impl/CmdrClient/init.luau +377 -0
- package/templates/game/libs/Cmdr/_impl/LICENSE +21 -0
- package/templates/game/libs/Cmdr/_impl/init.luau +178 -0
- package/templates/game/libs/Cmdr/init.luau +8 -0
- package/templates/game/libs/DataService/Client.luau +209 -0
- package/templates/game/libs/DataService/Data.luau +886 -0
- package/templates/game/libs/DataService/Enum.luau +6 -0
- package/templates/game/libs/DataService/Enums.luau +10 -0
- package/templates/game/libs/DataService/Packages/quicknet/DataTypes.luau +70 -0
- package/templates/game/libs/DataService/Packages/quicknet/Enums.luau +85 -0
- package/templates/game/libs/DataService/Packages/quicknet/EnumsToNativeTypes.luau +57 -0
- package/templates/game/libs/DataService/Packages/quicknet/Parser.luau +355 -0
- package/templates/game/libs/DataService/Packages/quicknet/QuickNet.luau +953 -0
- package/templates/game/libs/DataService/Packages/quicknet/Serialize.luau +2020 -0
- package/templates/game/libs/DataService/Packages/quicknet/Types.luau +72 -0
- package/templates/game/libs/DataService/Packages/quicknet/init.luau +1 -0
- package/templates/game/libs/DataService/Packages/signal/init.luau +433 -0
- package/templates/game/libs/DataService/Path.luau +236 -0
- package/templates/game/libs/DataService/ProfileStore.luau +2243 -0
- package/templates/game/libs/DataService/Replicator.luau +172 -0
- package/templates/game/libs/DataService/Server.luau +412 -0
- package/templates/game/libs/DataService/init.luau +204 -0
- package/templates/game/libs/Display/LICENSE +201 -0
- package/templates/game/libs/Display/_impl/LICENSE +201 -0
- package/templates/game/libs/Display/_impl/init.luau +269 -0
- package/templates/game/libs/Display/_impl/option.luau +237 -0
- package/templates/game/libs/Display/init.luau +10 -0
- package/templates/game/libs/Display/option.luau +237 -0
- package/templates/game/libs/EzVisualz/Dropshadow.luau +148 -0
- package/templates/game/libs/EzVisualz/Gradient.luau +452 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Bubblegum.luau +16 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Chrome.luau +16 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Death.luau +15 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Electric.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Fire.luau +13 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Galaxy.luau +11 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Ghost.luau +16 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Gold.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Green.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Ice.luau +14 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Lava.luau +15 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Matrix.luau +19 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Neon.luau +12 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Oceanic.luau +15 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Rainbow.luau +13 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Silver.luau +12 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Sunset.luau +11 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/Zebra.luau +18 -0
- package/templates/game/libs/EzVisualz/GradientTemplates/init.luau +9 -0
- package/templates/game/libs/EzVisualz/LICENSE.md +21 -0
- package/templates/game/libs/EzVisualz/Presets/Bubblegum.luau +36 -0
- package/templates/game/libs/EzVisualz/Presets/ChromeStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/DeathStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/ElectricStroke.luau +54 -0
- package/templates/game/libs/EzVisualz/Presets/FireStroke.luau +29 -0
- package/templates/game/libs/EzVisualz/Presets/GalaxyStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/Presets/Ghost.luau +10 -0
- package/templates/game/libs/EzVisualz/Presets/GhostStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/Gold.luau +10 -0
- package/templates/game/libs/EzVisualz/Presets/GoldStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/GreenOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/Presets/IceStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/Lava.luau +9 -0
- package/templates/game/libs/EzVisualz/Presets/LavaStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/Presets/Matrix.luau +21 -0
- package/templates/game/libs/EzVisualz/Presets/NeonStroke.luau +30 -0
- package/templates/game/libs/EzVisualz/Presets/OceanicStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/Rainbow.luau +9 -0
- package/templates/game/libs/EzVisualz/Presets/RainbowOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/Presets/RainbowStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/Presets/Shine.luau +48 -0
- package/templates/game/libs/EzVisualz/Presets/ShineOutline.luau +66 -0
- package/templates/game/libs/EzVisualz/Presets/Silver.luau +10 -0
- package/templates/game/libs/EzVisualz/Presets/SilverStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/Presets/SunsetStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/Presets/WaveStroke.luau +33 -0
- package/templates/game/libs/EzVisualz/Presets/Zebra.luau +21 -0
- package/templates/game/libs/EzVisualz/Presets/init.luau +9 -0
- package/templates/game/libs/EzVisualz/Stroke.luau +167 -0
- package/templates/game/libs/EzVisualz/Util.luau +7 -0
- package/templates/game/libs/EzVisualz/_impl/Dropshadow.luau +148 -0
- package/templates/game/libs/EzVisualz/_impl/Gradient.luau +452 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Bubblegum.luau +16 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Chrome.luau +16 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Death.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Electric.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Fire.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Galaxy.luau +11 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Ghost.luau +16 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Gold.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Green.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Ice.luau +14 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Lava.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Matrix.luau +19 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Neon.luau +12 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Oceanic.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Rainbow.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Silver.luau +12 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Sunset.luau +11 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/Zebra.luau +18 -0
- package/templates/game/libs/EzVisualz/_impl/GradientTemplates/init.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/LICENSE.md +21 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Bubblegum.luau +36 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/ChromeStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/DeathStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/ElectricStroke.luau +54 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/FireStroke.luau +29 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GalaxyStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Ghost.luau +10 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GhostStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Gold.luau +10 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GoldStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/GreenOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/IceStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Lava.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/LavaStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Matrix.luau +21 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/NeonStroke.luau +30 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/OceanicStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Rainbow.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/RainbowOutline.luau +23 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/RainbowStroke.luau +13 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Shine.luau +48 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/ShineOutline.luau +66 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Silver.luau +10 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/SilverStroke.luau +15 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/SunsetStroke.luau +31 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/WaveStroke.luau +33 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/Zebra.luau +21 -0
- package/templates/game/libs/EzVisualz/_impl/Presets/init.luau +9 -0
- package/templates/game/libs/EzVisualz/_impl/Stroke.luau +167 -0
- package/templates/game/libs/EzVisualz/_impl/Util.luau +7 -0
- package/templates/game/libs/EzVisualz/_impl/init.luau +319 -0
- package/templates/game/libs/EzVisualz/_impl/wally.lock +8 -0
- package/templates/game/libs/EzVisualz/_impl/wally.toml +8 -0
- package/templates/game/libs/EzVisualz/init.luau +9 -0
- package/templates/game/libs/EzVisualz/wally.lock +8 -0
- package/templates/game/libs/EzVisualz/wally.toml +8 -0
- package/templates/game/libs/FormatNumber/LICENSE.md +25 -0
- package/templates/game/libs/FormatNumber/Main/DecimalFormatSymbols.lua +43 -0
- package/templates/game/libs/FormatNumber/Main/IntegerWidth.lua +41 -0
- package/templates/game/libs/FormatNumber/Main/Notation.lua +116 -0
- package/templates/game/libs/FormatNumber/Main/Precision.lua +179 -0
- package/templates/game/libs/FormatNumber/Main/init.lua +199 -0
- package/templates/game/libs/FormatNumber/Simple/init.lua +76 -0
- package/templates/game/libs/FormatNumber/Version.lua +82 -0
- package/templates/game/libs/FormatNumber/_impl/LICENSE.md +25 -0
- package/templates/game/libs/FormatNumber/_impl/Main/DecimalFormatSymbols.lua +43 -0
- package/templates/game/libs/FormatNumber/_impl/Main/IntegerWidth.lua +41 -0
- package/templates/game/libs/FormatNumber/_impl/Main/Notation.lua +116 -0
- package/templates/game/libs/FormatNumber/_impl/Main/Precision.lua +179 -0
- package/templates/game/libs/FormatNumber/_impl/Main/init.lua +199 -0
- package/templates/game/libs/FormatNumber/_impl/Simple/init.lua +76 -0
- package/templates/game/libs/FormatNumber/_impl/Version.lua +82 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/class.lua +204 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/decimal_conversion.lua +30 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/enums.lua +55 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/format.lua +342 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/formatter_settings.lua +160 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/init.lua +8 -0
- package/templates/game/libs/FormatNumber/_impl/_internal/skeleton.lua +541 -0
- package/templates/game/libs/FormatNumber/_impl/init.lua +20 -0
- package/templates/game/libs/FormatNumber/_internal/class.lua +204 -0
- package/templates/game/libs/FormatNumber/_internal/decimal_conversion.lua +30 -0
- package/templates/game/libs/FormatNumber/_internal/enums.lua +55 -0
- package/templates/game/libs/FormatNumber/_internal/format.lua +342 -0
- package/templates/game/libs/FormatNumber/_internal/formatter_settings.lua +160 -0
- package/templates/game/libs/FormatNumber/_internal/init.lua +8 -0
- package/templates/game/libs/FormatNumber/_internal/skeleton.lua +541 -0
- package/templates/game/libs/FormatNumber/init.lua +20 -0
- package/templates/game/libs/FormatNumber/init.luau +20 -0
- package/templates/game/libs/Fusion/Animation/ExternalTime.luau +84 -0
- package/templates/game/libs/Fusion/Animation/Spring.luau +313 -0
- package/templates/game/libs/Fusion/Animation/Stopwatch.luau +128 -0
- package/templates/game/libs/Fusion/Animation/Tween.luau +178 -0
- package/templates/game/libs/Fusion/Animation/getTweenDuration.luau +27 -0
- package/templates/game/libs/Fusion/Animation/getTweenRatio.luau +47 -0
- package/templates/game/libs/Fusion/Animation/lerpType.luau +164 -0
- package/templates/game/libs/Fusion/Animation/packType.luau +100 -0
- package/templates/game/libs/Fusion/Animation/springCoefficients.luau +80 -0
- package/templates/game/libs/Fusion/Animation/unpackType.luau +103 -0
- package/templates/game/libs/Fusion/Colour/Oklab.luau +70 -0
- package/templates/game/libs/Fusion/Colour/sRGB.luau +47 -0
- package/templates/game/libs/Fusion/External.luau +156 -0
- package/templates/game/libs/Fusion/ExternalDebug.luau +70 -0
- package/templates/game/libs/Fusion/Graph/Observer.luau +111 -0
- package/templates/game/libs/Fusion/Graph/castToGraph.luau +29 -0
- package/templates/game/libs/Fusion/Graph/change.luau +81 -0
- package/templates/game/libs/Fusion/Graph/depend.luau +33 -0
- package/templates/game/libs/Fusion/Graph/evaluate.luau +56 -0
- package/templates/game/libs/Fusion/Instances/Attribute.luau +58 -0
- package/templates/game/libs/Fusion/Instances/AttributeChange.luau +47 -0
- package/templates/game/libs/Fusion/Instances/AttributeOut.luau +63 -0
- package/templates/game/libs/Fusion/Instances/Child.luau +21 -0
- package/templates/game/libs/Fusion/Instances/Children.luau +148 -0
- package/templates/game/libs/Fusion/Instances/Hydrate.luau +29 -0
- package/templates/game/libs/Fusion/Instances/New.luau +48 -0
- package/templates/game/libs/Fusion/Instances/OnChange.luau +50 -0
- package/templates/game/libs/Fusion/Instances/OnEvent.luau +54 -0
- package/templates/game/libs/Fusion/Instances/Out.luau +69 -0
- package/templates/game/libs/Fusion/Instances/Tag.luau +61 -0
- package/templates/game/libs/Fusion/Instances/applyInstanceProps.luau +149 -0
- package/templates/game/libs/Fusion/Instances/defaultProps.luau +194 -0
- package/templates/game/libs/Fusion/LICENSE +21 -0
- package/templates/game/libs/Fusion/Logging/formatError.luau +49 -0
- package/templates/game/libs/Fusion/Logging/messages.luau +46 -0
- package/templates/game/libs/Fusion/Logging/parseError.luau +25 -0
- package/templates/game/libs/Fusion/Memory/checkLifetime.luau +134 -0
- package/templates/game/libs/Fusion/Memory/deriveScope.luau +24 -0
- package/templates/game/libs/Fusion/Memory/deriveScopeImpl.luau +40 -0
- package/templates/game/libs/Fusion/Memory/doCleanup.luau +91 -0
- package/templates/game/libs/Fusion/Memory/innerScope.luau +34 -0
- package/templates/game/libs/Fusion/Memory/insert.luau +22 -0
- package/templates/game/libs/Fusion/Memory/needsDestruction.luau +17 -0
- package/templates/game/libs/Fusion/Memory/scoped.luau +24 -0
- package/templates/game/libs/Fusion/RobloxExternal.luau +98 -0
- package/templates/game/libs/Fusion/State/Computed.luau +122 -0
- package/templates/game/libs/Fusion/State/For/Disassembly.luau +207 -0
- package/templates/game/libs/Fusion/State/For/ForTypes.luau +30 -0
- package/templates/game/libs/Fusion/State/For/init.luau +101 -0
- package/templates/game/libs/Fusion/State/ForKeys.luau +88 -0
- package/templates/game/libs/Fusion/State/ForPairs.luau +91 -0
- package/templates/game/libs/Fusion/State/ForValues.luau +88 -0
- package/templates/game/libs/Fusion/State/Value.luau +76 -0
- package/templates/game/libs/Fusion/State/castToState.luau +26 -0
- package/templates/game/libs/Fusion/State/peek.luau +31 -0
- package/templates/game/libs/Fusion/State/updateAll.luau +1 -0
- package/templates/game/libs/Fusion/Types.luau +318 -0
- package/templates/game/libs/Fusion/Utility/Contextual.luau +91 -0
- package/templates/game/libs/Fusion/Utility/Safe.luau +23 -0
- package/templates/game/libs/Fusion/Utility/isSimilar.luau +29 -0
- package/templates/game/libs/Fusion/Utility/merge.luau +35 -0
- package/templates/game/libs/Fusion/Utility/nameOf.luau +35 -0
- package/templates/game/libs/Fusion/Utility/never.luau +14 -0
- package/templates/game/libs/Fusion/Utility/nicknames.luau +11 -0
- package/templates/game/libs/Fusion/Utility/xtypeof.luau +27 -0
- package/templates/game/libs/Fusion/_impl/Animation/ExternalTime.luau +84 -0
- package/templates/game/libs/Fusion/_impl/Animation/Spring.luau +313 -0
- package/templates/game/libs/Fusion/_impl/Animation/Stopwatch.luau +128 -0
- package/templates/game/libs/Fusion/_impl/Animation/Tween.luau +178 -0
- package/templates/game/libs/Fusion/_impl/Animation/getTweenDuration.luau +27 -0
- package/templates/game/libs/Fusion/_impl/Animation/getTweenRatio.luau +47 -0
- package/templates/game/libs/Fusion/_impl/Animation/lerpType.luau +164 -0
- package/templates/game/libs/Fusion/_impl/Animation/packType.luau +100 -0
- package/templates/game/libs/Fusion/_impl/Animation/springCoefficients.luau +80 -0
- package/templates/game/libs/Fusion/_impl/Animation/unpackType.luau +103 -0
- package/templates/game/libs/Fusion/_impl/Colour/Oklab.luau +70 -0
- package/templates/game/libs/Fusion/_impl/Colour/sRGB.luau +47 -0
- package/templates/game/libs/Fusion/_impl/External.luau +156 -0
- package/templates/game/libs/Fusion/_impl/ExternalDebug.luau +70 -0
- package/templates/game/libs/Fusion/_impl/Graph/Observer.luau +111 -0
- package/templates/game/libs/Fusion/_impl/Graph/castToGraph.luau +29 -0
- package/templates/game/libs/Fusion/_impl/Graph/change.luau +81 -0
- package/templates/game/libs/Fusion/_impl/Graph/depend.luau +33 -0
- package/templates/game/libs/Fusion/_impl/Graph/evaluate.luau +56 -0
- package/templates/game/libs/Fusion/_impl/Instances/Attribute.luau +58 -0
- package/templates/game/libs/Fusion/_impl/Instances/AttributeChange.luau +47 -0
- package/templates/game/libs/Fusion/_impl/Instances/AttributeOut.luau +63 -0
- package/templates/game/libs/Fusion/_impl/Instances/Child.luau +21 -0
- package/templates/game/libs/Fusion/_impl/Instances/Children.luau +148 -0
- package/templates/game/libs/Fusion/_impl/Instances/Hydrate.luau +29 -0
- package/templates/game/libs/Fusion/_impl/Instances/New.luau +48 -0
- package/templates/game/libs/Fusion/_impl/Instances/OnChange.luau +50 -0
- package/templates/game/libs/Fusion/_impl/Instances/OnEvent.luau +54 -0
- package/templates/game/libs/Fusion/_impl/Instances/Out.luau +69 -0
- package/templates/game/libs/Fusion/_impl/Instances/Tag.luau +61 -0
- package/templates/game/libs/Fusion/_impl/Instances/applyInstanceProps.luau +149 -0
- package/templates/game/libs/Fusion/_impl/Instances/defaultProps.luau +194 -0
- package/templates/game/libs/Fusion/_impl/LICENSE +21 -0
- package/templates/game/libs/Fusion/_impl/Logging/formatError.luau +49 -0
- package/templates/game/libs/Fusion/_impl/Logging/messages.luau +46 -0
- package/templates/game/libs/Fusion/_impl/Logging/parseError.luau +25 -0
- package/templates/game/libs/Fusion/_impl/Memory/checkLifetime.luau +134 -0
- package/templates/game/libs/Fusion/_impl/Memory/deriveScope.luau +24 -0
- package/templates/game/libs/Fusion/_impl/Memory/deriveScopeImpl.luau +40 -0
- package/templates/game/libs/Fusion/_impl/Memory/doCleanup.luau +91 -0
- package/templates/game/libs/Fusion/_impl/Memory/innerScope.luau +34 -0
- package/templates/game/libs/Fusion/_impl/Memory/insert.luau +22 -0
- package/templates/game/libs/Fusion/_impl/Memory/needsDestruction.luau +17 -0
- package/templates/game/libs/Fusion/_impl/Memory/scoped.luau +24 -0
- package/templates/game/libs/Fusion/_impl/RobloxExternal.luau +98 -0
- package/templates/game/libs/Fusion/_impl/State/Computed.luau +122 -0
- package/templates/game/libs/Fusion/_impl/State/For/Disassembly.luau +207 -0
- package/templates/game/libs/Fusion/_impl/State/For/ForTypes.luau +30 -0
- package/templates/game/libs/Fusion/_impl/State/For/init.luau +101 -0
- package/templates/game/libs/Fusion/_impl/State/ForKeys.luau +88 -0
- package/templates/game/libs/Fusion/_impl/State/ForPairs.luau +91 -0
- package/templates/game/libs/Fusion/_impl/State/ForValues.luau +88 -0
- package/templates/game/libs/Fusion/_impl/State/Value.luau +76 -0
- package/templates/game/libs/Fusion/_impl/State/castToState.luau +26 -0
- package/templates/game/libs/Fusion/_impl/State/peek.luau +31 -0
- package/templates/game/libs/Fusion/_impl/State/updateAll.luau +1 -0
- package/templates/game/libs/Fusion/_impl/Types.luau +318 -0
- package/templates/game/libs/Fusion/_impl/Utility/Contextual.luau +91 -0
- package/templates/game/libs/Fusion/_impl/Utility/Safe.luau +23 -0
- package/templates/game/libs/Fusion/_impl/Utility/isSimilar.luau +29 -0
- package/templates/game/libs/Fusion/_impl/Utility/merge.luau +35 -0
- package/templates/game/libs/Fusion/_impl/Utility/nameOf.luau +35 -0
- package/templates/game/libs/Fusion/_impl/Utility/never.luau +14 -0
- package/templates/game/libs/Fusion/_impl/Utility/nicknames.luau +11 -0
- package/templates/game/libs/Fusion/_impl/Utility/xtypeof.luau +27 -0
- package/templates/game/libs/Fusion/_impl/init.luau +83 -0
- package/templates/game/libs/Fusion/init.luau +27 -0
- package/templates/game/libs/Iris/API.lua +2085 -0
- package/templates/game/libs/Iris/Internal.lua +895 -0
- package/templates/game/libs/Iris/LICENSE.txt +21 -0
- package/templates/game/libs/Iris/PubTypes.lua +43 -0
- package/templates/game/libs/Iris/Types.lua +660 -0
- package/templates/game/libs/Iris/WidgetTypes.lua +521 -0
- package/templates/game/libs/Iris/_impl/API.lua +2085 -0
- package/templates/game/libs/Iris/_impl/Internal.lua +895 -0
- package/templates/game/libs/Iris/_impl/LICENSE.txt +21 -0
- package/templates/game/libs/Iris/_impl/PubTypes.lua +43 -0
- package/templates/game/libs/Iris/_impl/Types.lua +660 -0
- package/templates/game/libs/Iris/_impl/WidgetTypes.lua +521 -0
- package/templates/game/libs/Iris/_impl/config.lua +305 -0
- package/templates/game/libs/Iris/_impl/init.lua +696 -0
- package/templates/game/libs/Iris/_impl/widgets/Button.lua +90 -0
- package/templates/game/libs/Iris/_impl/widgets/Checkbox.lua +115 -0
- package/templates/game/libs/Iris/_impl/widgets/Combo.lua +492 -0
- package/templates/game/libs/Iris/_impl/widgets/Format.lua +140 -0
- package/templates/game/libs/Iris/_impl/widgets/Image.lua +155 -0
- package/templates/game/libs/Iris/_impl/widgets/Input.lua +1232 -0
- package/templates/game/libs/Iris/_impl/widgets/Menu.lua +599 -0
- package/templates/game/libs/Iris/_impl/widgets/Plot.lua +639 -0
- package/templates/game/libs/Iris/_impl/widgets/RadioButton.lua +126 -0
- package/templates/game/libs/Iris/_impl/widgets/Root.lua +143 -0
- package/templates/game/libs/Iris/_impl/widgets/Tab.lua +333 -0
- package/templates/game/libs/Iris/_impl/widgets/Table.lua +635 -0
- package/templates/game/libs/Iris/_impl/widgets/Text.lua +132 -0
- package/templates/game/libs/Iris/_impl/widgets/Tree.lua +287 -0
- package/templates/game/libs/Iris/_impl/widgets/Window.lua +1075 -0
- package/templates/game/libs/Iris/_impl/widgets/init.lua +447 -0
- package/templates/game/libs/Iris/config.lua +305 -0
- package/templates/game/libs/Iris/init.lua +696 -0
- package/templates/game/libs/Iris/init.luau +12 -0
- package/templates/game/libs/Iris/widgets/Button.lua +90 -0
- package/templates/game/libs/Iris/widgets/Checkbox.lua +115 -0
- package/templates/game/libs/Iris/widgets/Combo.lua +492 -0
- package/templates/game/libs/Iris/widgets/Format.lua +140 -0
- package/templates/game/libs/Iris/widgets/Image.lua +155 -0
- package/templates/game/libs/Iris/widgets/Input.lua +1232 -0
- package/templates/game/libs/Iris/widgets/Menu.lua +599 -0
- package/templates/game/libs/Iris/widgets/Plot.lua +639 -0
- package/templates/game/libs/Iris/widgets/RadioButton.lua +126 -0
- package/templates/game/libs/Iris/widgets/Root.lua +143 -0
- package/templates/game/libs/Iris/widgets/Tab.lua +333 -0
- package/templates/game/libs/Iris/widgets/Table.lua +635 -0
- package/templates/game/libs/Iris/widgets/Text.lua +132 -0
- package/templates/game/libs/Iris/widgets/Tree.lua +287 -0
- package/templates/game/libs/Iris/widgets/Window.lua +1075 -0
- package/templates/game/libs/Iris/widgets/init.lua +447 -0
- package/templates/game/libs/Janitor/FastDefer.luau +33 -0
- package/templates/game/libs/Janitor/LICENSE +21 -0
- package/templates/game/libs/Janitor/_impl/FastDefer.luau +33 -0
- package/templates/game/libs/Janitor/_impl/LICENSE +21 -0
- package/templates/game/libs/Janitor/_impl/init.luau +999 -0
- package/templates/game/libs/Janitor/init.luau +15 -0
- package/templates/game/libs/MathUtils/init.luau +100 -0
- package/templates/game/libs/Module3D/LICENSE +21 -0
- package/templates/game/libs/Module3D/_impl/LICENSE +21 -0
- package/templates/game/libs/Module3D/_impl/init.luau +269 -0
- package/templates/game/libs/Module3D/init.luau +14 -0
- package/templates/game/libs/Net/init.luau +125 -0
- package/templates/game/libs/Net/src/codec.luau +153 -0
- package/templates/game/libs/Occlude/init.luau +54 -0
- package/templates/game/libs/Promise/LICENSE +21 -0
- package/templates/game/libs/Promise/_impl/LICENSE +21 -0
- package/templates/game/libs/Promise/_impl/init.lua +1991 -0
- package/templates/game/libs/Promise/init.lua +1990 -0
- package/templates/game/libs/Promise/init.luau +13 -0
- package/templates/game/libs/Promise/types.luau +46 -0
- package/templates/game/libs/SOURCES.md +22 -0
- package/templates/game/libs/Spring/LICENSE +201 -0
- package/templates/game/libs/Spring/_impl/LICENSE +201 -0
- package/templates/game/libs/Spring/_impl/init.luau +111 -0
- package/templates/game/libs/Spring/init.luau +24 -0
- package/templates/game/libs/StateMachine/Classes/State.lua +375 -0
- package/templates/game/libs/StateMachine/Classes/Transition.lua +336 -0
- package/templates/game/libs/StateMachine/Functions/deepCopy.lua +19 -0
- package/templates/game/libs/StateMachine/Functions/mergeTables.lua +22 -0
- package/templates/game/libs/StateMachine/LICENSE +19 -0
- package/templates/game/libs/StateMachine/Vendor/Signal.lua +386 -0
- package/templates/game/libs/StateMachine/Vendor/Trove.lua +188 -0
- package/templates/game/libs/StateMachine/_impl/Classes/State.lua +375 -0
- package/templates/game/libs/StateMachine/_impl/Classes/Transition.lua +336 -0
- package/templates/game/libs/StateMachine/_impl/Functions/deepCopy.lua +19 -0
- package/templates/game/libs/StateMachine/_impl/Functions/mergeTables.lua +22 -0
- package/templates/game/libs/StateMachine/_impl/LICENSE +19 -0
- package/templates/game/libs/StateMachine/_impl/Vendor/Signal.lua +386 -0
- package/templates/game/libs/StateMachine/_impl/Vendor/Trove.lua +188 -0
- package/templates/game/libs/StateMachine/_impl/init.lua +595 -0
- package/templates/game/libs/StateMachine/init.lua +595 -0
- package/templates/game/libs/StateMachine/init.luau +10 -0
- package/templates/game/libs/StickyBillboard/init.luau +167 -0
- package/templates/game/libs/TopbarPlus/Attribute.lua +35 -0
- package/templates/game/libs/TopbarPlus/Elements/Caption.lua +316 -0
- package/templates/game/libs/TopbarPlus/Elements/Container.lua +215 -0
- package/templates/game/libs/TopbarPlus/Elements/Dropdown.lua +315 -0
- package/templates/game/libs/TopbarPlus/Elements/Indicator.lua +91 -0
- package/templates/game/libs/TopbarPlus/Elements/Menu.lua +180 -0
- package/templates/game/libs/TopbarPlus/Elements/Notice.lua +113 -0
- package/templates/game/libs/TopbarPlus/Elements/Selection.lua +49 -0
- package/templates/game/libs/TopbarPlus/Elements/Widget.lua +437 -0
- package/templates/game/libs/TopbarPlus/Features/Gamepad.lua +201 -0
- package/templates/game/libs/TopbarPlus/Features/Overflow.lua +360 -0
- package/templates/game/libs/TopbarPlus/Features/Themes/Classic.lua +27 -0
- package/templates/game/libs/TopbarPlus/Features/Themes/Default.lua +75 -0
- package/templates/game/libs/TopbarPlus/Features/Themes/init.lua +353 -0
- package/templates/game/libs/TopbarPlus/LICENSE +381 -0
- package/templates/game/libs/TopbarPlus/Packages/GoodSignal.lua +182 -0
- package/templates/game/libs/TopbarPlus/Packages/Janitor.lua +322 -0
- package/templates/game/libs/TopbarPlus/Reference.lua +30 -0
- package/templates/game/libs/TopbarPlus/Types.lua +477 -0
- package/templates/game/libs/TopbarPlus/Utility.lua +462 -0
- package/templates/game/libs/TopbarPlus/VERSION.lua +51 -0
- package/templates/game/libs/TopbarPlus/_impl/Attribute.lua +35 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Caption.lua +316 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Container.lua +215 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Dropdown.lua +315 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Indicator.lua +91 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Menu.lua +180 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Notice.lua +113 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Selection.lua +49 -0
- package/templates/game/libs/TopbarPlus/_impl/Elements/Widget.lua +437 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Gamepad.lua +201 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Overflow.lua +360 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Themes/Classic.lua +27 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Themes/Default.lua +75 -0
- package/templates/game/libs/TopbarPlus/_impl/Features/Themes/init.lua +353 -0
- package/templates/game/libs/TopbarPlus/_impl/LICENSE +381 -0
- package/templates/game/libs/TopbarPlus/_impl/Packages/GoodSignal.lua +182 -0
- package/templates/game/libs/TopbarPlus/_impl/Packages/Janitor.lua +322 -0
- package/templates/game/libs/TopbarPlus/_impl/Reference.lua +30 -0
- package/templates/game/libs/TopbarPlus/_impl/Types.lua +477 -0
- package/templates/game/libs/TopbarPlus/_impl/Utility.lua +462 -0
- package/templates/game/libs/TopbarPlus/_impl/VERSION.lua +51 -0
- package/templates/game/libs/TopbarPlus/_impl/init.lua +1249 -0
- package/templates/game/libs/TopbarPlus/init.lua +1249 -0
- package/templates/game/libs/TopbarPlus/init.luau +8 -0
- package/templates/game/libs/Twinkle/init.luau +157 -0
- package/templates/game/libs/VfxUtil/init.luau +164 -0
- package/templates/game/src/client/init.client.clpp +6 -0
- package/templates/game/src/server/leaderstats.server.clpp +29 -0
- package/templates/game/src/shared/config.clp +6 -0
- package/docs/README.md +0 -35
- package/docs/architecture.md +0 -92
- package/docs/cli.md +0 -91
- package/docs/comparison.md +0 -37
- package/docs/config.md +0 -31
- package/docs/cpp-advanced.md +0 -78
- package/docs/cpp-const.md +0 -52
- package/docs/cpp-organization.md +0 -63
- package/docs/cpp-safety.md +0 -62
- package/docs/cpp-types.md +0 -68
- package/docs/examples/_category_.json +0 -5
- package/docs/examples/combat.md +0 -239
- package/docs/examples/data-boot.md +0 -98
- package/docs/examples/hud.md +0 -96
- package/docs/examples/index.md +0 -45
- package/docs/examples/leaderstats.md +0 -69
- package/docs/examples/shop.md +0 -122
- package/docs/examples/sword.md +0 -108
- package/docs/getting-started.md +0 -179
- package/docs/intellisense.md +0 -48
- package/docs/intro.md +0 -37
- package/docs/libraries/_category_.json +0 -5
- package/docs/libraries/dataservice.md +0 -107
- package/docs/libraries/index.md +0 -23
- package/docs/libraries/janitor.md +0 -65
- package/docs/libraries/more.md +0 -81
- package/docs/libraries/net.md +0 -35
- package/docs/libraries/promise.md +0 -27
- package/docs/libraries/ui.md +0 -76
- package/docs/oop/_category_.json +0 -5
- package/docs/oop/file-tags.md +0 -48
- package/docs/oop/index.md +0 -35
- package/docs/oop/modules.md +0 -88
- package/docs/oop/services.md +0 -76
- package/docs/print-cout.md +0 -91
- package/docs/roblox-api.md +0 -29
- package/docs/syntax.md +0 -262
- package/examples/game/.clangd +0 -25
- package/examples/game/compile_flags.txt +0 -6
- package/examples/game/src/client/hud.client.cpp +0 -12
- package/examples/game/src/client/init.client.cpp +0 -6
- package/examples/game/src/server/combat.server.cpp +0 -23
- package/examples/game/src/server/leaderstats.server.cpp +0 -29
- package/examples/game/src/shared/config.cpp +0 -5
- package/examples/game/src/shared/config.h +0 -5
- package/include/cluaupp/libs/chrono.hpp +0 -26
- package/include/cluaupp/libs/cmdr.hpp +0 -16
- package/include/cluaupp/libs/ezvisual.hpp +0 -18
- package/include/cluaupp/libs/promise.hpp +0 -30
- package/include/cluaupp/libs/topbarplus.hpp +0 -29
- package/include/cluaupp/libs/twinkle.hpp +0 -15
- package/include/cluaupp/libs/vfx.hpp +0 -13
- package/include/cluaupp/libs.hpp +0 -25
- package/include/cluaupp/roblox.hpp +0 -47
- package/src/architecture.ts +0 -500
- package/src/ast.ts +0 -37
- package/src/emit.ts +0 -609
- package/src/emitter/luau-codegen.ts +0 -187
- package/src/emitter/translators.ts +0 -168
- package/src/headers.ts +0 -233
- package/src/layout.ts +0 -114
- package/src/lex.ts +0 -158
- package/src/parse.ts +0 -729
- package/src/parser/collector.ts +0 -148
- package/src/parser/index.ts +0 -27
- package/src/tree-sitter-cpp.d.ts +0 -4
- package/src/understand.ts +0 -322
- package/templates/game/src/client/init.client.cpp +0 -6
- package/templates/game/src/server/leaderstats.server.cpp +0 -29
- package/templates/game/src/shared/config.cpp +0 -5
- package/templates/game/src/shared/config.h +0 -5
- /package/{include/cluaupp/generated/enums.hpp → examples/game/include/clpp/generated/enums.clh} +0 -0
- /package/{include/cluaupp/libs/math.hpp → examples/game/include/clpp/libs/math.clh} +0 -0
package/src/parse.ts
DELETED
|
@@ -1,729 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { tokenize } from "./lex.js";
|
|
3
|
-
|
|
4
|
-
function parse(source, fileName) {
|
|
5
|
-
const tokens = tokenize(source);
|
|
6
|
-
let i = 0;
|
|
7
|
-
|
|
8
|
-
const peek = (offset = 0) => tokens[i + offset] || tokens[tokens.length - 1];
|
|
9
|
-
const at = (type, value) => {
|
|
10
|
-
const token = peek();
|
|
11
|
-
if (type && token.type !== type) {
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
if (value !== undefined && token.value !== value) {
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
return true;
|
|
18
|
-
};
|
|
19
|
-
const eat = (type, value) => {
|
|
20
|
-
if (!at(type, value)) {
|
|
21
|
-
const token = peek();
|
|
22
|
-
throw error(`expected ${value || type}, got '${token.value}'`, token);
|
|
23
|
-
}
|
|
24
|
-
const token = peek();
|
|
25
|
-
i += 1;
|
|
26
|
-
return token;
|
|
27
|
-
};
|
|
28
|
-
const error = (message, token = peek()) => {
|
|
29
|
-
const err = new Error(`${fileName}:${token.line}:${token.col}: ${message}`);
|
|
30
|
-
err.line = token.line;
|
|
31
|
-
err.col = token.col;
|
|
32
|
-
return err;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
const skipSemicolons = () => {
|
|
36
|
-
while (at("op", ";")) {
|
|
37
|
-
i += 1;
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
const skipTemplate = () => {
|
|
42
|
-
if (!at("op", "<")) {
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
eat("op", "<");
|
|
46
|
-
const name = eat("ident").value;
|
|
47
|
-
eat("op", ">");
|
|
48
|
-
return name;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
const CAST_NAMES = new Set(["static_cast", "const_cast", "reinterpret_cast", "dynamic_cast"]);
|
|
52
|
-
|
|
53
|
-
function skipSpecifiers() {
|
|
54
|
-
let isConst = false;
|
|
55
|
-
while (at("kw", "static") || at("kw", "inline") || at("kw", "constexpr") || at("kw", "const")) {
|
|
56
|
-
if (at("kw", "constexpr") || at("kw", "const")) {
|
|
57
|
-
isConst = true;
|
|
58
|
-
}
|
|
59
|
-
i += 1;
|
|
60
|
-
}
|
|
61
|
-
return isConst;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
function looksLikePrimaryStart() {
|
|
65
|
-
if (at("ident") || at("number") || at("string")) {
|
|
66
|
-
return true;
|
|
67
|
-
}
|
|
68
|
-
if (at("kw", "true") || at("kw", "false") || at("kw", "nullptr") || at("kw", "new")) {
|
|
69
|
-
return true;
|
|
70
|
-
}
|
|
71
|
-
return at("op", "(") || at("op", "{") || at("op", "[") || at("op", "-") || at("op", "!");
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
function parseLambda() {
|
|
75
|
-
eat("op", "[");
|
|
76
|
-
while (!at("eof") && !at("op", "]")) {
|
|
77
|
-
i += 1;
|
|
78
|
-
}
|
|
79
|
-
eat("op", "]");
|
|
80
|
-
const params = [];
|
|
81
|
-
if (at("op", "(")) {
|
|
82
|
-
i += 1;
|
|
83
|
-
if (!at("op", ")")) {
|
|
84
|
-
params.push(parseParam());
|
|
85
|
-
while (at("op", ",")) {
|
|
86
|
-
i += 1;
|
|
87
|
-
params.push(parseParam());
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
eat("op", ")");
|
|
91
|
-
}
|
|
92
|
-
const body = parseBlock();
|
|
93
|
-
return { type: "lambda", params, body };
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
function parseNamedCast() {
|
|
97
|
-
i += 1;
|
|
98
|
-
eat("op", "<");
|
|
99
|
-
const valueType = parseType() || "any";
|
|
100
|
-
eat("op", ">");
|
|
101
|
-
const args = parseArgs();
|
|
102
|
-
return { type: "cast", valueType, argument: args[0] || { type: "null" } };
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
function parseParenPrimary() {
|
|
106
|
-
eat("op", "(");
|
|
107
|
-
const saved = i;
|
|
108
|
-
skipSpecifiers();
|
|
109
|
-
const valueType = parseType();
|
|
110
|
-
if (valueType && at("op", ")")) {
|
|
111
|
-
i += 1;
|
|
112
|
-
if (looksLikePrimaryStart()) {
|
|
113
|
-
return { type: "cast", valueType, argument: parseUnary() };
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
i = saved;
|
|
117
|
-
const expr = parseExpr();
|
|
118
|
-
eat("op", ")");
|
|
119
|
-
return expr;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
function eatGeneric() {
|
|
123
|
-
let text = "";
|
|
124
|
-
let depth = 0;
|
|
125
|
-
while (!at("eof")) {
|
|
126
|
-
const token = peek();
|
|
127
|
-
if (at("op", "<")) {
|
|
128
|
-
depth += 1;
|
|
129
|
-
text += "<";
|
|
130
|
-
i += 1;
|
|
131
|
-
continue;
|
|
132
|
-
}
|
|
133
|
-
if (at("op", ">")) {
|
|
134
|
-
depth -= 1;
|
|
135
|
-
text += ">";
|
|
136
|
-
i += 1;
|
|
137
|
-
if (depth === 0) {
|
|
138
|
-
return text;
|
|
139
|
-
}
|
|
140
|
-
continue;
|
|
141
|
-
}
|
|
142
|
-
if (token.type === "string") {
|
|
143
|
-
text += `"${token.value}"`;
|
|
144
|
-
} else {
|
|
145
|
-
text += token.value;
|
|
146
|
-
}
|
|
147
|
-
i += 1;
|
|
148
|
-
}
|
|
149
|
-
return text;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
function parseType() {
|
|
153
|
-
if (at("kw", "const")) {
|
|
154
|
-
i += 1;
|
|
155
|
-
}
|
|
156
|
-
let name = null;
|
|
157
|
-
if (at("kw", "auto") || at("kw", "void") || at("kw", "int") || at("kw", "bool") || at("kw", "float") || at("kw", "double")) {
|
|
158
|
-
name = eat("kw").value;
|
|
159
|
-
} else if (at("ident")) {
|
|
160
|
-
name = eat("ident").value;
|
|
161
|
-
while (at("op", "::")) {
|
|
162
|
-
i += 1;
|
|
163
|
-
if (at("ident")) {
|
|
164
|
-
name += `::${eat("ident").value}`;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
} else {
|
|
168
|
-
return null;
|
|
169
|
-
}
|
|
170
|
-
if (at("op", "<")) {
|
|
171
|
-
name += eatGeneric();
|
|
172
|
-
}
|
|
173
|
-
while (at("op", "*")) {
|
|
174
|
-
i += 1;
|
|
175
|
-
}
|
|
176
|
-
return name;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
function parseArgs() {
|
|
180
|
-
eat("op", "(");
|
|
181
|
-
const args = [];
|
|
182
|
-
if (!at("op", ")")) {
|
|
183
|
-
args.push(parseExpr());
|
|
184
|
-
while (at("op", ",")) {
|
|
185
|
-
i += 1;
|
|
186
|
-
args.push(parseExpr());
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
eat("op", ")");
|
|
190
|
-
return args;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
function parseInitList() {
|
|
194
|
-
eat("op", "{");
|
|
195
|
-
const fields = [];
|
|
196
|
-
while (!at("op", "}") && !at("eof")) {
|
|
197
|
-
if (at("op", ".")) {
|
|
198
|
-
i += 1;
|
|
199
|
-
const name = eat("ident").value;
|
|
200
|
-
eat("op", "=");
|
|
201
|
-
fields.push({ name, value: parseExpr() });
|
|
202
|
-
} else {
|
|
203
|
-
throw error("expected designated initializer .Field = value");
|
|
204
|
-
}
|
|
205
|
-
if (at("op", ",")) {
|
|
206
|
-
i += 1;
|
|
207
|
-
} else {
|
|
208
|
-
break;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
eat("op", "}");
|
|
212
|
-
return { type: "initlist", fields };
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
function parsePrimary() {
|
|
216
|
-
if (at("kw", "true") || at("kw", "false")) {
|
|
217
|
-
return { type: "bool", value: eat("kw").value === "true" };
|
|
218
|
-
}
|
|
219
|
-
if (at("kw", "nullptr")) {
|
|
220
|
-
i += 1;
|
|
221
|
-
return { type: "null" };
|
|
222
|
-
}
|
|
223
|
-
if (at("number")) {
|
|
224
|
-
return { type: "number", value: eat("number").value };
|
|
225
|
-
}
|
|
226
|
-
if (at("string")) {
|
|
227
|
-
return { type: "string", value: eat("string").value };
|
|
228
|
-
}
|
|
229
|
-
if (at("kw", "new")) {
|
|
230
|
-
i += 1;
|
|
231
|
-
const className = eat("ident").value;
|
|
232
|
-
const args = at("op", "(") ? parseArgs() : [];
|
|
233
|
-
return { type: "new", className, args };
|
|
234
|
-
}
|
|
235
|
-
if (at("ident", "GetService") && peek(1).value === "<") {
|
|
236
|
-
i += 1;
|
|
237
|
-
const service = skipTemplate();
|
|
238
|
-
eat("op", "(");
|
|
239
|
-
eat("op", ")");
|
|
240
|
-
return { type: "getService", service };
|
|
241
|
-
}
|
|
242
|
-
if (at("ident") && CAST_NAMES.has(peek().value) && peek(1).value === "<") {
|
|
243
|
-
return parseNamedCast();
|
|
244
|
-
}
|
|
245
|
-
if (at("ident")) {
|
|
246
|
-
return { type: "ident", name: eat("ident").value };
|
|
247
|
-
}
|
|
248
|
-
if (at("op", "[")) {
|
|
249
|
-
return parseLambda();
|
|
250
|
-
}
|
|
251
|
-
if (at("op", "(")) {
|
|
252
|
-
return parseParenPrimary();
|
|
253
|
-
}
|
|
254
|
-
if (at("op", "{")) {
|
|
255
|
-
return parseInitList();
|
|
256
|
-
}
|
|
257
|
-
throw error("invalid expression");
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
function parseUnary() {
|
|
261
|
-
if (at("op", "-") || at("op", "!")) {
|
|
262
|
-
const op = eat("op").value;
|
|
263
|
-
return { type: "unary", op, argument: parseUnary() };
|
|
264
|
-
}
|
|
265
|
-
return parsePostfix();
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
function parsePostfix() {
|
|
269
|
-
let node = parsePrimary();
|
|
270
|
-
for (;;) {
|
|
271
|
-
if (at("op", "->") || at("op", ".") || at("op", "::")) {
|
|
272
|
-
const access = eat("op").value;
|
|
273
|
-
const name = eat("ident").value;
|
|
274
|
-
if (name === "GetService" && at("op", "<")) {
|
|
275
|
-
const service = skipTemplate();
|
|
276
|
-
eat("op", "(");
|
|
277
|
-
eat("op", ")");
|
|
278
|
-
node = { type: "getService", service };
|
|
279
|
-
continue;
|
|
280
|
-
}
|
|
281
|
-
if (at("op", "(")) {
|
|
282
|
-
node = { type: "call", object: node, name, args: parseArgs(), access };
|
|
283
|
-
} else {
|
|
284
|
-
node = { type: "member", object: node, name, access };
|
|
285
|
-
}
|
|
286
|
-
continue;
|
|
287
|
-
}
|
|
288
|
-
if (at("op", "(") && node.type === "ident") {
|
|
289
|
-
node = { type: "call", object: null, name: node.name, args: parseArgs(), access: "." };
|
|
290
|
-
continue;
|
|
291
|
-
}
|
|
292
|
-
if (at("op", "{") && (node.type === "ident" || node.type === "member")) {
|
|
293
|
-
node = parseInitList();
|
|
294
|
-
continue;
|
|
295
|
-
}
|
|
296
|
-
break;
|
|
297
|
-
}
|
|
298
|
-
return node;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
function parseBinary() {
|
|
302
|
-
let left = parseUnary();
|
|
303
|
-
while (["==", "!=", "<=", ">=", "<", ">", "&&", "||", "+", "-", "*", "/"].includes(peek().value)) {
|
|
304
|
-
const op = eat("op").value;
|
|
305
|
-
const right = parseUnary();
|
|
306
|
-
left = { type: "binary", op, left, right };
|
|
307
|
-
}
|
|
308
|
-
return left;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
function parseShift() {
|
|
312
|
-
let left = parseBinary();
|
|
313
|
-
while (at("op", "<<")) {
|
|
314
|
-
eat("op", "<<");
|
|
315
|
-
const right = parseBinary();
|
|
316
|
-
left = { type: "binary", op: "<<", left, right };
|
|
317
|
-
}
|
|
318
|
-
return left;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
function parseExpr() {
|
|
322
|
-
const left = parseShift();
|
|
323
|
-
if (at("op", "=")) {
|
|
324
|
-
i += 1;
|
|
325
|
-
return { type: "assign", left, right: parseExpr() };
|
|
326
|
-
}
|
|
327
|
-
return left;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
function parseBlock() {
|
|
331
|
-
eat("op", "{");
|
|
332
|
-
const body = [];
|
|
333
|
-
while (!at("op", "}") && !at("eof")) {
|
|
334
|
-
skipSemicolons();
|
|
335
|
-
if (at("op", "}")) {
|
|
336
|
-
break;
|
|
337
|
-
}
|
|
338
|
-
body.push(parseStmt());
|
|
339
|
-
skipSemicolons();
|
|
340
|
-
}
|
|
341
|
-
eat("op", "}");
|
|
342
|
-
return body;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
function parseSwitch() {
|
|
346
|
-
eat("kw", "switch");
|
|
347
|
-
eat("op", "(");
|
|
348
|
-
const discriminant = parseExpr();
|
|
349
|
-
eat("op", ")");
|
|
350
|
-
eat("op", "{");
|
|
351
|
-
const cases = [];
|
|
352
|
-
let current = null;
|
|
353
|
-
const flush = () => {
|
|
354
|
-
if (current) {
|
|
355
|
-
cases.push(current);
|
|
356
|
-
current = null;
|
|
357
|
-
}
|
|
358
|
-
};
|
|
359
|
-
while (!at("eof") && !at("op", "}")) {
|
|
360
|
-
skipSemicolons();
|
|
361
|
-
if (at("op", "}")) {
|
|
362
|
-
break;
|
|
363
|
-
}
|
|
364
|
-
if (at("kw", "case")) {
|
|
365
|
-
i += 1;
|
|
366
|
-
const value = parseExpr();
|
|
367
|
-
eat("op", ":");
|
|
368
|
-
if (current && current.body.length === 0 && !current.isDefault) {
|
|
369
|
-
current.values.push(value);
|
|
370
|
-
} else {
|
|
371
|
-
flush();
|
|
372
|
-
current = { values: [value], body: [], isDefault: false };
|
|
373
|
-
}
|
|
374
|
-
continue;
|
|
375
|
-
}
|
|
376
|
-
if (at("kw", "default")) {
|
|
377
|
-
i += 1;
|
|
378
|
-
eat("op", ":");
|
|
379
|
-
flush();
|
|
380
|
-
current = { values: [], body: [], isDefault: true };
|
|
381
|
-
continue;
|
|
382
|
-
}
|
|
383
|
-
if (!current) {
|
|
384
|
-
throw error("switch body needs case or default before statements");
|
|
385
|
-
}
|
|
386
|
-
if (at("op", "{")) {
|
|
387
|
-
current.body.push(...parseBlock());
|
|
388
|
-
continue;
|
|
389
|
-
}
|
|
390
|
-
current.body.push(parseStmt());
|
|
391
|
-
}
|
|
392
|
-
flush();
|
|
393
|
-
eat("op", "}");
|
|
394
|
-
return { type: "switch", discriminant, cases };
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
function parseIf() {
|
|
398
|
-
eat("kw", "if");
|
|
399
|
-
eat("op", "(");
|
|
400
|
-
const test = parseExpr();
|
|
401
|
-
eat("op", ")");
|
|
402
|
-
const consequent = at("op", "{") ? parseBlock() : [parseStmt()];
|
|
403
|
-
let alternate = null;
|
|
404
|
-
if (at("kw", "else")) {
|
|
405
|
-
i += 1;
|
|
406
|
-
alternate = at("op", "{") ? parseBlock() : [parseStmt()];
|
|
407
|
-
}
|
|
408
|
-
return { type: "if", test, consequent, alternate };
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
function parseFor() {
|
|
412
|
-
eat("kw", "for");
|
|
413
|
-
eat("op", "(");
|
|
414
|
-
if (at("kw", "auto") || at("ident") || at("kw", "int") || at("kw", "const")) {
|
|
415
|
-
const isConst = at("kw", "const");
|
|
416
|
-
if (isConst) {
|
|
417
|
-
i += 1;
|
|
418
|
-
}
|
|
419
|
-
parseType();
|
|
420
|
-
const name = eat("ident").value;
|
|
421
|
-
if (at("op", ":")) {
|
|
422
|
-
i += 1;
|
|
423
|
-
const iter = parseExpr();
|
|
424
|
-
eat("op", ")");
|
|
425
|
-
const body = at("op", "{") ? parseBlock() : [parseStmt()];
|
|
426
|
-
return { type: "foreach", name, iter, body, isConst };
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
throw error("only range-for is supported: for (auto* x : list)");
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
function parseDeclOrExpr() {
|
|
433
|
-
const saved = i;
|
|
434
|
-
const isConst = skipSpecifiers();
|
|
435
|
-
const maybeType = parseType();
|
|
436
|
-
if (maybeType && at("ident") && (peek(1).value === "=" || peek(1).value === ";")) {
|
|
437
|
-
const name = eat("ident").value;
|
|
438
|
-
let value = null;
|
|
439
|
-
if (at("op", "=")) {
|
|
440
|
-
i += 1;
|
|
441
|
-
value = parseExpr();
|
|
442
|
-
}
|
|
443
|
-
return { type: "decl", name, valueType: maybeType, value, isConst: isConst || maybeType === "const" };
|
|
444
|
-
}
|
|
445
|
-
i = saved;
|
|
446
|
-
return { type: "expr", expr: parseExpr() };
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
function parseStmt() {
|
|
450
|
-
if (at("kw", "if")) {
|
|
451
|
-
return parseIf();
|
|
452
|
-
}
|
|
453
|
-
if (at("kw", "switch")) {
|
|
454
|
-
return parseSwitch();
|
|
455
|
-
}
|
|
456
|
-
if (at("kw", "for")) {
|
|
457
|
-
return parseFor();
|
|
458
|
-
}
|
|
459
|
-
if (at("kw", "return")) {
|
|
460
|
-
i += 1;
|
|
461
|
-
const value = at("op", ";") || at("op", "}") ? null : parseExpr();
|
|
462
|
-
return { type: "return", value };
|
|
463
|
-
}
|
|
464
|
-
if (at("kw", "break")) {
|
|
465
|
-
i += 1;
|
|
466
|
-
skipSemicolons();
|
|
467
|
-
return { type: "break" };
|
|
468
|
-
}
|
|
469
|
-
if (at("kw", "while")) {
|
|
470
|
-
i += 1;
|
|
471
|
-
eat("op", "(");
|
|
472
|
-
const test = parseExpr();
|
|
473
|
-
eat("op", ")");
|
|
474
|
-
const body = at("op", "{") ? parseBlock() : [parseStmt()];
|
|
475
|
-
return { type: "while", test, body };
|
|
476
|
-
}
|
|
477
|
-
return parseDeclOrExpr();
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
function parseParam() {
|
|
481
|
-
const valueType = parseType();
|
|
482
|
-
if (at("ident")) {
|
|
483
|
-
return { name: eat("ident").value, valueType };
|
|
484
|
-
}
|
|
485
|
-
return { name: "arg", valueType };
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
function parseQualifiedName() {
|
|
489
|
-
const parts = [eat("ident").value];
|
|
490
|
-
while (at("op", "::")) {
|
|
491
|
-
i += 1;
|
|
492
|
-
parts.push(eat("ident").value);
|
|
493
|
-
}
|
|
494
|
-
return {
|
|
495
|
-
parts,
|
|
496
|
-
name: parts[parts.length - 1],
|
|
497
|
-
owner: parts.length > 1 ? parts.slice(0, -1).join("::") : null,
|
|
498
|
-
};
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
function parseFunction() {
|
|
502
|
-
skipSpecifiers();
|
|
503
|
-
const returnType = parseType();
|
|
504
|
-
if (!returnType || !at("ident")) {
|
|
505
|
-
throw error("invalid function declaration");
|
|
506
|
-
}
|
|
507
|
-
const qualified = parseQualifiedName();
|
|
508
|
-
eat("op", "(");
|
|
509
|
-
const params = [];
|
|
510
|
-
if (!at("op", ")")) {
|
|
511
|
-
params.push(parseParam());
|
|
512
|
-
while (at("op", ",")) {
|
|
513
|
-
i += 1;
|
|
514
|
-
params.push(parseParam());
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
eat("op", ")");
|
|
518
|
-
if (at("op", ";")) {
|
|
519
|
-
i += 1;
|
|
520
|
-
return { type: "proto", name: qualified.name, owner: qualified.owner, returnType, params };
|
|
521
|
-
}
|
|
522
|
-
const body = parseBlock();
|
|
523
|
-
return { type: "function", name: qualified.name, owner: qualified.owner, returnType, params, body };
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
function parseStruct() {
|
|
527
|
-
eat("kw");
|
|
528
|
-
const name = at("ident") ? eat("ident").value : "_anon";
|
|
529
|
-
if (at("op", ";")) {
|
|
530
|
-
i += 1;
|
|
531
|
-
return { type: "struct", name, fields: [], methods: [] };
|
|
532
|
-
}
|
|
533
|
-
eat("op", "{");
|
|
534
|
-
const fields = [];
|
|
535
|
-
const methods = [];
|
|
536
|
-
while (!at("eof") && !at("op", "}")) {
|
|
537
|
-
skipSemicolons();
|
|
538
|
-
if (at("op", "}")) {
|
|
539
|
-
break;
|
|
540
|
-
}
|
|
541
|
-
if (at("kw", "public") || at("kw", "private") || at("kw", "protected")) {
|
|
542
|
-
i += 1;
|
|
543
|
-
if (at("op", ":")) {
|
|
544
|
-
i += 1;
|
|
545
|
-
}
|
|
546
|
-
continue;
|
|
547
|
-
}
|
|
548
|
-
if (at("kw", "struct") || at("kw", "class")) {
|
|
549
|
-
const nested = parseStruct();
|
|
550
|
-
if (nested.instance) {
|
|
551
|
-
fields.push({
|
|
552
|
-
type: "decl",
|
|
553
|
-
name: nested.instance.name,
|
|
554
|
-
valueType: nested.name,
|
|
555
|
-
value:
|
|
556
|
-
nested.instance.value || {
|
|
557
|
-
type: "initlist",
|
|
558
|
-
fields: nested.fields.map((field) => ({
|
|
559
|
-
name: field.name,
|
|
560
|
-
value: field.value || { type: "null" },
|
|
561
|
-
})),
|
|
562
|
-
},
|
|
563
|
-
isConst: false,
|
|
564
|
-
owner: name,
|
|
565
|
-
});
|
|
566
|
-
} else {
|
|
567
|
-
fields.push(...nested.fields);
|
|
568
|
-
methods.push(...nested.methods);
|
|
569
|
-
}
|
|
570
|
-
continue;
|
|
571
|
-
}
|
|
572
|
-
const saved = i;
|
|
573
|
-
const isConst = skipSpecifiers();
|
|
574
|
-
const valueType = parseType();
|
|
575
|
-
if (valueType && at("ident")) {
|
|
576
|
-
if (peek(1).value === "(") {
|
|
577
|
-
i = saved;
|
|
578
|
-
const method = parseFunction();
|
|
579
|
-
method.owner = method.owner || name;
|
|
580
|
-
methods.push(method);
|
|
581
|
-
continue;
|
|
582
|
-
}
|
|
583
|
-
const fieldName = eat("ident").value;
|
|
584
|
-
let value = null;
|
|
585
|
-
if (at("op", "=")) {
|
|
586
|
-
i += 1;
|
|
587
|
-
value = parseExpr();
|
|
588
|
-
}
|
|
589
|
-
skipSemicolons();
|
|
590
|
-
fields.push({ type: "decl", name: fieldName, valueType, value, isConst, owner: name });
|
|
591
|
-
continue;
|
|
592
|
-
}
|
|
593
|
-
i = saved;
|
|
594
|
-
skipBalanced();
|
|
595
|
-
}
|
|
596
|
-
eat("op", "}");
|
|
597
|
-
let instance = null;
|
|
598
|
-
if (at("ident")) {
|
|
599
|
-
instance = { name: eat("ident").value, value: null };
|
|
600
|
-
if (at("op", "=")) {
|
|
601
|
-
i += 1;
|
|
602
|
-
instance.value = parseExpr();
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
skipSemicolons();
|
|
606
|
-
return { type: "struct", name, fields, methods, instance };
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
function parseTopLevelDecl(isConst, valueType) {
|
|
610
|
-
const name = eat("ident").value;
|
|
611
|
-
let value = null;
|
|
612
|
-
if (at("op", "=")) {
|
|
613
|
-
i += 1;
|
|
614
|
-
value = parseExpr();
|
|
615
|
-
}
|
|
616
|
-
skipSemicolons();
|
|
617
|
-
return { type: "decl", name, valueType, value, isConst };
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
function skipBalanced() {
|
|
621
|
-
if (at("op", "{")) {
|
|
622
|
-
let depth = 0;
|
|
623
|
-
while (!at("eof")) {
|
|
624
|
-
if (at("op", "{")) {
|
|
625
|
-
depth += 1;
|
|
626
|
-
} else if (at("op", "}")) {
|
|
627
|
-
depth -= 1;
|
|
628
|
-
i += 1;
|
|
629
|
-
if (depth === 0) {
|
|
630
|
-
break;
|
|
631
|
-
}
|
|
632
|
-
continue;
|
|
633
|
-
}
|
|
634
|
-
i += 1;
|
|
635
|
-
}
|
|
636
|
-
skipSemicolons();
|
|
637
|
-
return;
|
|
638
|
-
}
|
|
639
|
-
while (!at("op", ";") && !at("eof") && !at("op", "}")) {
|
|
640
|
-
i += 1;
|
|
641
|
-
}
|
|
642
|
-
skipSemicolons();
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
function skipTypeDecl() {
|
|
646
|
-
while (at("kw", "template") || at("kw", "struct") || at("kw", "class") || at("kw", "enum") || at("kw", "typedef") || at("kw", "extern")) {
|
|
647
|
-
i += 1;
|
|
648
|
-
}
|
|
649
|
-
while (!at("eof") && !at("op", "{") && !at("op", ";")) {
|
|
650
|
-
i += 1;
|
|
651
|
-
}
|
|
652
|
-
skipBalanced();
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
function skipNamespace() {
|
|
656
|
-
eat("kw", "namespace");
|
|
657
|
-
if (at("ident")) {
|
|
658
|
-
i += 1;
|
|
659
|
-
}
|
|
660
|
-
if (at("op", "{")) {
|
|
661
|
-
const inner = parseProgramInside();
|
|
662
|
-
eat("op", "}");
|
|
663
|
-
return inner;
|
|
664
|
-
}
|
|
665
|
-
eat("op", ";");
|
|
666
|
-
return [];
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
function parseProgramInside() {
|
|
670
|
-
const decls = [];
|
|
671
|
-
while (!at("eof") && !at("op", "}")) {
|
|
672
|
-
skipSemicolons();
|
|
673
|
-
if (at("eof") || at("op", "}")) {
|
|
674
|
-
break;
|
|
675
|
-
}
|
|
676
|
-
if (at("kw", "namespace")) {
|
|
677
|
-
decls.push(...skipNamespace());
|
|
678
|
-
continue;
|
|
679
|
-
}
|
|
680
|
-
if (at("kw", "using")) {
|
|
681
|
-
while (!at("op", ";") && !at("eof")) {
|
|
682
|
-
i += 1;
|
|
683
|
-
}
|
|
684
|
-
skipSemicolons();
|
|
685
|
-
continue;
|
|
686
|
-
}
|
|
687
|
-
if (at("kw", "struct") || at("kw", "class")) {
|
|
688
|
-
const parsed = parseStruct();
|
|
689
|
-
decls.push(...parsed.fields);
|
|
690
|
-
decls.push(...parsed.methods);
|
|
691
|
-
continue;
|
|
692
|
-
}
|
|
693
|
-
if (at("kw", "enum") || at("kw", "template") || at("kw", "typedef") || at("kw", "extern")) {
|
|
694
|
-
skipTypeDecl();
|
|
695
|
-
continue;
|
|
696
|
-
}
|
|
697
|
-
const saved = i;
|
|
698
|
-
const isConst = skipSpecifiers();
|
|
699
|
-
const maybeType = parseType();
|
|
700
|
-
if (maybeType && at("ident")) {
|
|
701
|
-
const next = peek(1);
|
|
702
|
-
if (next.value === "(" || next.value === "::") {
|
|
703
|
-
i = saved;
|
|
704
|
-
decls.push(parseFunction());
|
|
705
|
-
skipSemicolons();
|
|
706
|
-
continue;
|
|
707
|
-
}
|
|
708
|
-
if (next.value === "=" || next.value === ";") {
|
|
709
|
-
decls.push(parseTopLevelDecl(isConst, maybeType));
|
|
710
|
-
continue;
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
i = saved;
|
|
714
|
-
if (at("ident") && (peek(1).value === "::" || peek(1).value === "(" || peek(1).value === "." || peek(1).value === "->")) {
|
|
715
|
-
const expr = parseExpr();
|
|
716
|
-
skipSemicolons();
|
|
717
|
-
decls.push({ type: "expr", expr });
|
|
718
|
-
continue;
|
|
719
|
-
}
|
|
720
|
-
decls.push(parseFunction());
|
|
721
|
-
skipSemicolons();
|
|
722
|
-
}
|
|
723
|
-
return decls;
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
return { type: "program", body: parseProgramInside(), fileName };
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
export { parse };
|