Native command-line core
`reflex run` and `reflex check` are working in the standalone alpha.
An independent programming language project
Reflex is an experiment in keeping programming direct: readable code, a native command-line tool, and a path from a quick script to a real application.
# no setup ceremony
name = "World"
greet(person) => `Hello, ${person}!`
print(greet(name))
The language
Reflex borrows the readable flow of Python and the handy values of JavaScript. You can write an ordinary variable assignment, a short function, and a loop without getting buried in ceremony.
# a normal value
people = ["Ada", "Lin", "Maya"]
label(name):
return `Hi, ${name}!`
# just use it
for person in people:
print(label(person))
squares = range(1, 6)
.map(fun(n) => n * n)
Current state
`reflex run` and `reflex check` are working in the standalone alpha.
A VS Code extension, snippets, file recognition, and a Reflex language icon are ready.
Modules, better errors, web tools, desktop packaging, and bridges are being moved into the native runtime.
Getting started
Released installers put the `reflex` command on your computer. After that, opening a project should be as uncomplicated as this:
reflex run hello.rflx
The first native release is intentionally focused on the language core. It does not pretend every planned feature is finished.
Why make this?
Reflex is for people who enjoy making software but do not want every small project to begin with five configuration files and a framework decision. It is an early project, and that is okay. The goal is to make its next step obvious.