Wang Playground
Wang
loading...
Run
Ctrl+Enter
Validate
Examples
Basics
Hello World
Basic Wang syntax
Variables & Types
let, const, var declarations
Advanced
Pipeline Operations
Using |> and -> operators
Async/Await
Asynchronous operations
Classes
OOP with inheritance
Modules
Import/export system
Patterns
Method Chaining
Optional chaining & nullish coalescing
Destructuring
Array & object destructuring
Error Handling
Try/catch patterns
Editor
Output
main.wang
●
Ln 1, Col 1
0ms
Output
AST
Console
Debug
Ready. Press
Ctrl+Enter
to run your code.
Debug
Step
Continue
Stop
Variables
No variables to display
Call Stack
No call stack
Breakpoints
Click in the gutter to add breakpoints
Settings
Font Size
12px
14px
16px
18px
Tab Size
2 spaces
4 spaces
Word Wrap
Auto Save
Clear on Run
Close
Compiling...
Keyboard Shortcuts
Run code
Ctrl+Enter
Save to localStorage
Ctrl+S
Toggle comment
Ctrl+/
Find
Ctrl+F
Replace
Ctrl+H
Settings
Ctrl+,
Close