Want to learn and master Red?

Join Exercism’s Red Track for access to 43 exercises with automatic analysis of your code and personal mentoring, all 100% free.

Explore exercises

About Red

Red [
	Title: {Random dog viewer}
	Author: "loziniak"
	Needs: View
]

view [
	below
	img: base 150x150
	button "Dog photo" [
		dog-data: load-json read https://api.thedogapi.com/v1/images/search?size=thumb
		img/image: load to-url dog-data/1/url
	]
]

Key Features of Red


Red

Full-stack

Red can be used to create a device driver as well as a GUI application.

Lightweight

Entire toolchain is about 1.5 MB download, single executable. Low memory footprint.

Code is data

Red is its own meta-language and own data-format. Program can operate on it's own code.

DSL

It's easy to create Domain Specific Languages, dialects and parsers.

GUI

It's simple as: view [b: base 100x100 button {Draw circle} [b/draw: [pen red circle 50x50 50]]]

Reactive

Objects can be linked by reactions to reduce size and complexity of program.

Get mentored the Red way

Every language has its own way of doing things. Red is no different. Our mentors will help you learn to think like a Red developer and how to write idiomatic code in Red. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Red - they'll help you discover the things you don't know that you don't know.

Learn more about mentoring

Community-sourced Red exercises

The Red track on Exercism has 43 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.

See all Red exercises
Red

Get started with the Red track

The best part, it’s 100% free for everyone.