Hot Language

Hot is an expression-oriented language for backend workflows. It keeps JSON-shaped data familiar, uses functions instead of infix operators, and provides flows for conditional and concurrent work.

Quick Example

::myapp::hi ns

greet fn (name: Str): Str {
  `Hello, ${name}!`
}

message greet("Hot")

What Looks Different

Other LanguagesHot
name = "Ada"name "Ada"
a + badd(a, b)
if (x) { } else { }if(x, then, else) or cond { x => then => else }
return valueThe final expression is the value
for x in itemsmap(items, ...) or for-each(iter, ...)

Language Guide

  • Vars and Values — Bindings, namespaces, immutable values, and deep paths
  • Data Literals — Strings, numbers, vectors, maps, templates, and comments
  • Functions — Functions, calls, lambdas, and lazy parameters
  • Types — Gradual typing, constructors, enums, unions, generics, and coercions
  • Error Handling — Results, propagation, and explicit failure handling
  • Flows — Serial, conditional, matching, pipe, and parallel flows
  • Language Evaluation Model — How those rules compose while Hot code is running
  • What Hot Doesn't Have — Conventional syntax and constructs that Hot replaces