ReScript中用于数据流和别名分析的类型系统
A type system for data flow and alias analysis in ReScript
AI总结:
本文提出一种用于ReScript语言子集(含可变性和模式匹配的lambda演算)的数据流分析类型系统,通过局部分析收集变量使用与别名信息。
摘要:
ReScript引入了一种强类型语言,以JavaScript为目标,作为TypeScript等渐进式类型语言的替代方案。本文提出了一种用于ReScript语言子集(更具体地说是带有可变性和模式匹配的lambda演算)的数据流分析类型系统。该类型系统是一种局部分析,用于收集有关变量使用情况及别名信息。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。