Skip to content

tonirenner/lyrascript

Repository files navigation

LyraScript

LyraScript is a statically checked scripting language with its own parser, type checker, interpreter, and browser-oriented VDOM runtime.

The language reference is available in the Handbook.

Overview

LyraScript currently includes:

  • classes, fields, methods, constructors, and inheritance
  • static type checking
  • arrays, lambdas, and control flow
  • VDOM syntax for browser-oriented UI work
  • a scratchpad for trying the language directly

Getting Started

Install dependencies:

bun install

Build the project:

bun run lyra:build
bun run scratchpad:build

Testing and Trying It Out

To try the language, use the scratchpad only:

bun run scratchpad:build

Then open scratchpad/index.html in a browser or try it online https://lyrascript.github.io/.

There you can write and run Lyra code and inspect output, errors, tokens, the AST, and the live VDOM preview.

Structure

  • language/: language core, type checker, interpreter, VM
  • scratchpad/: browser scratchpad for testing
  • doc/: project documentation

Releases

No releases published

Packages

 
 
 

Contributors