clover

0.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i clover

Weekly Downloads

50

Version

0.0.1

License

none

Last publish

Collaborators

  • ippan