compiler
compiler is a library unique to Powerlang. Please check out Compiler Library to learn more.
InsertBlock(BlockName: string, BlockID: string, ...args)
Inserts a new RetroStudio Visual Scripting block with the specified name and ID, taking additional arguments as inputs. Requires at least two arguments: BlockName (friendly name) and BlockID (block ID).
InsertBlockConnectedLast(BlockName: string, BlockID: string, ...args)
Inserts a new RetroStudio Visual Scripting block connected to the last created block, taking additional arguments as inputs. Requires at least two arguments: BlockName and BlockID.
version() -> string
Returns the current Powerlang version as a string. An example output would be: Beta 0.9
.
credits() -> string
Returns the Powerlang credits string. Currently this is:
Powerlang - The Ultimate Programming Language (c) vopwn55, 2024
Special thanks to: NicePotato - Being a good friend RJAI - Emotional Support
path(Path: string) -> Instance?
Attempts to obtain an instance at path Path
if it exists, bypassing Powerlang's own traversal mechanism. This is often more performant in some cases.
equation(Equation: string) -> any
Solves an equation using RetroStudio's Equation block. This is often more performant than Powerlang's native equation solver, but must be used carefully.
Last updated