Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

free

> 编程语言
Open source

An esoteric programming language with an unusual compiler backend

331 stars0 likes1 views
WebsiteGitHub

About

An esoteric programming language with an unusual compiler backend

free

A terrible programming language that targets an even worse programming language.

I decided to name this programming language free because there are absolutely no memory constraints whatsoever. It's basically impossible for a free program to segfault or anything like that: you can arbitrarily assign to any memory location. This isn't by design. It's just a byproduct of the target programming language: SMPL.

SMPL

SMPL, pronounced "simple", is a programming language almost identical to brainfuck. It's ridiculously easy to implement; SMPL is just a superset of brainfuck with 3 additional operators. These operators, &, *, and ?, give SMPL the ability to manage memory dynamically rather than statically, which is impossible in brainfuck. Consider the following problem.

In brainfuck, it's incredibly easy to represent an array of numbers. They can just be stored on the tape like so.

c
char array[6]
          |
          v
[0, 0, 0, 1, 2, 3, 4, 5, 0, 0, 0, ...]

But what happens when the array needs to grow? Or if you want to represent a pointer to an element of the array?

There is no real elegant solution to representing pointers in brainfuck.

However, enabled by the powers of SMPL we can represent pointer operations rather elegantly.

SMPL Operator Description
> Move the pointer to the right
[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++>+<>>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>-]>>>>>>+>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>-]>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>-]>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>-<>]>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>>>-]>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>>>-<>]>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>>>>>-]>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>>>>>-<>]>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>>>>>>>-]>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>-<>]>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>-]>>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>-<>]>>>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>-]>>>>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>-<>]>>>>>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>.>.>.>.>.>.>.>.>.>.>.>.>.>.>>[-]++++++++++.[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>>[-][-][-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-][-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-][-]>[-]>[-]>[-]>[-]>[-]>[-][-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++++>+>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>-]>>>>>>+>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>-]>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>-]>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>-<>]>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>>>-]>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>>>-<>]>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>>>>>-]>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>>>>>-<>]>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>>>>>>>-]>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>-<>]>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>-]>>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>-<>]>>>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-]>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>-]>>>>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[-][<>>>>>>>>>>>>>>>+>>>>>>>>>>>>>>>>>>>-<>]>>>>>>>>>>>>>>>>>>>+[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>>[-][-][-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-][-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-]>[-][-]>[-]>[-]>[-]>[-]>[-]>[-]+<is there when the program is storing theHello world!` string, but whatever. It works, and I've drained my capacity to care why.

Usage and Installation

The best way to install free is with the rust package manager.

bash
cargo install -f fr

Then, free files can be compiled with the fr binary.

bash
fr in.fr
gcc out.c
./a.out

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言