Skip to content

Class inheritance, public visibility, etc

Compare
Choose a tag to compare
@Enalye Enalye released this 04 Sep 18:49
· 381 commits to master since this release

New features:

  • Types, global variables and class fields are now visible only to the file they were declared.
  • Added the "pub" keyword to make them visible everywere.
  • Added the class constructor syntax.
  • Added class and foreign inheritance.
  • Added "null" value for classes and foreigns.
  • All variables are now automatically initialized with a default value if they have no initializer.
  • Auto variables ("let") must be initialized at declaration.
  • And some fixes.