现在的位置: 首页 > 综合 > 正文

DSL应用集成和Rhino 3

2011年12月09日 ⁄ 综合 ⁄ 共 451字 ⁄ 字号 评论关闭
文章目录

应用中集成DSL

Naming conventions

Ordering the execution of scripts

Performance considerations when using a DSL

Segregating the DSL from the application

clip_image002

集中集成方式的优缺点

BOO汇总和Rhino

clip_image004

DSL infrastructure should meet:

ƒ Codify common DSL idioms so you don’t have to keep rewriting them

ƒ Handle caching of DSL scripts

ƒ Abstract the compiler bootstrapping

ƒ Batch compile DSLs

ƒ Manage ordering and script discovery

ƒNot harm the DSL’s extensibility

Rhino DSL is the result of several years’ experience building DSLs and dealing withthese issues.

抱歉!评论已关闭.