17 releases

0.0.17 Aug 29, 2024
0.0.16 May 31, 2024
0.0.15 Apr 10, 2024
0.0.14 Jan 3, 2024
0.0.1 Feb 25, 2023

#403 in Programming languages

22 downloads per month
Used in ezno

MIT license

1MB
34K SLoC

Ezno's Checker

crates.io badge docs.rs badge

Contains type checking logic for TypeScript and logic for running type checking checks over ezno-parser.

See specification for all currently implemented checking features.

Definitions

At the moment it comes packaged with internal.ts.d.bin. This can either be a syntactic or binary definition of methods, types and such in the runtime.

Adding type checking outside of the Ezno toolchain

While the checker is indented for the Ezno toolchain and its parser, most (3/4) of the checker code is AST agnostic. The synthesis directory that contains the bindings with ezno-parser can disabled with no-default-features. You can build your own AST <-> Type checking APIs using it for adding Ezno's type checking features into other toolchains (without needing to parse or convert ASTs).

#TODO ASTImplementation, synthesis folder rule

Documentation

A sparse documentation of some to the internals of the functions, structures and processes exists in the /documentation folder.

Testing

Set EZNO_DEBUG to any value to trace diagnostic information from the crate::utils::notify! macro (In powershell = $Env:EZNO_DEBUG=1)

Dependencies

~5MB
~100K SLoC