Project Description
A new Ruby-like language named Sapphire, built using C#, running on the .NET framework.

Language Features
Sapphire will be a language that has:
- a Ruby-like syntax and object model
- a powerful meta-programming system, with runtime syntax extensions
- pattern matching
- multiple dispatch

Sapphire will be fully interpreted; it will not be compiled, not even to bytecode.
The interpreter will use an incremental, extensible Pratt Parser to allow syntax extension definitions and their later use in a single file.

Example:

defop left: List + right: List
    return left.append(right)
end
var list1 = [1, 2, 3]
var list2 = [4, 5, 6]
puts((list1 + list2).repr)
# outputs "[1, 2, 3, 4, 5, 6]"

Last edited Feb 15, 2013 at 3:00 PM by feralin, version 14