18 releases

new 0.0.18 Nov 13, 2024
0.0.16 May 31, 2024
0.0.14 Jan 3, 2024
0.0.13 Dec 20, 2023
0.0.1 Feb 25, 2023

#160 in Programming languages

Download history 5/week @ 2024-07-26 43/week @ 2024-08-02 6/week @ 2024-08-09 3/week @ 2024-08-16 80/week @ 2024-08-23 55/week @ 2024-08-30 13/week @ 2024-09-13 28/week @ 2024-09-20 23/week @ 2024-09-27 11/week @ 2024-10-04 6/week @ 2024-10-11 5/week @ 2024-11-01 92/week @ 2024-11-08

97 downloads per month
Used in ezno

MIT license

1MB
35K 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