.hny & .htmp
·
Pure HTML5 + CSS3
·
Zero JavaScript · Zero Dependencies
HoneyScript (HTML+) Documentation
Don't break the internet or workflows. Extend it.
HoneyScript — also known as HTML+ — completes native HTML5 and CSS3 into a strict, self-contained programming language. Build interactive zero-JavaScript web apps, Gmail/Outlook HTML emails, HTTP/JSON APIs, CLI automation tools, standalone executables, and native mobile UIs using pure HTML and CSS syntax with zero external dependencies.
What is HoneyScript (HTML+)?
Modern software development splits a simple application across HTML, CSS, JavaScript, TypeScript, JSX, bundlers,
package managers, template engines, and backend frameworks. HoneyScript (HTML+) eliminates that stack
by adding the minimal missing programming primitives directly into native HTML5 and CSS3 conventions, executed by a
single fast Rust engine (honey).
Native HTML5 + CSS3 Structure
Starts with <!DOCTYPE html+>. Uses native attributes (id, href, rel), native CSS3 content:, calc(), @if at-rules, and :click pseudo-classes.
True Zero-JavaScript Execution
Interactive web apps, HTML emails, CLI scripts, and native Android UIs execute directly on the Rust HoneyRuntime with zero <script> tags required.
Zero External Dependencies
No npm, no node_modules, no bundler configs, and no runtime installs. One single binary handles running, checking, serving, email compiling, and standalone executable packaging.
Strict & Secure by Default
Strict typed values, immutable <const>, project-confined file sandboxing, zero-JS Content-Security-Policy, CSRF protection, and built-in DoS limits protect every build.
| Attribute | Specification |
|---|---|
| Language Names | HoneyScript / HTML+ (current engine release: v2.2.0) |
| File Extensions | .hny and .htmp (interchangeable first-class extensions; legacy .honey also recognized) |
| Document Declaration | <!DOCTYPE html+> (also accepts <!DOCTYPE honey> or omitted for snippets) |
| Runtime Engine | Single-binary Rust VM, DOM tree (HoneyDom), HTTP server, static checker, and compilers |
| Primary Targets | Zero-JS Server-Driven Web Apps, Static HTML/CSS, HTML Emails, HTTP/JSON APIs, CLI Scripts, Standalone .exe, Native Android/DeX UI |
5-Line Quick Start
Any developer who knows basic HTML and CSS can write a working interactive HoneyScript (HTML+) app in under a minute.
Save the following as counter.hny (or counter.htmp):
<!DOCTYPE html+>
<var cash="500" player="Leon" />
<p id="status">Welcome, $player. Balance: \$$cash</p>
<button id="earn">Add $50</button>
<style>
body { background: #020504; color: #f5f6f7; font-family: sans-serif; padding: 32px; }
</style>
<rules>
#earn:click {
$cash: calc($cash + 50);
#status { color: #34e89e; }
}
</rules>
Keep <style> 100% pure, declarative visual CSS — designers, linters, and Gmail/Outlook email compilers love it.
Put reactive events (:click, :submit, :enter), conditionals (@if), timers (@after), and <db> queries inside <rules> using the exact same familiar CSS selector syntax. Existing files with reactive rules inside <style> remain 100% backwards-compatible.
Run, serve, or build it straight out of the box with zero dependencies:
# 1. Validate syntax & types statically (never executes code)
honey check counter.hny
# 2. Run as a live Zero-JS interactive web app on http://127.0.0.1:8080
honey serve counter.hny --port 8080
# 3. Compile to a zero-JS standalone static HTML file
honey build --web --zero-js counter.hny -o index.html
# 4. Package into a zero-dependency standalone executable
honey build --exe counter.hny -o counter.exe
Mental Model & Golden Rules
HoneyScript (HTML+) follows four strict design laws so code remains readable to both humans and AI assistants:
-
Clean 3-Way Separation (HTML+ Structure · Pure
<style>· Reactive<rules>):- HTML+ owns document structure, data declarations (
<var>,<const>,<array>,<object>,<db>), hash-pinned includes (<link rel="include" integrity="sha256-...">), forms (<form>), routing (<route>), repeating blocks (<each>), custom tags (<define>), named functions (<function>/<fn>), and built-in tests (<test>). <style>stays 100% pure, declarative visual CSS — zero side effects, fully compatible with standard CSS linters and email compilers.<rules>owns reactive behavior using familiar CSS selector syntax: text updates (content: "..."), math (calc()), conditionals (@if/@else/@switch), loops (@for/@while), error handling (@try/@catch), events (:click,:submit,:enter,:input,:load,:request), timers (@after,@every), and embedded<db>queries. (Existing files with reactive rules inside<style>remain 100% backwards-compatible.)
- HTML+ owns document structure, data declarations (
-
Universal
$Reference Rule: Declare variables, constants, arrays, and objects without$(e.g.,<var cash="500" />,<object id="club" name="Velvet" />). Reference them with$everywhere else ($cash,$club.name,bind="$guest",in="$crew",if="$vip == true"). Currency numbers like$50remain literal text; write\$$cashto print a literal$directly before a variable, or{$count}pxwhen text touches the variable end. -
Zero JavaScript Syntax & Zero Silent Coercion:
There is no
let,===,=>,document.querySelector, or"5" + 1 == "51"trap. Types are predictable and constants declared with<const>cannot be reassigned. -
Scoped by Containment:
Top-level declarations (and files loaded via
<link rel="include">in<head>) are global. Variables declared inside a<define>custom tag are isolated to each instance so multiple components never collide.
Core Use Cases (With Complete Runnable Examples)
HoneyScript (HTML+) is designed around 8 core production use cases. Every example below uses standard v2.2.0 HTML+ syntax and runs without installing external frameworks or JavaScript packages.
Interactive Zero-JS Web Apps (Server-Driven Native DOM)
Build full stateful web applications — dashboards, booking doors, checkout flows, calculators, admin panels — that work in every browser even when JavaScript is 100% disabled. When served with honey serve, HoneyScript wraps interactive controls in native HTML POST actions backed directly by the live Rust HoneyRuntime.
<!DOCTYPE html+>
<html>
<head>
<title>Club Velvet — VIP Door</title>
</head>
<body>
<const tax="1.08" />
<var cash="500" cover="45.50" vip-open="true" guest-name="" />
<array crew="Veronica, Leon, Bryce" />
<object id="club" name="Club Velvet" checkins="0" />
<fn name="with-tax" args="$amount">
return: round(calc($amount * $tax));
</fn>
<function name="admit-guest">
@if ($vip-open == false) {
#banner { color: #f87171; content: "VIP lounge is currently closed."; }
} @else if (len(trim($guest-name)) == 0) {
#banner { color: #fbbf24; content: "Enter a guest name first."; }
} @else {
$total: call(with-tax, $cover);
$cash: calc($cash + $total);
$club.checkins: calc($club.checkins + 1);
$crew: add(trim($guest-name));
$guest-name: "";
save: "velvet-door";
#banner { color: #4ade80; content: "Guest admitted!"; }
}
</function>
<h1>$club.name — Balance: \$$cash ($club.checkins admitted)</h1>
<p id="banner">Door ready.</p>
<div if="$vip-open == true">
<input id="guest-input" type="text" bind="$guest-name" placeholder="Guest name..." />
<button id="admit-btn">Admit Guest</button>
</div>
<h2>Inside VIP</h2>
<ul>
<each item="member" in="$crew">
<li>$member</li>
</each>
</ul>
<style>
body { background: #020504; color: #f5f6f7; font-family: sans-serif; padding: 28px; }
</style>
<rules>
#admit-btn:click { call: admit-guest(); }
#guest-input:enter { call: admit-guest(); }
</rules>
</body>
</html>
Static Websites, Landing Pages & Native File Partials
Replace static site generators (Hugo, Astro, Eleventy, Next.js) for marketing pages, portfolios, and documentation.
Split shared headers, footers, and reusable components across files using native <link rel="include" href="..." /> and <define tag="...">, then compile into a single pure HTML + CSS file with zero <script> tags.
<!-- components.htmp -->
<define tag="feature-card" title="" desc="">
<article class="card">
<h3>$title</h3>
<p>$desc</p>
<slot />
</article>
</define>
<!-- index.htmp -->
<!DOCTYPE html+>
<html lang="en">
<head>
<title>Studio Portfolio</title>
<link rel="include" href="./components.htmp" />
<link rel="stylesheet" href="./theme.css" />
</head>
<body>
<link rel="include" href="./header.htmp" />
<main>
<feature-card title="Zero Bundlers" desc="Native HTML+ includes resolve at build time." />
<feature-card title="Zero JS" desc="Ships clean, SEO-ready static HTML and CSS." />
</main>
<link rel="include" href="./footer.htmp" />
</body>
</html>
Production HTML Emails (Gmail, Apple Mail & Outlook)
Email clients strip JavaScript and break modern flexbox/grid CSS. HoneyScript compiles the exact same clean .hny or .htmp markup — complete with variables, <each> product rows, and reusable <define> blocks — into rock-solid, inline-styled <table> HTML with zero <script> tags.
<!DOCTYPE html+>
<var customer="Maya" order-id="HX-9042" total="149.00" />
<array items="VIP Pass — $99, Table Reserve — $50" />
<section id="card">
<h1>Order Confirmed, $customer</h1>
<p>Reference: #$order-id · Total Paid: \$$total</p>
<each item="line" in="$items">
<p class="row">• $line</p>
</each>
<a id="cta" href="https://example.com/orders/$order-id">View Ticket</a>
</section>
<style>
#card { background: #0a0a0a; color: #fafafa; padding: 28px; }
.row { color: #d4d4d8; padding: 4px; }
#cta { background: #34e89e; color: #000000; padding: 12px; }
</style>
Backend Multi-Page HTTP Servers & JSON APIs
Define multi-page routes and live JSON endpoints directly in HTML+ using <route> and reply-json:, then serve them with honey serve. No Express, FastAPI, PHP, or reverse-proxy scaffolding is required for fast internal tools, microservices, or full-stack web apps.
<!DOCTYPE html+>
<var service="HoneyAPI" version="2.2.0" hits="0" />
<route path="/" href="./home.htmp" />
<route path="/pricing" href="./pricing.htmp" />
<route path="/api/health" id="health-api" />
<rules>
#health-api:request {
$hits: calc($hits + 1);
reply-json: { status: "ok", service: $service, version: $version, hits: $hits };
}
</rules>
CLI Tools, Data Pipelines & File Automation
Run headless scripts directly from the terminal with honey run. Use strict loops (@for, @while), structured error handling (@try / @catch), and project-confined file I/O (<file>, read(), exists(), write(), append()).
<!DOCTYPE html+>
<file id="report" path="./build-report.txt" />
<array steps="Parse, TypeCheck, SandboxVerify, Emit" />
<fn name="main">
$report: write("HoneyScript Pipeline Report\n");
@for ($step in $steps) {
$report: append(concat("- Passed: ", $step, "\n"));
}
@if (exists($report)) {
print: read($report);
}
</fn>
Zero-Dependency Standalone Executables
Turn any .hny or .htmp CLI utility or web server app — along with all of its <link rel="include"> partials — into a single self-contained native executable in milliseconds. End users double-click or run the resulting binary without installing HoneyScript, Rust, Node.js, or Python.
# Package a CLI tool into a standalone executable
honey build --exe audit-log.hny --cli -o audit-log.exe
# Package a full web app + HTTP server into one standalone binary
honey build --exe vip-door.hny --serve -o vip-door-server.exe
Native Mobile & DeX Apps (Zero WebView, Zero JS)
Because HoneyDom is a pure Rust data structure independent of web browsers, it can render straight to native operating system widgets. In HoneyCode Mobile (Android ARM64 & Samsung DeX), <h1>, <p>, <button>, <input bind="...">, and <div> map directly to native Android Views over Rust JNI — executing :click and bind events in under 1 millisecond with zero WebView and zero JavaScript.
Custom Domain Markup, Kiosks & Interactive Worlds
HoneyScript's core language stays clean and domain-agnostic — there are no hardcoded niche tags baked into the parser. Instead, teams register domain-specific tags with <define tag="..."> and <slot /> to author kiosks, design systems, interactive stories, or 3D scene scripts (such as Honey Studio's Inner Worlds) using the exact same language rules.
<define tag="status-pill" label="Online" tone="#4ade80">
<var text="$label" color="$tone" />
<span class="pill">$text</span>
<slot />
<style>
.pill { color: $color; border: 1px solid $color; padding: 4px 10px; }
</style>
</define>
<status-pill label="Server Healthy" tone="#4ade80" />
<status-pill label="Maintenance" tone="#fbbf24" />
HTML+ Markup Reference
All standard HTML5 elements (<main>, <section>, <header>, <nav>, <article>, <button>, <input>, <form>, <table>, <a>, <img>, etc.) work natively. HoneyScript adds the following structured tags and attributes:
| Tag / Attribute | Syntax Example | Purpose |
|---|---|---|
<!DOCTYPE html+> |
<!DOCTYPE html+> |
Declares an HTML+ (HoneyScript) document. |
<var /> |
<var cash="500" vip="true" name="Leon" /> |
Declares mutable typed variables. Reference with $cash, $vip, $name. |
<const /> |
<const tax="1.08" max-hp="100" /> |
Declares immutable constants. Reassignment raises a strict error. |
<array /> |
<array crew="Veronica, Leon, Bryce" /> |
Declares an ordered list. Mutate with $crew: add($x); or remove($x);. |
<object /> |
<object id="club" name="Velvet" heat="0" /> |
Declares a structured key-value object. Access fields with dot syntax ($club.name, $club.heat). |
<function> / <fn> |
<fn name="add" args="$a, $b">return: calc($a + $b);</fn> |
Defines reusable logic in CSS+ syntax. Call via call: fn(); or $r: call(fn, 1, 2);. Add scope="global" to expose nested functions globally. |
<each> |
<each item="member" in="$crew"><li>$member</li></each> |
Renders child markup once per array element. |
if="..." |
<div if="$vip == true">VIP Only</div> |
Conditionally mounts/renders any HTML element based on a boolean expression. |
bind="$var" |
<input type="text" bind="$guest-name" /> |
Two-way binds an input element directly to a state variable with zero JavaScript. |
<define> + <slot /> |
<define tag="vip-card" name="">...<slot /></define> |
Registers a custom HTML element with default prop attributes, isolated local state, and child slot projection. |
<rules> |
<rules>#btn:click { $n: calc($n + 1); }</rules> |
Canonical reactive behavior block (events, @if, timers, <db> queries) so <style> stays pure declarative CSS. Backwards-compatible with rules inside <style>. |
<db /> |
<db id="store" src="./app.hdb" /> |
Attaches a zero-dependency embedded ACID relational database (or src=":memory:") with db-create, db-insert, db-query, and strictly parameterized sql(). |
<form> + :submit |
<form id="signup">...<button type="submit">Join</button></form> |
First-class form submission & HTML5 validation (required, type="email|url|number", minlength, maxlength, min, max) with valid-form() and form-error(). |
<test> |
<test name="adds">trigger: #btn:click; assert: $n == 1;</test> |
Declarative test suite executed by honey test (set:, trigger:, tick:, call:, assert:, assert-text:, assert-valid:). Stripped from all production builds. |
<link rel="include"> |
<link rel="include" href="./header.htmp" integrity="sha256-..." /> |
Loads shared variables/functions/tags in <head> or inserts HTML+ partials inline inside <body>. Optional integrity pins SHA-256 via W3C SRI (generate with honey hash). Also accepts rel="html+" and rel="honey". |
<route /> |
<route path="/vip" href="./vip.htmp" /> |
Maps URL paths to `.hny`/`.htmp` pages or JSON API handler IDs in honey serve. |
<file /> |
<file id="log" path="./app.log" /> |
Declares a project-confined file handle for read($log), exists($log), $log: write(...), and $log: append(...). |
<fetch /> |
<fetch url="https://api.example.com/data" into="res" /> |
Declares structured remote data fetching into a bound state variable. |
Reactive <rules>, Events & Control Flow
Inside <rules>, <function>, or <fn> blocks (and backwards-compatible inside <style>), reactive HTML+ behavior uses familiar CSS selector and at-rule syntax while keeping <style> 100% pure visual CSS:
| Construct | Syntax | Behavior |
|---|---|---|
| Text Update | #banner { content: "Admitted!"; color: #4ade80; } |
Updates an element's live text content using native CSS3 content: (keeps display: flex / grid / none pure CSS layout). |
| State Mutation | $cash: calc($cash + 50);$club.heat: calc($club.heat + 1); |
Assigns variables or object fields using CSS property syntax and native calc() math. |
| Array Operations | $crew: add($guest);$crew: remove("Bryce"); |
Appends or removes array items cleanly (space syntax add $guest also supported). |
| Conditionals | @if ($x >= 10) { ... } @else if ($x > 0) { ... } @else { ... } |
CSS at-rule branching using strict comparisons (==, !=, <, <=, >, >=, &&, ||, !). |
| Switch / Match | @switch ($tier) { @case "VIP" { ... } @default { ... } } |
Clean multi-way matching on strings, numbers, or booleans. |
| Loops | @for ($i in 1..=5) { ... }@for ($m in $crew) { ... }@while ($n > 0) { ... } |
Range iteration, collection iteration, and conditional loops protected by hard iteration limits. |
| Error Handling | @try { ... throw: "Bad input"; } @catch ($err) { #msg { content: $err; } } |
Structured exception handling without uncaught crashes. |
| Events (Pseudo-Classes) | #btn:click, #signup:submit, #in:enter, #in:input, body:load, #api:request, :hover, :error |
Attaches reactive behaviors inside <rules> using native CSS pseudo-class selectors. |
| Timers | @after(3s) { ... }@every(10s) { ... } |
Schedules delayed or repeating runtime actions using CSS time units (ms, s). |
| DOM Mutation | #list { add: <li>New Item</li>; }#old { remove; } |
Appends parsed HTML+ nodes into a selector target or removes elements from HoneyDom. |
| Persistence | save: "velvet-door";load: "velvet-door"; |
Saves and restores live runtime state into validated local state slots. |
| Functions & JSON | call: admit-guest();$t: call(with-tax, $cover);reply-json: { ok: true }; |
Calls named functions, captures return values, or emits structured JSON HTTP responses. |
Strict Types & Built-In Functions
HoneyScript infers strict core types automatically from HTML attributes — string, int, float, bool (true / false), array, and object — and supports explicit type annotations where stricter numeric constraints are desired.
| Category | Built-In Helpers |
|---|---|
| Math | calc(...), round($x), floor($x), ceil($x), abs($x), min($a, $b), max($a, $b), clamp($v, $lo, $hi), random($min, $max) |
| Strings & Crypto | len($s), lower($s) / lowercase($s), upper($s) / uppercase($s), trim($s), concat(...), contains($s, $sub), starts-with($s, $p), ends-with($s, $p), replace($s, $a, $b), split($s, $sep), join($arr, $sep), sha256($s) |
| Forms & Validation | Native <form> + :submit events + valid-form("#id"), form-error("#id"), valid-email($e), valid-url($u) checking HTML5 required, type, minlength, maxlength, min, max |
Embedded ACID DB (<db>) |
db-create($store, "tbl", "cols"), db-insert(...), db-query(...), db-update(...), db-delete(...), db-count(...), and parameterized sql($store, "SELECT ... WHERE col = ?", $val) |
| Collections | len($arr) / count($arr), contains($arr, $val), push($arr, $val), pop($arr), plus CSS ops add($v) / remove($v) |
| Sandboxed OS I/O | read($file), exists($file), $file: write($text);, $file: append($text);, env("KEY") (requires --allow-env) |
| Output / Logging | print: "msg"; / log: "msg"; (CLI stdout) and content: "msg"; (live DOM element text) |
How Zero-JavaScript DOM Manipulation Works
A common question from developers and AI systems is: "How can a web or mobile app respond to clicks, input binding, conditionals, and DOM updates with zero JavaScript?" HoneyScript solves this natively across three runtimes:
1. Server-Driven Native DOM (honey serve)
Interactive elements (:click buttons, bind="$var" inputs) compile to standard HTML <form method="POST" action="/_hny/event"> submissions. The Rust HoneyRuntime updates state and HoneyDom in microseconds, then replies with a clean 303 See Other and pure HTML+CSS — enforced with Content-Security-Policy: script-src 'none'.
2. Pure-CSS Static Interactivity (--web --zero-js)
Resolves <link rel="include"> partials, <define> tags, <each> loops, variables, and native CSS interactive rules directly into static HTML and CSS with zero <script> blocks — ideal for ultra-fast SEO pages and hostile/locked-down browsers.
On mobile and desktop native hosts, HoneyDom skips HTML serialization and WebViews altogether: each DOM element renders directly as a real native OS widget (Android TextView, Button, EditText, LinearLayout) connected to the Rust engine via JNI.
CLI Reference (honey v2.2.0)
Every HoneyScript workflow runs from one self-contained Rust executable (honey / honey.exe). Install in one line from Downloads:
| Command | Description |
|---|---|
honey check <file.hny|htmp> |
Performs zero-execution static syntax, type, selector, and variable diagnostics with plain-English auto-fix hints. |
honey fmt <file.hny|htmp> [--check] [--stdout] |
Canonical, idempotent auto-formatter for HTML+ markup, CSS+ blocks, and <test> blocks. Use --check in CI. |
honey test <file-or-dir> |
Runs all declarative <test name="..."> blocks in isolated runtimes with DOM, state, timer, and form assertions. |
honey hash <file.hny|htmp> |
Computes the W3C SRI integrity="sha256-..." digest for hash-pinned <link rel="include"> component sharing. |
honey run <file.hny|htmp> [flags] |
Executes the program and calls main (or --call <fn>, --trigger <sel>:<ev>, --tick <sec>). Add --allow-fs or --allow-env to opt out of default project confinement. |
honey dom <file.hny|htmp> |
Prints the live resolved HoneyDom tree for inspection and automated testing. |
honey serve <file.hny|htmp> [--port 8080] [--watch] |
Starts the hardened Zero-JS Server-Driven DOM HTTP server & JSON API host. Add --watch for automatic dev hot reload across entry and linked files. |
honey build --web --zero-js <file> [-o out.html] |
Compiles to a standalone static HTML + CSS website with 0 bytes of JavaScript. |
honey build --web <file> [-o out.html] |
Compiles to a self-contained single-file browser web app bundle. |
honey build --email <file> [-o email.html] |
Compiles to an inline-CSS <table> HTML email compatible with Gmail, Apple Mail, and Outlook (0 <script> tags). |
honey build --exe <file> [--cli|--serve] [-o app.exe] |
Packages the script and all linked <link rel="include"> files into a zero-dependency standalone executable. |
honey --version |
Prints the installed engine version (HoneyScript (HTML+) v2.2.0). |
Security-by-Default Architecture
HoneyScript (HTML+) v2.2 is engineered to prevent entire classes of web, SQL, supply-chain, template, and runtime vulnerabilities automatically out of the box:
- Hash-Pinned Includes (W3C SRI):
<link rel="include" href="..." integrity="sha256-..." />verifies included components with constant-time SHA-256 before parsing, stopping tampered partials at load time. - SQL-Injection-Proof Embedded
<db>: Atomic temp-file+rename persistence locked inside the project root, with strictly?-parameterizedsql()that blocks stacked;statements outright. - Three-Tier
SandboxPolicy:honey serveand Web/Email builds run in strictSandboxedmode (no arbitrary file writes, noenv()access).honey rundefaults toProjectConfined(canonicalized file I/O locked strictly inside the project root, blocking../, absolute paths, NUL bytes, and symlink escapes). Host-wide filesystem or environment access requires explicit CLI flags (--allow-fs/--allow-env). - SSTI-Proof Single-Pass Interpolation: User input containing
$secretor{expr}is never re-interpolated, and template interpolation blocks side-effecting calls. - Hardened HTTP Server (
honey serve): Enforces 5-second socket timeouts, 256 KB framed request limits, strict security headers (Content-Security-Policy: default-src 'self'; script-src 'none',X-Frame-Options: DENY,X-Content-Type-Options: nosniff,Referrer-Policy: no-referrer), same-origin CSRF checks onPOST /_hny/event, and server-side whitelisting so forged POST bodies cannot overwrite unbound variables or click hidden buttons. - Automatic XSS, URL & CSS Sanitization: Dangerous HTML tags (
<script>,<iframe>,<object>,<embed>,<base>), inlineon*event attributes, unsafe URL schemes (javascript:,vbscript:,data:,file:), and</style>/<script>/</script>breakouts are neutralized automatically. - Safe Persistence & Zip-Slip Protection: Save slots allow only
[A-Za-z0-9_-](max 64 chars), and standalone executable bundles reject any embedded path escaping the extraction directory. - Hard DoS Resource Budgets: Built-in caps guard source size (4 MB), parser depth (128), include depth (32), component mount depth (64), recursion depth (64), loop iterations (10,000), DOM nodes (10,000), timers (256), and VM step count (250,000).
- Zero-Execution Static IntelliSense: Opening untrusted
.hnyor.htmpfiles in VS Code or the IDE never runsbody:loador file operations during diagnostics.
IDEs, School Mode & Downloads
HoneyCode Web IDE
Zero-install browser editor with live Web & Email previews, Guided Intentions, and instant starter templates. Launch Web IDE →
School Mode
Ten interactive, auto-graded lessons right in the browser taking beginners from their first 5-line page to full apps. Start School Mode →
VS Code Extension (v2.2.0)
Full .hny & .htmp syntax highlighting (<rules>, <db>, <test>), native honey fmt formatting, live $var and #id IntelliSense, hover docs, and safe Watch/Test/Serve/Build commands. Download .VSIX →
HoneyCode Mobile (Android ARM64 & DeX)
Offline native Rust IDE with zero-JS native Android DOM rendering and DeX split-screen support (v2.1.2). Download APK →
Frequently Asked Questions
- What is HoneyScript (HTML+)?
-
HoneyScript — also called HTML+ — is a strict, zero-JavaScript, zero-dependency programming language built directly on native HTML5 and CSS3 conventions. HTML+ declares structure, state, embedded
<db>storage, includes, forms, functions, tests, and custom tags;<style>stays pure declarative CSS; and<rules>handles reactive events, math, conditionals, timers, and live DOM updates. - Should I use
.hnyor.htmp? -
Both
.hnyand.htmpare equal first-class extensions supported everywhere (CLI, VS Code, Web IDE, HoneyCode Android, and<link rel="include">). Use whichever feels most natural to your team — many developers use.htmpfor HTML templates/emails/pages and.hnyfor full apps and scripts. - How does HoneyScript handle DOM manipulation with zero JavaScript?
-
honey serveexecutes events and bindings on the live RustHoneyRuntimethrough standard HTML POST forms and returns fresh HTML+CSS withscript-src 'none'. Static builds (--web --zero-js) resolve templates and pure CSS at build time, while HoneyCode Android mapsHoneyDomdirectly to native Android Views over Rust JNI. - Does HoneyScript need Node.js, npm, or a bundler?
- No. HoneyScript ships as a single self-contained Rust binary with zero external dependencies for running, checking, serving, compiling static web apps, building HTML emails, and packaging standalone executables.
- How can an AI coding assistant ingest the full HoneyScript specification quickly?
- Point any LLM or coding agent directly to https://underlisted-x.com/honeyscript/llms-full.txt (complete token-efficient Markdown reference) or https://underlisted-x.com/honeyscript/llms.txt (concise directory index).