Creating meta language with Java

前端 未结 5 1628
清歌不尽
清歌不尽 2020-12-04 04:13

guys! I need to create some sort of meta language which I could embed in XML and then parse with Java. For example:


    [if value1>value2 the         


        
5条回答
  •  天命终不由人
    2020-12-04 04:28

    It is almost certain that a homemade language would suck, especially in the long run, so don't roll something on your own.

    There are several jsp-like frameworks available, maybe one of those would do the trick:

    JSTL/JSP EL (Expression Language) in a non JSP (standalone) context

提交回复
热议问题