2025-09-11 02:07:59 +02:00
# Fun
2025-09-26 09:13:32 +02:00
Fun Uses Nothing — Life is too short not to code with fun... ;)
2025-09-11 02:07:59 +02:00
2025-09-26 09:32:39 +02:00
Influenced by Bash, * * [C ](https://en.wikipedia.org/wiki/The_C_Programming_Language )**, Go, * * [Lua}(https://www.lua.org/)**, **[Python ](https://www.python.org/ )**, and Rust.
2025-09-17 16:04:16 +02:00
2025-09-17 18:05:38 +02:00
Developed and tested on:
2025-09-17 18:04:35 +02:00
- [GNU/Linux ](https://kernel.org/ ) using [GCC ](https://gcc.gnu.org/ ) and the [GNU C library ](https://www.gnu.org/software/libc/ ) ([glibc ](https://en.wikipedia.org/wiki/Glibc ))
- GNU/Linux using GCC and the [musl libc ](https://musl.libc.org/ )
- [FreeBSD ](https://www.freebsd.org/ ) using Clang and the [BSD libc ](https://en.wikipedia.org/wiki/C_standard_library#BSD_libc ).
2025-09-11 02:07:59 +02:00
## Idea
* Simplicity
* Consistency
* Joy in coding
* Fun!
## Characteristics
2025-09-26 09:30:33 +02:00
* Dynamic and optionally statically typed
2025-09-26 09:13:32 +02:00
* Type safety (Not safe yet)
2025-09-11 02:07:59 +02:00
* Written in C / Internally no_camel_case... ;)
2025-09-26 09:13:32 +02:00
* Only a minimal function set is written in C; All other core libraries are implemented in Fun
2025-09-11 02:07:59 +02:00
## The Fun Manifesto
Fun is a programming language built on a simple idea:
Coding should be enjoyable, elegant, and consistent.
### Philosophy
2025-09-11 02:11:35 +02:00
- **Fun is Fun**<br>
2025-09-11 02:07:59 +02:00
Programming should spark creativity, not frustration. Code in Fun feels light, playful, and rewarding.
2025-09-11 02:11:35 +02:00
- **Fun Uses Nothing**<br>
2025-09-11 02:07:59 +02:00
Minimalism is power. No unnecessary features, no endless syntax variations, no formatting debates. Just clean, uniform code.
2025-09-11 02:11:35 +02:00
- **Indentation is Truth**<br>
2025-09-11 02:07:59 +02:00
Two spaces, always. No tabs, no four-space wars. Code should look the same everywhere, from your laptop to /usr/bin/fun.
2025-09-11 02:11:35 +02:00
- **One Way to Do It**<br>
2025-09-11 02:07:59 +02:00
No clutter, no 15 ways of writing the same thing. Simplicity means clarity.
2025-09-11 02:11:35 +02:00
- **Hackable by Nature**<br>
2025-09-11 02:07:59 +02:00
Fun should be small and embeddable, like Lua. Easy to understand, extend, and tinker with — true to the hacker spirit.
2025-09-11 02:11:35 +02:00
- **Beautiful Defaults**<br>
2025-09-11 02:07:59 +02:00
A language that doesn’ t need linters, formatters, or style guides. Beauty is built in.
### The Community
Fun is not about being the fastest or the most feature-rich. It’ s about sharing joy in coding. The community should be:
- Respectful
- Curious
- Creative
Like the name says: Fun Unites Nerds.
### The Goal
A language that feels like home for developers who:
- Love minimal, elegant tools
- Believe consistency is freedom
- Want to write code that looks good and feels good
Fun may not change the world — but it will make programming a little more fun.
2025-09-18 02:39:07 +02:00
## To do
2025-09-26 09:13:32 +02:00
Everything... ;) No, a lot of stuff works already, but only a tiny set of functions are available in the Fun programming language. It grows from day to day...