Installation

Install Lattish and set up your Tish JSX project.

Install

npm install @tishlang/lattish

Or with pnpm:

pnpm add lattish

Requirements

  • Tish compiler (JSX support is built in — no flag required)
  • Node modules resolution for bare specifiers (e.g. import ... from '@tishlang/lattish')

Verify

Create a minimal App.tish:

import { createRoot, h } from '@tishlang/lattish'
 
fn App() {
  return <div>Hello from Lattish!</div>
}
 
createRoot(document.getElementById("root")).render(App)

Build with:

tish build App.tish -o app.js --target js

JSX is automatically lowered to Lattish runtime calls — no separate flag is needed. Include the output in your HTML and you're good to go.