Arrays, strings, maps, sets, math, time, fetch, and JSON — all native, no AST overhead.
Native Function Architecture
stdlib calls bypass the AST sandbox and execute raw V8 logic directly — faster and memory-safe.
Lexer Comment Fix
// line comments now correctly parsed. Previously treated as two division operators and crashed the Parser.
Time & Web
time.now(), time.sleep(), and fetch() — system and network access built right in.
Try it now
Edit the code and hit Run to see it execute live.
main.ky
Output
Press Run to execute your code.
Kyser Studio
See how your code thinks.
Kyser Studio is an interactive, browser-based Abstract Syntax Tree visualizer built directly into the Kyser CLI. It intercepts the compiler's parsing phase and renders an educational, clickable dashboard instead of executing your code.
$ kyser map yourfile.ky
Split-Screen ArchitectureSource code on the left. Compiler tree on the right. A local HTML file opens instantly no server, no setup.
Emoji-Driven Node ColoringMermaid.js renders soft, rounded boxes. Functions, variables, loops, and expressions each get a distinct color and label no jargon, just clear visual logic.
Interactive Line TracingClick any node in the flowchart. The code panel scrolls to that exact line and highlights it in bright blue live, in real time.
Kyser Studio AST Visualizer
main.ky
1functiondouble(x) {
2return x * 2
3},
4
5let result = 5 |> double,
6say(result)
AST Tree
~ Program
fn FunctionDecl double
op BinaryExpr x * 2
var VarDecl result
→ PipeExpr 5 |> double
← click any node to highlight source
VS Code Extension
Write Kyser the right way.
The official Kyser extension brings first-class language support to VS Code
syntax highlighting, smart autocomplete, hover docs, and a missing-comma linter
that catches Kyser's unique syntax quirks before you even run your code.
Syntax HighlightingKeywords, strings, functions, classes, the |> pipe operator, and say() all in distinct colors.
Autocomplete & SnippetsPress Ctrl+Space for smart completions. Tab through for, function, class and more.
Hover DocsHover over any keyword to see a description and a real code example inline.
Missing Comma LinterYellow squiggle warnings on any statement missing its trailing comma fires on every save.