Rebol Tutorial

Rebol Programming - Learn Rebol with Real-World Examples

Tag archives for Code Generation

6 Dec by admin in All, Automation, Code Generation, HTML, Parsing

HTML scaffolding - Create an HTML form by just writing its specification

HTML scaffolding - Create an HTML form by just writing its specification
Scaffolding is generally used for Database Persistence Framework, according to Wikipedia Scaffolding is a meta-programming method of building database-backed software applications. It is a technique supported by some model-view-controller frameworks, in which the programmer may write a specification that describes how the application database may be used. The compiler uses this ...more»
16 Oct by admin in All, Automation, C#, Code Generation

Easily Integrate Rebol with Visual Studio Express as Code Generator (Part II)

Easily Integrate Rebol with Visual Studio Express as Code Generator (Part II)
In part I, we created 2 Rebol Templates which generate a new form (.cs and .Designer.cs) within the Visual Studio Project directory. Unfortunately, Visual Studio doesn't detect and ask if we would like to add them automatically. If we really want to do this manually, we have to automate further. To ...more»
20 Sep by admin in All, C#, Code Generation

Easily Integrate Rebol with Visual Studio Express as Code Generator (part I)

Easily Integrate Rebol with Visual Studio Express as Code Generator (part I)
Rebol has a powerfull range of tools for generating code. So why not integrate it with IDEs like Visual Studio ? Yes, I know it's no more a secret that Visual Studio Professional and above supports its own Templating Engine (T4) but not Visual Studio Express Edition. Also Rebol can ...more»

Create your own DSL for Java or C# (part 4): adding a Semantic Layer

Create your own DSL for Java or C# (part 4): adding a Semantic Layer
According to Martin Fowler: In the context of a DSL, a semantic model is an in-memory representation, usually an object model, of the same subject that the DSL describes. The Semantic Model increases the flexibility in parsing and also in execution. You can execute the Semantic Model directly or you can ...more»