Rebol Tutorial

Rebol Programming - Learn Rebol with Real-World Examples

Archives for Code Generation

A nice interactive editor to create Javascript Objects Fast (with or without Object Prototype)

A nice interactive editor to create Javascript Objects Fast (with or without Object Prototype)
As David Crockford puts it JavaScript's syntax looks like "C-like syntax, including curly braces and the clunky for statement". So here's a nice interactive editor to alleviate the clunly stuffs by allowing you to create a Javascript Object by just typing: to-js Product or for a more refined version (see at ...more»

Fastest Way to Generate Propel Schema for PHP Symfony Framework

Fastest Way to Generate Propel Schema for PHP Symfony Framework
In our article "Creating an OOP Class-Based Language with a Prototype-Based OOP Language", we said: Why try to create a class-based OOP language from a prototyped-base OOP language ? The reasons to do so are numerous like simulating an other language or use it as a model for building Semantic Layers ...more»
14 Dec by admin in All, C#, Code Generation, Concept, OOP

Creating a Class-Based OOP Language: Adding Class Constructors Support (Advanced User)

Creating a Class-Based OOP Language: Adding Class Constructors Support (Advanced User)
This part is for advanced users only. Beginners should really read previous articles (see related articles at the end) before being able to understand this one. From First Part (that one was very easy), we have defined these two functions: Class: func] new: func ] ] Let's say we have added the constructor Person (method ...more»
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»
30 Oct by admin in All, Code Generation, Concept, Parsing

Understanding Rebol’s Words: Beyond Numbers and Strings

Understanding Rebol’s Words: Beyond Numbers and Strings
When learning Rebol, one of the first thing you would learn is how to store a number or a string in a "variable" like this: >> a: 5 == 5 >> b: "abc" == "abc" >> I put the term variable between quotes because 'a and 'b are not exactly equivalent to variables in the same ...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»
9 Sep by admin in All, Automation, Code Generation, GUI

How to automatically generate a Simple VID Form

How to automatically generate a Simple VID Form
AskCodeGeneration.com is a project which is still in development phase. But you can already use it to automatically generate a simple VID Form (more complex form coming soon) - like the one in this VID tutorial by typing (see do/args refinement tutorial) or pasting the command below in Rebol Console: do/args ...more»
22 Aug by admin in All, Automation, Beginner, Code Generation, HTML

How to generate hundreds of static web pages from a Web Template and a simple text data file

How to generate hundreds of static web pages from a Web Template and a simple text data file
It is well known fact that static website is better for SEO (Google does say it on their Webmaster Best Practice Pages). Let's say I want to generate a Directory for my list of Rebol Based Companies using this professional looking Business Directory Web Template to obtain this. Suppose I ...more»

Easy yUML Dialect: UML Diagram Scripting Tool for Mere Mortals - Part I (Use Case Diagram)

Easy yUML Dialect: UML Diagram Scripting Tool for Mere Mortals - Part I (Use Case Diagram)
yUML is an UML scripting tool from yUml.me (crafted by Tobin Harris) that is easy to use. Still it may be too cryptic for non-IT Business Analysts who would prefer to be able to write complete english sentences instead of mathematical-like symbology. Rebol can make it even easier with a ...more»
Page 1 of 2:1 2 »