print "Hello world!" var response = gets print "You responded {response}" for i in [0..4[ do print "{i}..." end
Language without verbosity nor cryptic statements applying the KISS principle.
#? var x = whatever if x isa Int then print x + 6 end
Painless static types: static typing should help programmers.
class Person var name: Text var age: Int end var bob = new Person("Bob", 31) var alice = new Person("Alice", 42)
With customization options per attribute
redef class String fun escape_sql... ? end
Class refinement is checked at compilation to detect ambiguity.
fun printf in "C" `{ printf("We're in C!\n"); `} fun printf in "Java" `{ System.out.println("And Java!"); `}
The foreign function interface supports C, C++, Java and Objective-C.
# Fibonacci sequence # # ~~~ # assert fib(1) == # assert fib(10) == # ~~~ fun fib(n: Int): Int do ...
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
with two main implementations as a compiler and an interpreter.
User interface using native controls. Easily extensible using class refinement and foreign code.
with predictable linearization.
Created by BLACKTIE.CO