10 releases

new 0.3.5 Feb 21, 2024
0.3.4 Feb 11, 2024
0.3.1 Jan 23, 2024
0.2.1 Jan 3, 2024
0.1.0 Sep 28, 2023

#30 in Profiling

Download history 6/week @ 2023-11-12 7/week @ 2023-11-19 9/week @ 2023-11-26 2/week @ 2023-12-03 2/week @ 2023-12-17 6/week @ 2023-12-24 109/week @ 2023-12-31 6/week @ 2024-01-07 6/week @ 2024-01-14 47/week @ 2024-01-21 65/week @ 2024-01-28 43/week @ 2024-02-04 88/week @ 2024-02-11 442/week @ 2024-02-18

646 downloads per month

CC0 license

845 lines

BadLang™ - The future of programming

docs.rs Crates.io Downloads (latest version) GitHub code size in bytes GitHub Repo stars Crates.io Version Fortnite Balls Build Status X (formerly Twitter) Follow Instagram URL

BadLang™ Logo

This language isn't just the next trend - it's the future. You've heard of "Rewrite it in Rust". Soon you will hear "Rewrite it in BadLang™" (The ™ is pronounced).

This language features the newest paradigm: Stack-based programming. You've heard of imperative, you've heard of functional, but have you heard of stack-based? It was established in 1970 by the Forth language, so probably not.


Sane operating systems

cargo install badlang

Alternatively, if you have cargo-binstall installed you can instead use:

cargo binstall badlang


Since Windows refuses to correctly work if downloaded as provided above, you have to build from source:

git clone https://github.com/gianzellweger/badlang/
cd badlang
cargo run

BadLang™ is (officially) supported on MacOS, GNU+Linux and Windows (somewhat)


Basic example

This programming language is stack based:

69 drop

This revolutionary blazingly fast example shows the grace of stack-based programming.

Hello world

See this file.


Addition is where this programming language really shines! We can add two, even three numbers! Bet your C can't do that!

34 35 + print

Or with three numbers:

20 23 26 + + print


You can start a comment using coment and stop it using no_coment.


If you want to contribute, you can either do so financially or read the Contributing Guidelines


The name "BadLang™" actually stands for "Badass Language", because that's what it is.


~1.5M SLoC