哪种语言(在 JVM 上运行)最适合创建 DSL? [英] Which language (that runs on JVM) is best suited for creating a DSL?

查看:26
本文介绍了哪种语言(在 JVM 上运行)最适合创建 DSL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要创建复杂的固定长度和可变长度字符串.这些字符串可能代表客户资料、订单等.你们建议使用哪种基于 JVM 的编程语言?

We have a requirement to create complex fixed length and variable length Strings. These strings might represent a customer profile, an order etc. Which JVM based programming language do you guys suggest?

想法是让最终用户使用此 DSL 创建字符串.所以我正在寻找验证、代码完成等.

Idea is for a end user to create the strings using this DSL. So I am looking for validation, code completion etc.

推荐答案

With Xtext (http://www.eclipse.org/Xtext/) 在指定 DSL 时免费获得一个不错的编辑器.

With Xtext (http://www.eclipse.org/Xtext/) you get a nice editor for free when specifying your DSL.

这篇关于哪种语言(在 JVM 上运行)最适合创建 DSL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆