Introducing a New Type-Safe Language POC for JavaScript: Beyond TypeScript. Here is why ??
I've?developing a proof of concept for a new type-safe language that compiles to JavaScript. Here's why we think it's worth exploring.
Why Not Just Use TypeScript?
TypeScript is great, but it has limitations:
Key Features of Our RJS:
Structs:
Traits:
Pattern Matching:
Potential Future Goals:
Built-in Tooling: No need for additional packages for tree shaking, minification, etc., I aim to include these as part of the language superset.
Transform:
Technical point
As you can see this is inspired by Rust and the POC has been written in Rust along with a simple typechecking system.