asynchronousai's picture
Upload 33 files
1ae2e8e verified

A newer version of the Gradio SDK is available: 5.24.0

Upgrade

# RobloxCS This project includes the compiler and transformers.

To-do

  • Array/dictionary, number, & (the rest of) string macros/extensions
  • Macro IEnumerable<T> (or Array?) methods
  • Classes/structs/interfaces nested in classes/structs/interfaces
  • LuaTuple type handling
  • Compile operator methods as regular method declarations but onto mt
  • Transform parameterized class declarations (i.e class Vector4(float x = 0, float y = 0, float z = 0, float w = 0)) into regular class declarations with a constructor
  • Switch expressions
  • Destructuring/parenthesized variable designation (i.e. var (value1, value2) = tuple;)
  • Emit virtual methods of interfaces similar to a class
  • Abstract classes
  • Type hoisting when outside of namespace
  • Macro GetType function to the name of the type as a string (maybe)
  • Async/await
  • Overloaded methods
  • Full qualification of types/namespaces inside of namespaces
  • Macro new T() with collection types to {}
  • Test MainTransformer more

Will maybe be supported

  • Class finalizers (destructors)
  • Custom get/set methods
  • Named arguments
  • yield keyword
  • out keyword
  • partial keyword
  • using Name = Type expressions (type aliases)