{"title":"A type system for data flow and alias analysis in ReScript","authors":"Nicky Ask Lund, Hans Hüttel","doi":"arxiv-2408.11954","DOIUrl":null,"url":null,"abstract":"ReScript introduces a strongly typed language that targets JavaScript, as an\nalternative to gradually typed languages, such as TypeScript. In this paper, we\npresent a type system for data-flow analysis for a subset of the ReScript\nlanguage, more specific for a lambda-calculus with mutability and pattern\nmatching. The type system is a local analysis that collects information about\nwhat variables are used and alias information.","PeriodicalId":501197,"journal":{"name":"arXiv - CS - Programming Languages","volume":"9 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Programming Languages","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.11954","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
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.