What is hop?
hop is a JSX-like syntax with static typechecking that compiles to Go, Python, TypeScript and JavaScript. The generated code is optimized, type-safe and has no runtime dependencies.
hop is designed for building fast server-side rendered websites but can be used in any application where the target language is HTML.
Installation
The hop compiler is implemented in Rust and is distributed as a single binary without any external dependencies.
The hop compiler is downloadable via npm and PyPI.
bash
npm install @hoplang/hopbash
pnpm install @hoplang/hopbash
yarn install @hoplang/hopbash
pip install hop-clibash
uv add hop-cliAfter installation you should be able to write
bash
hop --helpto view the manual in your terminal.