1#!/usr/bin/ioke
2
3Ioke = LanguageExperiment with(
4  goal: :expressiveness,
5  data: as(code),
6  code: as(data),
7  features: [
8    :dynamic,
9    :object_oriented,
10    :prototype_based,
11    :homoiconic,
12    :macros
13  ],
14  runtimes:(JVM, CLR),
15  inspirations: set(Io, Smalltalk, Ruby, Lisp)
16)
17
18hello = method("Every example needs a hello world!",
19  name,
20  "hello, #{name}!" println)
21
22Ioke inspirations select(
23  features include?(:object_oriented)
24) each(x, hello(x name))
25