arXiv · 2408.11954
A type system for data flow and alias analysis in ReScript
Abstract
ReScript introduces a strongly typed language that targets JavaScript, as an alternative to gradually typed languages, such as TypeScript. In this paper, we present a type system for data-flow analysis for a subset of the ReScript language, more specific for a lambda-calculus with mutability and pattern matching. The type system is a local analysis that collects information about what variables are used and alias information.
Explore related subjects
Keep this discovery
Nicky Ask Lund, Hans Hüttel. 2024-08-21. A type system for data flow and alias analysis in ReScript. https://arxiv.org/abs/2408.11954
Cite the original work for its findings. Save a collection to share your selection of sources.