Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Keywords

Install

npm i clover

DownloadsWeekly Downloads

26

Version

0.0.1

License

none

Last publish

Collaborators

  • avatar