Mark McGranaghan 8d31ec147c move to vendor
2012-11-17 08:21:42 -08:00

25 lines
469 B
Plaintext

#!/usr/bin/ioke
Ioke = LanguageExperiment with(
goal: :expressiveness,
data: as(code),
code: as(data),
features: [
:dynamic,
:object_oriented,
:prototype_based,
:homoiconic,
:macros
],
runtimes:(JVM, CLR),
inspirations: set(Io, Smalltalk, Ruby, Lisp)
)
hello = method("Every example needs a hello world!",
name,
"hello, #{name}!" println)
Ioke inspirations select(
features include?(:object_oriented)
) each(x, hello(x name))