LSL → TypeScript transpiler for the open metaverse.
Paste a Second Life script. Get modern, type-safe code.
Every LSL function mapped to its poqpoq TypeScript equivalent. Auto-generated from the transpiler's source data — always current.
Browse functions →All 38 LSL events with their poqpoq handler names, parameter signatures, and detected-data capabilities.
Browse events →~400 LSL constants — permissions, attach points, particle flags, prim params — with their TypeScript equivalents.
Browse constants →Paste this LSL into the editor and hit Transpile:
default
{
state_entry()
{
llSay(0, "Hello from poqpoq!");
}
touch_start(integer num_detected)
{
llSay(0, "Touched by " + llDetectedName(0));
}
}
The transpiler produces:
import { WorldScript } from "@poqpoq/sdk";
export default class Script extends WorldScript {
onStateEntry(): void {
this.say(0, "Hello from poqpoq!");
}
onTouchStart(detected: DetectedInfo[]): void {
this.say(0, "Touched by " + detected[0].name);
}
}