AIFeed

Langium:开源语言工程工具,原生支持 Language Server Protocol

Translation(model translation, not the source's own text)

_ TypeScript 集成

Langium 生成类型化的抽象语法树(AST)定义,完美契合你的语法,并提供实用函数来帮助你导航和处理 AST。

_ 源于经验的质量

Langium 基于多年来对 Xtext 的实际应用经验开发而成,Xtext 是全球众多项目和产品不可或缺的组成部分。我们将这些经验用于将语言工程推向新的高度。

_ 低入门门槛

Langium 的主要目标是降低创建 DSL 或低代码平台的门槛。我们通过提供一种描述语言语法和结构的特殊 DSL 来实现这一点:语法语言。

_ 你的语言,无处不在

Langium 完全基于 Web 技术构建,不仅可用于基于 Node.js 的环境,在浏览器中同样运行良好。当打包为语言服务器时,你可以将其连接到大多数现代 IDE。

_ 默认精简,按设计可定制

利用 Language Server Protocol 的强大能力,Langium 为大多数功能提供了实用的默认实现。如果你需要特殊功能,可以用自定义实现覆盖默认实现。

_ 多样化用途

你可以轻松将基于 Langium 的 DSL 打包为命令行界面(CLI),以创建丰富的互联工具集:验证器、解释器、代码生成器、服务适配器等。

Only about 593 characters could be extracted — the rest did not come through (common on sites that need scrolling or a login). Read the original for the full piece.

Published by Lobsters
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗