import io;
io.print("Hello world");

About Saffire

Saffire is a new, scripting language, based primarily on Python, PHP, and Ruby. Our goal is to blend all the good things of those languages into a new one. Saffire primary selling points:

Want to join development? Go to the #saffire channel on freenode, sign in to our mailinglist, read the language specification so far, and fork saffire on github. Post any issues you find to our issue tracker.

We can use all the help! If you don't know any C, that's fine too. There are many things non-C related that could use your help too. For instance, building and updating this site, helping out defining how the language should look like, writing Saffire unittests etc etc. You won't have to sit still, we promise!


Saffire is originally started by Joshua Thijssen. Spending much time in other languages like PHP and Python, he thought; "Wouldn't it be fun to have a language that takes all the good things from these languages and mix them together?" Some other people certainly thought so, and presto: Saffire was born.

The name Saffire is a hybrid between the English word Sapphire, and its Dutch counterpart Saffier.


Now, wait a minute. Just because we have a fancy website, doesn't mean we're done. Not even by a long shot! You might want to read up on the language specification, but don't expect to build your website in Saffire any time soon (although we are getting close!).

That being said, we do have a few snippets of what Saffire code will look like.

Example 1: The mandatory hello world example:

import io;
io.print("Hello world");

Example 2: Using variables:

import io;

a = 1;
a += 1;

io.print("The value of a: ", a , "\n");

Example 3: A simple class in Saffire:

import io;

class Foo {
	const FOOBAR = "foobar";

	protected property a = 1;

	public method ctor() {
		// Constructor

	public method foo() {
		return self.a;

f = Foo();
io.print ("The value is: ",;

Stay in touch. A real 15-minute Saffire tutorial will follow soon!