Fox.

A declarative programming language for humans.

“Good morning,” said the fox.

Antoine de Saint-Exupéry, The Little Prince

Fox is a general-purpose, declarative programming language made by humans, for humans.

Born out of a desire for a declarative language that was as concise, idiomatic, and beautiful as Python without sacrificing approachability or consistency, Fox aims to fulfill a single goal well - do what it's told to do.


About Fox

A fox is a wolf who sends flowers.

Ruth Brown

Fox is...

Declarative

In Fox, you only need to tell the computer what you want it to do, not how you want it done. Hopefully.

Approachable

Many declarative and functional languages have a high barrier to entry because of heavy use of symbols and unclear variable names. Fox aims to be as easy to learn as possible.

Concurrent

Thanks to the benefits of declarative and functional programming, writing concurrent code is easier than ever.

Simple

Fox avoids confusing and unclear definitions. None of that “burrito” gibberish here.

Educated

Fox is built on the shoulders of giants; inspired by Python, Clojure, Mercury, and many others, it strives to learn from both their successes and mistakes.

Hackable

Fox uses the RPython toolchain, and its source is freely and easily available. There's no need to write C to implement new features.

Learn Fox!

Are you ready to start learning?

Fox is designed with approachability in mind. It doesn't matter if you're completely new to programming, or if you're already an experienced programmer. Head over to the documentation - you can find both a nice tutorial for beginners, and the complete language reference there.


Frequently Asked Questions

Q: How can Fox be written in Python and not suck?
A: This is actually RPython (the language PyPy is written in!), not Python. It is a strict subset of Python, and a toolchain for building super fast compilers. RPython gives Fox an awesome JIT and GC pretty much for free!
Q: Where can I find the Fox logo?
A: You can find it on our License & copyright page!. It is distributed under the terms of the Creative Commons Attribution license (CC-BY), so please do feel free to include it (with a proper attribution notice) in any Fox-related works of yours.