Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamanlan authored Apr 25, 2020
1 parent 865ac6b commit 62d9753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# DSL
a simple language just like XML but more readable by people.
DSL是一种类似XML的通用的描述语言,在形式上更容易手写与阅读。DSL比XML更接近程序语言的构造,基于DSL的描述可以方便的构建解释器,从而可以很容易建造一个领域特定语言(DSL)。这是为什么直接取名叫DSL的原因,意思是它是一个元语言,可以很方便的用来构造DSL。

## 例1:用来描述一个技能(一个2段的技能,第一段80毫秒,第二段100毫秒,在第二段50毫秒时触发伤害逻辑100011)(另外需要在逻辑上基于解析器将技能描述转换成技能实例)

Expand Down

0 comments on commit 62d9753

Please sign in to comment.