Version 12 – 16 libraries, 12 boards, IDE + package manager

Write code that
touches hardware

A LISP-based language for Arduino and media hardware. Write programs that control lights, sound, sensors, and motion. Deploy to real hardware, simulate in CRUMB, or run headlessly, from stage installations to art projects.

hil-cli simulate morse-sos.hil
✓ hil-cli simulate morse-sos.hil {"type":"ready","msg":"Connected on none"} [LOG] >> Initiating Emergency SOS Beacon... [LOG] -> Transmitting: S O S [LOG] -> Transmitting: S O S [LOG] -> Transmitting: S O S [LOG] >> Beacon transmission complete. ✓ Script completed successfully
15+
Operators
52
Examples
16
Libraries
0
Dependencies

Interactive LISP Terminal

Type an expression, press Enter. Results appear instantly. Multi-line: Shift+Enter.

hil – interactive LISP terminaltype HELP for commands
Welcome to HIL LISP v12. Type an expression and press Enter.
SET variables, call operators, define functions. Multi-line with Shift+Enter.
Type HELP for commands, CLEAR to reset, or try: (+ 10 5)
 
>
Try:

Everything you need to
program hardware

From blinking an LED to running PID controllers, HIL gives you the full stack.

◇

Clean LISP Syntax

Write elegant code with S-expressions, variables, functions, and recursion. No semicolons, no braces, no boilerplate.

♦

Real Hardware

Direct access to digital/analog pins, I2C, SPI, servo motors, LCD displays, NeoPixels, and more on Arduino boards.

⚙

CRUMB Simulator

Transpile your code to Arduino C and simulate it in the CRUMB circuit simulator, no hardware required.

◌

Dual Target

The same LISP code runs on real Arduino hardware AND the CRUMB simulator. Write once, deploy anywhere.

★

15+ Operators

Arithmetic, boolean logic, comparisons, math utilities, loop control, everything for embedded programming.

⋮

16 Arduino Libraries

I2C, SPI, Servo, LCD, NeoPixel, DHT, SD card, MP3, RTC, BMP280, MAX7219, Motor, TFT, and more via USE-* forms.

◇

12 Boards

Arduino Uno/Nano/Mega, ESP32/S2/S3, ESP8266, RP2040 Pico, Leonardo, Nano Every, Seeed XIAO, and SparkFun.

★

HIL IDE

Full-featured desktop IDE with Monaco editor, auto-complete for all LISP forms including LAMBDA, syntax highlighting, and one-click transpilation.

⋮

Zero Dependencies

Single binary. No Node.js, no Python, no npm. Download and run on Windows, macOS, or Linux.

From LISP to hardware
in three steps

.hil
LISP source
→
Parser
S-expressions
→
Transpiler
LISP → C
→
Arduino C
.ino file
.ino
C source
→
avr-gcc
Compiler
→
.hex
Firmware
→
Arduino
Real hardware
Or: .hex → CRUMB Simulator for visual testing

LISP vs Arduino C

Same functionality, radically simpler syntax.

Blink an LED
HIL LISP

(WRITE D 13 1)
(DELAY 500)
(WRITE D 13 0)
(DELAY 500)
Arduino C

digitalWrite(13, HIGH);
delay(500);
digitalWrite(13, LOW);
delay(500);
Read sensor + decision
HIL LISP

(SET temp (LM35 0))
(IF (>= temp 30)
  (TONE 11 1000 200))
Arduino C

float temp = analogRead(A0)
  * 5.0 / 1024 * 100;
if (temp >= 30)
  tone(11, 1000, 200);
FOR loop with math
HIL LISP

(SET sum 0)
(FOR i 0 10
  (SET sum (+ sum i)))
; sum = 45
Arduino C

int sum = 0;
for (int i = 0; i < 10; i++) {
  sum += i;
}
// sum = 45

Simple, powerful, expressive

From beginner-friendly blink to advanced state machines, HIL scales with your skills.

Blink an LED
1; Turn LED on pin 13 on and off 2(WHILE 1 3 (DO 4 (WRITE D 13 1) 5 (DELAY 500) 6 (WRITE D 13 0) 7 (DELAY 500)))
Boolean Logic
1(SET temp 25) 2(SET humid 70) 3 4(IF (AND (>= temp 20) (> humid 60)) 5 (LOG "Comfortable") 6 (LOG "Adjust!"))
State Machine with COND
1(SET state 0) 2 3(COND 4 ((== state 0) (LOG "IDLE")) 5 ((== state 1) (LOG "RUNNING")) 6 (1 (LOG "UNKNOWN")))
FOR Loop + Break
1(SET sum 0) 2(FOR i 0 10 3 (DO 4 (IF (== i 5) (BREAK)) 5 (SET sum (+ sum i)))) 6; sum = 0+1+2+3+4 = 10
Lambda Functions
1; Anonymous functions with LAMBDA 2(SET square (LAMBDA (x) (* x x))) 3(SET map-add (LAMBDA (lst n) (MAP lst (LAMBDA (x) (+ x n))))) 4 5MAP (RANGE 5) square 6; => (0 1 4 9 16) 7MAP-ADD (RANGE 3) 10 8; => (10 11 12)

Built for makers

"Finally, a way to prototype embedded code without wiring up breadboards every time. The simulation mode is a game changer."
– Maker community
"The LISP syntax is so clean. I wrote a PID controller in 10 lines. In C it was 50. The transpiler just works."
– Robotics hobbyist
"I teach embedded systems. HIL lets students focus on logic, not syntax errors. They see results in seconds."
– Engineering educator

Complete language at a glance

Operators

+ - * / %Arithmetic
== != > < <= >=Comparison
AND OR NOTBoolean logic
MIN MAX ABSMath utilities
MAP CONSTRAIN RANDOMRange & random
MAP FILTER LAMBDAHigher-order functions

Control Flow

IF CONDConditionals
WHILE FORLoops
BREAK CONTINUELoop control
DEFUNFunctions
DO SET EXITBlocks & assignment

Start coding in
30 seconds

Download, extract, run. No accounts, no cloud, no setup wizards.

Pick your platform

Pre-built binaries for Windows, macOS, and Linux. Zero dependencies.

◆
Windows
x64 • .zip
Download
◇
macOS
Apple Silicon (arm64)
Download
◇
macOS
Intel (x64)
Download
◌
Linux
x64 • .zip
Download
◌
Linux
ARM64 • .zip
Download

Each package includes: hil-cli + hil-orchestrator + examples + docs. Or install via: hilp install hilos

HIL LISP IDE

A native desktop IDE for writing, transpiling, and uploading HIL LISP code. Monaco editor, syntax highlighting, serial monitor, and one-click transpilation.

◆
Windows
x64 • .exe
Download
◇
macOS
Intel (x64)
Download
◇
macOS
Apple Silicon (arm64)
Download
◌
Linux
x64 • binary
Download

One line. Real hardware.

HIL fits entire programs on a single line. Write it, deploy it, it runs on the board.

Blink 1 line
(defun setup () (pin 13 OUTPUT))
(defun loop () (high 13) (wait 500) (low 13) (wait 500))

LED blinks at 1Hz on pin 13. That's it.

NeoPixel 3 lines
(use-package hilos-displays)
(defun setup () (neopixel-setup 6 8))
(defun loop ()
  (dotimes (i 8) (neopixel-set i (wheel (* i 32))))
  (neopixel-show)
  (wait 20))

Rainbow chase on 8 NeoPixels. Color wheel cycles automatically.

Servo Sweep 2 lines
(use-package hilos-motors)
(defun setup () (servo-attach 9))
(defun loop ()
  (servo-write 9 (+ 60 (* 60 (sin (/ (millis) 500.0))))))

Servo sweeps back and forth using sine wave. Smooth analog motion.

DHT Sensor 2 lines
(use-package hilos-sensors)
(defun setup () (serial-begin 9600) (dht-begin 2 DHT11))
(defun loop ()
  (serial-print "Temp: ") (serial-println (dht-read-temp))
  (serial-print "Hum: ")  (serial-println (dht-read-humidity))
  (wait 2000))

Read temperature and humidity from DHT11 every 2 seconds.

Morse SOS 1 line
(defun loop () (morse "sos") (wait 3000))

Sends SOS in Morse code on repeat. Built-in morse function.

Fan PID 4 lines
(use-package hilos-sensors)
(use-package hilos-motors)
(defun setup () (serial-begin 9600) (dht-begin 2 DHT11) (servo-attach 9))
(defun loop ()
  (let ((temp (dht-read-temp)))
    (servo-write 9 (constrain (pid temp 25.0 0.5 0.1 0.01) 0 180))
    (serial-println temp) (wait 500)))

PID controller maintains 25C. Reads temp, adjusts fan speed automatically.

Hardware meets
media art

HIL lives on mediahubnetwork.net because it's built for creative hardware, light shows, sound installations, interactive art, and stage tech. Control NeoPixels, servos, and speakers with LISP code that's elegant enough to perform with.

◌

Stage Lighting

Program DMX-style light shows, LED chases, and color palettes that sync to music. Deploy from your laptop to Arduino in seconds.

★

Sound Art

Generate tones, melodies, and audio sequences. Build interactive sound installations with sensors that respond to people and environment.

⚙

Interactive Installations

NeoPixel walls, servo-driven sculptures, ultrasonic-reactive art. Write the logic in LISP, deploy to hardware, and the art runs itself.

Part of Media Hub Network – tools for creators who build with hardware.

Built together,
shared with everyone

Chat in real time, share projects with hashtags, follow builders, and show what you made. Join the conversation.

💬

Live Chat Rooms

Real-time rooms for help, show-and-tell, and hardware talk. Typing indicators, reactions, and presence included.

#

Hashtags & Posts

Tag your builds with #neopixel, #servo, #showcase — then browse trending topics and feeds.

❤

Reactions & Follows

Like, love, and react to posts. Follow builders to get their latest projects in a personalized feed.

Open Community → Watch Tutorials