lingo开发dsl入门

2022-05-27  本文已影响0人  wwq2020

dsl

DSL是针对某个领域而设计的特定语言,解决这个领域的问题(如HTML,SQL)

lingo

lingo是一个易扩展的用于设计dsl的框架
详见

lingo-demo

执行

git clone https://github.com/wwq-2020/lingo-demo.git
go build  
./lingo-demo script.rtg  > out.txt

得到out.txt,cat out.txt输出

10
9
8
7
6
5
4
3
2
1

上一篇 下一篇

猜你喜欢

热点阅读