1
0
Fork 0
forked from fun/fun
The programming language that makes you have fun!
  • C 75.3%
  • Standard ML 13.8%
  • CMake 3.1%
  • SCSS 1.9%
  • JavaScript 1.5%
  • Other 4.4%
Find a file
2025-09-14 21:10:52 +02:00
examples Short circiut (||, &&) 2025-09-14 21:10:52 +02:00
history Some function related fixes and some cleanups... 2025-09-14 15:20:23 +02:00
spec ROFL, in all examples where a function definition in the code, fun does not support functions actualy... :D 2025-09-14 01:04:38 +02:00
src Short circiut (||, &&) 2025-09-14 21:10:52 +02:00
.gitignore While loops. 2025-09-14 15:40:09 +02:00
CMakeLists.txt Added -DFUN_DEBUG=ON flag as cmake option to enable debug messages. Default is -DFUN_DEBUG=off. 2025-09-14 15:48:28 +02:00
LICENSE Initial commit. 2025-09-11 02:07:59 +02:00
play.fun Functions. 2025-09-14 15:12:30 +02:00
README.md Some update in the v0.2 spec. 2025-09-12 03:25:51 +02:00

Fun

Fun Uses Nothing - Life is too short not to code fun... ;)

Influenced by Bash, C, Go, Lua, Python and Rust.

Idea

  • Simplicity
  • Consistency
  • Joy in coding
  • Fun!

Characteristics

  • Static and optionally dynamic
  • No pointers
  • Type safety
  • Written in C / Internally no_camel_case... ;)

The Fun Manifesto

Fun is a programming language built on a simple idea: Coding should be enjoyable, elegant, and consistent.

Philosophy

  • Fun is Fun
    Programming should spark creativity, not frustration. Code in Fun feels light, playful, and rewarding.
  • Fun Uses Nothing
    Minimalism is power. No unnecessary features, no endless syntax variations, no formatting debates. Just clean, uniform code.
  • Indentation is Truth
    Two spaces, always. No tabs, no four-space wars. Code should look the same everywhere, from your laptop to /usr/bin/fun.
  • One Way to Do It
    No clutter, no 15 ways of writing the same thing. Simplicity means clarity.
  • Hackable by Nature
    Fun should be small and embeddable, like Lua. Easy to understand, extend, and tinker with — true to the hacker spirit.
  • Beautiful Defaults
    A language that doesnt need linters, formatters, or style guides. Beauty is built in.

The Community

Fun is not about being the fastest or the most feature-rich. Its 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.