Luau is the scripting language that powers user-generated experiences on the Roblox platform. It is a statically-typed language, based on the dynamically-typed Lua language, with type inference. These types are used for providing editor assistance in Roblox Studio, the IDE for authoring Roblox experiences. Due to Roblox's uniquely heterogeneous developer community, Luau must operate in a somewhat different fashion than a traditional statically-typed language. In this paper, we describe some of the goals of the Luau type system, focusing on where the goals differ from those of other type systems.
翻译:Luau 是一种脚本语言,它赋予了用户在 Roblox 平台上产生的经验。它是一种静态类型语言,基于动态型Lua 语言,带有类型的推论。这些类型用于在 Roblox 工作室提供编辑协助,该工作室是撰写 Roblox 经验的 IDE 。由于Roblox 的独特多元开发者社群, Luau 必须以与传统静态型语言略有不同的方式运作。在本文件中,我们描述了Luau 类型系统的一些目标,重点是目标与其他类型系统不同的地方。