Relative Expression Based Object Language, or REBOL, is cross-platform and is based on symbolic processing and denotational semantics. It's powered by relative expressions called dialects.
5
votes
0answers
53 views
Expressing Rebol Dates in BNF
I'm looking to define the Rebol date format in BNF notation (as adapted for Rebol Parse). I'd like as best as possible to only define valid dates—at least those that are valid in Rebol at the moment:
...
4
votes
1answer
81 views
Expressing Rebol Dates in EBNF
I'm looking to define the Rebol date format in EBNF notation. I'd like as best as possible to only define valid dates—at least those that are valid in Rebol at the moment:
...
9
votes
2answers
144 views
Find arity of a rebol function
I needed a way to find the number of arguments a function or operation in Rebol accepts (the functions arity). I could not find any direct support for this in the language, so I made my own ...
4
votes
1answer
62 views
'Sort By' Function for Rebol
I'm looking for a more consise way to sort a block of objects. Where you can sort a block of blocks based on the numeric position of the values to compare, there's no such shorthand for comparing ...
7
votes
1answer
71 views
Dice Calculation Dialect
As a sample of dialects and teaching myself parse with block! values, I wrote the following dice dialect with the following ...
5
votes
0answers
77 views
Implementing Simple Diff in Rebol
I've taken a crack at implementing Simple Diff in Rebol (versions 2 and 3). Simple Diff works by finding the longest common sequence in two series, then recursively applies itself either side of ...
4
votes
1answer
103 views
Interface and implementation of this replacement for Rebol/Red REJOIN
This is a draft implementation of a function called COMBINE. It's not intended to be a complex formatting dialect, just a replacement for REJOIN that has a better name and more useful behavior. ...
5
votes
1answer
94 views
Rebol Function to Categorize Items in a Block
I have a function that iterates through a block, tests each value against a given function and is placed in a block associated with the product of that function.
...
7
votes
1answer
163 views
Rebol View layout compose, seek minima notation
I am attempting to break down a Rebol View into a Forth style 'divide and conquer' word set, to optimize readability and organization, and to segregate the business logic from the view layout inner ...