The syntax definition formalism SDF—reference manual—
ACM SIGPLAN Notices
LFP '86 Proceedings of the 1986 ACM conference on LISP and functional programming
Domain specific embedded compilers
Proceedings of the 2nd conference on Domain-specific languages
Software—Practice & Experience
Meta-programming with Concrete Object Syntax
GPCE '02 Proceedings of the 1st ACM SIGPLAN/SIGSOFT conference on Generative Programming and Component Engineering
Generating Robust Parsers using Island Grammars
WCRE '01 Proceedings of the Eighth Working Conference on Reverse Engineering (WCRE'01)
MetaML and Multi-Stage Programming with Explicit Annotations
MetaML and Multi-Stage Programming with Explicit Annotations
Code Generation in Action
Term rewriting with traversal functions
ACM Transactions on Software Engineering and Methodology (TOSEM)
Expert One-on-One J2EE Development without EJB
Expert One-on-One J2EE Development without EJB
Enforcing strict model-view separation in template engines
Proceedings of the 13th international conference on World Wide Web
Toward an engineering discipline for grammarware
ACM Transactions on Software Engineering and Methodology (TOSEM)
Accomplishments and research challenges in meta-programming
SAIG'01 Proceedings of the 2nd international conference on Semantics, applications, and implementation of program generation
Statically safe program generation with safegen
GPCE'05 Proceedings of the 4th international conference on Generative Programming and Component Engineering
GTTSE'05 Proceedings of the 2005 international conference on Generative and Transformational Techniques in Software Engineering
HTML templates that fly: a template engine approach to automated offloading from server to client
Proceedings of the 18th international conference on World wide web
Model-Driven Engineering Meets Generic Language Technology
Software Language Engineering
Software Language Engineering
Using Metrics for Assessing the Quality of ASF+SDF Model Transformations
ICMT '09 Proceedings of the 2nd International Conference on Theory and Practice of Model Transformations
Generating safe template languages
GPCE '09 Proceedings of the eighth international conference on Generative programming and component engineering
Abstract parsing for two-staged languages with concatenation
GPCE '09 Proceedings of the eighth international conference on Generative programming and component engineering
Automatic generation of network protocol gateways
Proceedings of the 10th ACM/IFIP/USENIX International Conference on Middleware
Automatic generation of network protocol gateways
Middleware'09 Proceedings of the ACM/IFIP/USENIX 10th international conference on Middleware
Interactive disambiguation of meta programs with concrete object syntax
SLE'10 Proceedings of the Third international conference on Software language engineering
Less is more: unparser-completeness of metalanguages for template engines
Proceedings of the 10th ACM international conference on Generative programming and component engineering
Hi-index | 0.00 |
Templates are a very common solution to generate code. They are used for different tasks like rendering webpages, creating Java Beans and so on. Most template systems have no notion of the object language and just generate text. The drawback of this approach is the possibility to generate syntactical incorrect code. This can lead to all kinds of annoying errors. In this paper we present an approach for a syntax safe template engine. Syntax safety guarantees that the generated code can be correctly parsed. To ensure this we use the object language grammar to evaluate the template.