strobe
strobe copied to clipboard
The Strobe Type Checker for JavaScript
Please, add instructions on how to build the typechecker from source and how to use it. Also, documentation on how to specify types would have been helpful.
- Parse typ@label syntax - Input labels to type-checker (probably in environment) - Default label - Explicit label hierarchy - Subtyping with labels (check label hierarchy) - Label of current...
- Parse abstract - Figure out representation in type-environment
Subtraction is backward in one of these cases (reported by Ben Lerner): let subtract v1 v2 = match v1, v2 with | Set s1, Set s2 -> Set (S.subtract s1...
- switch_fallthrough*.js
Many subtype tests in sb_typing.ml can be shortened by using the check function. It would blow error messages, so let check take an error-message argument.
We need to understand what works and what does not