What it is
hop is a JSX-like syntax 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 can be installed via npm or PyPI.
bash
# npm
npm install @hoplang/hop
# PyPI
pip install hop-cliAfter installation you should be able to write
bash
hop helpto view the manual in your terminal.