A language for physical computing
Nylon is a managed programming language designed for robotics on Raspberry Pi. Write in IntelliJ. Press run. Your robot moves.
# Import the Pi hardware proxy import proxy device.RaspberryPi as pi # Your robot program entrypoint main() { let motor = pi.buildhat.getMotor(port = 1) motor.setSpeed(50) Task.sleep(2.seconds()) motor.stop() pi.log.info("Done!") }
How it works
01
Flash the SD card
Put Nylon on your Pi. Connect to your wifi from your phone.
02
IntelliJ finds it
Your Pi appears in the IDE. No SSH, no terminal, no setup.
03
Press run
Your code compiles and deploys. The robot moves.
Built for robotics
No GC pauses
Reference counting memory model. No garbage collector means no unexpected pauses mid-movement.
Type-safe hardware
Hardware access through typed proxy objects. The compiler catches errors before your robot does.
Instant deploy
Press run in IntelliJ. Code compiles and streams to your Pi over WiFi in seconds.
Lego-ready
Built-in BuildHAT support. Connect Lego motors and sensors with a single import.
Target platforms
Read through the docs to learn Nylon's basics. The IntelliJ plugin and native VM are both under active development.
Read the DocsEarly access · Raspberry Pi 3 · macOS, Linux, Windows