uncomfyhalomacro / hypo

πŸš€ Hyper-fast runtime for HTML, the programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hypo

Hypo is a hyper-fast runtime for HTML, the programming language.

Run HTML, the programming language code outside of the browser.

Installation

Requirements: Go 1.21 or later

git clone https://github.com/angelofallars/hypo
cd hypo
go install ./cmd/hypo

Usage

With no arguments, Hypo will spin up a REPL for you to type and run HTML, the programming language code. You can execute an .html file by passing the file name as an argument to Hypo.

$ hypo example/helloworld.html
Hello world!

Status

Currently implemented commands:

Literals

  • <s>
  • <data>
  • <ol>
  • <table>

Math Commands

  • <dd>
  • <sub>
  • <ul>
  • <div>

Stack Manipulation Commands

  • <dt>
  • <del>

Comparison Commands

  • <big>
  • <small>
  • <em>

Logical Operators

  • <b>
  • <bdi>
  • <bdo>

Control Flow

  • <i>
  • <rt>
  • <a>

Variables

  • <var>
  • <cite>

I/O

  • <input>
  • <output>
  • <wbr>

Properties

  • <rp>
  • <samp>

Arrays/Dynamic Properties

  • <address>
  • <ins>

Functions

  • <dfn>

Programs

  • <main>
  • <body>

About

πŸš€ Hyper-fast runtime for HTML, the programming language

License:BSD 2-Clause "Simplified" License


Languages

Language:Go 95.9%Language:HTML 4.1%