SRecode is the Semantic Recoder. Where Semantic will parse source files into lists of tags, the Semantic Recoder will aid in converting Semantic tags and various other information back into various types of code.
While the SRecode tool provides a template language, templates for several languages, and even a sequence of heuristics that aid the user in choosing a template to insert, this is not the main goal of SRecode.
The goal of SRecode is to provide an application framework where someone can write a complex code generator, and the underlying template commonality allows it to work in multiple languages with ease.
|Quick Start||Basic Setup for template insertion.|
|User Templates||Custom User Templates|
|Parts of SRecode||Parts of the system|
|SRecode Minor Mode||A minor mode for using templates|
|Template Writing||How to write a template|
|Dictionaries||How dictionaries work|
|Developing Template Functions||How to write your own template insert functions.|
|Template Naming Conventions||Creating a set of core templates|
|Inserting Tag Lists||Inserting Semantic tags via templates|
|Application Writing||Writing an SRecoder application|
|GNU Free Documentation License||The license for this documentation.|
Copyright © 2007–2021 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with the Front-Cover Texts being “A GNU Manual,” and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled “GNU Free Documentation License”.
(a) The FSF’s Back-Cover Text is: “You have the freedom to copy and modify this GNU manual.”