Roldak / SFSL

Statically typed Functionnal Scripting Language
1 stars 0 forks source link

Add syntactic sugar to declare classes #103

Closed Roldak closed 8 years ago

Roldak commented 8 years ago

Currently it can only be done with the syntax: type A = class { ... }, or type F[T] => class { ... } Maybe would be interesting to allow the more common syntaxes class A { ... } and class F[T] { ... } (which would of course be translated to the two above)