Quickstart: TypeScript
There is no TypeScript implementation yet. This page says so on purpose, so you do not look for a package that is not there.
Why #
Craticula is specification-first: the rules and the conformance fixtures in spec/ come first, and every language implementation has to pass the same fixtures. The TypeScript port is planned for after the spec freeze (the spec freezes at 1.0). Until then the spec can still change, and a port written now would have to be rewritten.
Nothing is published for TypeScript: no package, no install command.
What you can do today #
- Use the C# library, which is the reference implementation: Quickstart: C#.
- Read the rules a TypeScript port will have to follow: semantics, and the schema references (GridSchema, IR).
- Look at the test a port has to pass: the conformance fixtures (
spec/fixtures) and the language-neutral runner described inspec/conformance-runner.md. A driver in any language answers the runner's requests and the runner grades the answers.