arXiv · 2410.23984
A Type System for Data Flow and Alias Analysis in ReScript
Abstract
ReScript is a strongly typed language that targets JavaScript, as an alternative to gradually typed languages, such as TypeScript. In this paper, we present a sound type system for data-flow analysis for a subset of the ReScript language, more specifically for a lambda-calculus with mutability and pattern matching. The type system is a local analysis that collects information about variables that are used at each program point as well as alias information.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Nicky Ask Lund, Hans Hüttel. 2024-10-31. A Type System for Data Flow and Alias Analysis in ReScript. https://doi.org/10.4204/eptcs.410.8
Cite the original work for its findings. Save a collection to share your selection of sources.