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-26 10:16:43 +02:00
examples Added private methods and some more type fixes. 2025-09-26 09:13:32 +02:00
history Added tons of opcode documentation, changed license to ISC and a lot of file refactoring. 2025-09-16 02:11:22 +02:00
scripts Added tons of opcode documentation, changed license to ISC and a lot of file refactoring. 2025-09-16 02:11:22 +02:00
spec Added tons of opcode documentation, changed license to ISC and a lot of file refactoring. 2025-09-16 02:11:22 +02:00
src Some fixes to make it compile on FreeBSD. 2025-09-26 09:20:12 +02:00
.gitignore Housekeeping in ./examples/. 2025-09-16 09:06:44 +02:00
CMakeLists.txt Version bump to 0.4.0. 2025-09-26 09:38:22 +02:00
LICENSE Added tons of opcode documentation, changed license to ISC and a lot of file refactoring. 2025-09-16 02:11:22 +02:00
Makefile Added private methods and some more type fixes. 2025-09-26 09:13:32 +02:00
play.fun Added basic class support. 2025-09-26 07:39:13 +02:00
README.md README update. 2025-09-26 10:16:43 +02:00

Fun

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

Influenced by Bash, C, Go, Lua, Python, and Rust (Most influenced languages are linked).

Developed and tested on:

Idea

  • Simplicity
  • Consistency
  • Joy in coding
  • Fun!

Characteristics

  • Dynamic and optionally statically typed
  • Type safety (Not safe yet)
  • Written in C / Internally no_camel_case... ;)
  • Only a minimal function set is written in C; All other core libraries are implemented in Fun

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.

To do

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...