0.0.1 • Published 10 years ago

clover v0.0.1

Weekly downloads
55
License
-
Repository
github
Last release
10 years ago

Clover

a toy object-oriented language created in CoffeeScript~

still in development~

features

  • classes & inheritance
  • first class function
  • closure

Example

sum = function(a, b)
  a + b
end

c = sum(1, 2)

MyBaseClass = class 
  hello = 'hello'

  say = function()
    hello
  end
end

MyClass = class extends MyBaseClass

  say = function()
    base.say() + base.say()
  end

end

Usage

./bin/clover ./samples/test.luck