DSL应用集成和Rhino 3
应用中集成DSL
Naming conventions
Ordering the execution of scripts
Performance considerations when using a DSL
Segregating the DSL from the application
集中集成方式的优缺点
BOO汇总和Rhino
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.