DSL应用集成和Rhino 3
应用中集成DSLNaming conventions
Ordering the execution of scripts
Performance considerations when using a DSL
Segregating the DSL from the application
http://images.cnblogs.com/cnblogs_com/2018/201208/201208050938219935.jpg
集中集成方式的优缺点
BOO汇总和Rhino
http://images.cnblogs.com/cnblogs_com/2018/201208/20120805093823575.jpg
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.
页:
[1]