Apitax/Scriptax

Refactor how attributes and method signatures work

ShawnClake opened this issue · 2 comments

Attributes (Have at least 1):

  • static - Denotes being able to be called on an imported file rather than an instance
  • async - Denotes running this method in a new thread

Examples

  • static async myFunc() {}
  • static myFunc() {}
  • async myFunc() {}
  • myFunc() {}
  • static myFunc() {}
  • async myFunc() {}

this has been revised to support:

  • script
  • static
  • async

Examples

  • script myfunc() {}
  • script static myfunc() {}
  • script static async myfunc() {}
  • static myfunc() {}
  • static async myfunc() {}
  • async myfunc() {}

grammar added, not implemented