Skip to content

nerdalytics/tinywhale

Repository files navigation

TinyWhale

A tiny programming language that compiles to WebAssembly.

Project Structure

This is a monorepo managed with pnpm workspaces:

  • packages/compiler - The TinyWhale compiler library
  • packages/cli - Command-line interface for TinyWhale
  • packages/diagnostics - Shared diagnostic types and definitions
  • packages/lsp - Language Server Protocol implementation

Prerequisites

  • mise - Development tool version manager and task runner
  • Node.js 24.12.0 (automatically installed via mise)
  • pnpm 10.26.0 (automatically installed via mise)

Getting Started

  1. Install mise if you haven't already:

    curl https://mise.run | sh
  2. Install tools and dependencies:

    mise install
    mise run install

Available Tasks

All tasks are defined in mise.toml and run via mise:

  • mise run install - Install dependencies
  • mise run build - Build all packages
  • mise run test - Run tests
  • mise run check - Lint and format (Biome, with auto-fix)
  • mise run typecheck - TypeScript type checking
  • mise run clean - Clean build artifacts
  • mise run generate-grammar - Regenerate Ohm grammar bundles
  • mise run cli <file> - Run the TinyWhale CLI

Development

The project uses mise as the task runner. All tasks are defined in mise.toml.

License

MIT

About

A tiny programming language that compiles to WebAssembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •