A Type System for Data Flow and Alias Analysis in ReScript

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Lund, Nicky Ask, Hüttel, Hans
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909373807198208
author Lund, Nicky Ask
Hüttel, Hans
author_facet Lund, Nicky Ask
Hüttel, Hans
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_23984
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Type System for Data Flow and Alias Analysis in ReScript
Lund, Nicky Ask
Hüttel, Hans
Logic in Computer Science
Programming Languages
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.
title A Type System for Data Flow and Alias Analysis in ReScript
topic Logic in Computer Science
Programming Languages
url https://arxiv.org/abs/2410.23984