Repository navigation
TeaScript Prototype
Pre-release
Pre-release
·
4 commits
to main
since this release
TeaScript v1.0.0-beta.3-proto.3
There are a lot of breaking changes and new features in this release.
New features
- Objects are now like Kotlin objects, it uses functions, type and variable declarations directly.
- Custom types
- Better types (nullable types via ? prefix)
- Type generics
- Reuse of type parse for identifiers
Known issues/features
- Cannot chain call expressions and member expressions (e.g.
foo().bar().baz()is not allowed) - Type generics in object conformities are iffy (e.g.
{ Foo<number> -> constant baz: number = 4 }may not work)
Features to inspect
- Type generics anywhere
- Object conformities
- Custom/generated types