English

A type system for data flow and alias analysis in ReScript

Programming Languages 2024-08-23 v1

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.

Keywords

Cite

@article{arxiv.2408.11954,
  title  = {A type system for data flow and alias analysis in ReScript},
  author = {Nicky Ask Lund and Hans Hüttel},
  journal= {arXiv preprint arXiv:2408.11954},
  year   = {2024}
}