Which language (that runs on JVM) is best suited for creating a DSL?

后端 未结 8 1462
灰色年华
灰色年华 2021-02-06 02:21

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 lan

相关标签:
8条回答
  • 2021-02-06 02:54

    Use a Lisp that runs on the JVM. Some choices you have:

    1. Clojure
    2. JScheme
    3. SISC
    4. ABCL
    5. Bigloo (Does not run on the JVM but has good Java interoperability).

    There is a good free book that explains how to use Lisp to design software bottom-up, i.e how to grow Lisp into a language that is ideal to solve the problem at hand.

    Languages in the Forth family are also great for defining DSLs. There are a few that runs on the JVM:

    1. Niue
    2. Misty Beach Forth
    0 讨论(0)
  • 2021-02-06 02:55

    I would recommend Groovy for that.

    0 讨论(0)
提交回复
热议问题