Rebol Tutorial

Rebol Programming - Learn Rebol with Real-World Examples

ad3

Archives for Concept

How to create a Program Launcher (using Rebol Bind Function)

How to create a Program Launcher (using Rebol Bind Function)
I have a personal productivity problem as I have a bunch of programs all over the place on my Desktop or in my Program Files Menu. I tried many launchers freewares but none really satisfied me so I finally decided to use Rebol Shell as my launcher. It's also a ...more»
18 Dec by admin in All, Concept, OOP

How to implement OOP Polymorphism in Rebol

How to implement OOP Polymorphism in Rebol
According to Wikipedia: Parametric polymorphism is a way to make a language more expressive, while still maintaining full static type-safety. A function that can evaluate to or be applied to values of different types is known as a polymorphic function.Also for OOP Language: The primary usage of polymorphism is the ability of ...more»
18 Dec by admin in All, Beginner, Concept, OOP, Syntax

How to group related Global Objects / Functions into “Modules”

How to group related Global Objects / Functions into “Modules”
When program grows, best practice is to organize source code by modules. There's no explicit concept of "Module" per se in Rebol 2 unlike other languages like Ruby and of course Java, .NET, etc. but Rebol could have the same kind of feature by combining the Object or Context type ...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»
1 Nov by admin in All, Architecture, Concept, Hot, OOP, Parsing, UML

How to create a Plug-In Architecture Application Framework - with a parallel comparison with C# (part I)

How to create a Plug-In Architecture Application Framework - with a parallel comparison with C# (part I)
What is a Plug-In Architecture Application Framework? According to this C++ article on Code Guru about Plug-in Architecture Framework for Beginners:Simply speaking, it is a framework that will allow a program to "look for" add-in functionality at startup, and then allow that plug-in to cooperate with itself.Famous examples are Eclipse, ...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»
18 Oct by admin in All, Beginner, Concept, Syntax

Native vs Mezzanine and how to get the source of a Rebol Mezzanine function

Native vs Mezzanine and how to get the source of a Rebol Mezzanine function
There are two types of functions in Rebol:native mezzanineA native function is a compiled function which source code is not accessible whereas a mezzanine function is written in Rebol itself. For example the Parse function is native whereas the build-markup function is mezzanine. So try this in Rebol Console:source build-markupIt will ...more»

[Hot] Map Reduce Functions in Rebol: towards Massive Parallel Functional Programming (part I)

[Hot] Map Reduce Functions in Rebol: towards Massive Parallel Functional Programming (part I)
Joel on Software complained about CS students who are never taught anything but Java:Without understanding functional programming, you can't invent MapReduce, the algorithm that makes Google so massively scalable. The terms Map and Reduce come from Lisp and functional programming. MapReduce is, in retrospect, obvious to anyone who remembers from ...more»

Protect access to your Rebol Script with PHP (kind of Easy Distributed Web Service)

Protect access to your Rebol Script with PHP (kind of Easy Distributed Web Service)
As we have seen since the very beginning, Rebol has the amazing power of being able to execute code remotely. Behind the scene, it will transparently load the script from the server and execute it on your machine as if the web storage was an extension of your disk space.Since ...more»

Rebol and the Grand Unification Theory of Programming Languages

Rebol and the Grand Unification Theory of Programming Languages
WARNING: this is not a post for the faint-hearted. You must abide to the visitation agreement that you are 18 years++ old. Please imagine that you have to check the little box"I have read this Agreement, understand it, and accept its terms"OK ? If Yes Goto Next Else ...more»
Page 1 of 2:1 2 »

ads1

ads2