Sha256: 02e451e75318e7825eb75ee85fc14beb0798c5683b17b7ffab036878ccd4f9ff

Contents?: true

Size: 469 Bytes

Versions: 42

Compression:

Stored size: 469 Bytes

Contents

#!/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))

Version data entries

42 entries across 42 versions & 5 rubygems

Version Path
pygments.rb-0.1.3 vendor/Pygments-1.4/tests/examplefiles/intro.ik
pygments.rb-0.1.2 vendor/Pygments-1.4/tests/examplefiles/intro.ik