Questions tagged [rebol]

Rebol is a modern interpreted language where code is data. It isn't object oriented, but has objects. It isn't a functional language but has first class functions. There are virtually no syntax rules or immutable keywords, making it ideal for developing domain-specific "dialects".

Rebol is a homoiconic language with heritage from , , , and . Language focus is on careful control of dependencies, and concern over the size of the interpreter and code...as well as achieving an English-like readability. The project's motto is "Rebel against software complexity".

On 12-Dec-2012, the unfinished ANSI-C sources of the Alpha release of Rebol3 was open-sourced under an Apache 2.0 License. Standalone "zero-install" binaries are available for x86 and ARM platforms--covering Linux/Windows/Mac/Android, 64-bit builds, hard-float compatibility and HaikuOS. Core builds are about half a megabyte, while GUI builds are around 1 megabyte (uncompressed).

(Note: Several forks of the code exist, with a community wiki summary at REBOL3 - what is the difference between the different branches?)

In addition to inheriting the "code is data" paradigm of Lisp, Rebol has a rich type system...natively recognizing patterns like URLs, dates, HTML tags, currency, and binary literals. Of note, Douglas Crockford (of JSON and JSLint) has credited Rebol as a source of inspiration for JSON, adding:

"Rebol's a more modern language, but with some very similar ideas to Lisp, in that it's all built upon a representation of data which is then executable as programs. But it's a much richer thing syntactically.

Rebol is a brilliant language, and it's a shame it's not more popular, because it deserves to be."

    —Douglas Crockford, founder of JSON, 2009 [link]

A modern compiled variant of Rebol which draws in several new concepts is , which is under heavy development.

696 questions
0
votes
1 answer

Better Rebol Syntax than head remove back tail (remove mold b)?

I want to transform a block to strings like this >> b: [field "field1" tab field "field2"] == [field "field1" tab field "field2"] >> head remove back tail (remove mold b) == {field "field1" tab field "field2"} >> Is there a better syntax than this…
Rebol Tutorial
  • 2,738
  • 2
  • 25
  • 36
0
votes
2 answers

Rebol url? function doesn't really detect url?

I want to read the clipboard, if it's an url do some stuff. Problem is url? doesn't do the job as: url? to-url "any string" will return true Is this normal ? How do I do the detection I want then ?
Rebol Tutorial
  • 2,738
  • 2
  • 25
  • 36
0
votes
1 answer

rebol --do doesn't work?

According to this http://www.rebol.com/docs/changes.html#section-1.7 --do should work again but when I tested on Rebview 1.3.2 / Core 2.6.3 rebol.exe helloworld.exe --do "verbose: true" with helloworld.r: probe verbose input This triggers an…
Rebol Tutorial
  • 2,738
  • 2
  • 25
  • 36
0
votes
2 answers

Behavior change from Rebol 2 to Rebol 3 for empty BITSET! testing; how to test EMPTY?

In Rebol 2 you could check for an empty bitset with EMPTY? >> empty? make bitset! #{00} == true In Rebol 3 (Build 21-Feb-2011/0:44:24) this is not the case. >> empty? make bitset! #{00} == false Bug or new behavior? Either way, how else might I…
0
votes
2 answers

Rebol simulating unlimited args any example from what is said here?

http://www.rebol.org/ml-display-thread.r?m=rmlJNWS Graham wrote: Can a function have a variable number of arguments? No. But you can simulate it, by using 'any-type! function specifiers and passing unset! as arguments. Better is to use…
Rebol Tutorial
  • 2,738
  • 2
  • 25
  • 36
0
votes
1 answer

adding image-links to current layout - rebol

I'm playing around with Rebol, and Can't figure out how I can add components from the user back to my layout. I have a layout that has images, taken from image-urls, linked to articles/videos online. I want to add more images linked to their…
madCode
  • 3,733
  • 5
  • 26
  • 31
0
votes
2 answers

rebol script embedded in html: why does it return ?

Rebol [
    Title: "rebol script embedded in html"
    Author-Url: 
        
Rebol Tutorial
  • 2,738
  • 2
  • 25
  • 36
0
votes
1 answer

How to send the http get in Rebol to download an wordpress xml backup file?

I would like to use rebol to download an xml backup of my blog from http://reboltutorial.com/wp-admin/export.php the form is

Options