rebol Questions
2
Solved
I am reading Rebol Wikipedia page.
"Parse expressions are written in the parse dialect, which, like the do dialect, is an expression-oriented sublanguage of the data exchange dialect. Unlike ...
Rase asked 12/9, 2019 at 14:13
3
Solved
From the REBOL/Core Users Guide, and What is Red, I have learned that both Rebol and Red use definitional scoping.
From the guide, I know it is a form of static scoping, "the scope of a variable i...
4
All port operations in Rebol 3 are asynchronous. The only way I can find to do synchronous communication is calling wait.
But the problem with calling wait in this case is that it will check event...
Appendicular asked 13/11, 2013 at 14:43
2
I'm trying to see if I can use Red (or Rebol) to implement a simple DSL. I want to compile my DSL to source code for another language, perhaps Red or C# or both - rather than directly interpreting ...
3
Solved
I want to remove all characters in a string except:
- or _ or .
A thru Z
a thru z
0 to 9
space
On linux command line, using sed I would do this:
$ echo "testing-#$% yes.no" | sed 's/[^-_.a-zA-...
1
Solved
Sometimes, I tend to do next next a (repeatedly) to get at a particular element.
This works well when you need 2 or less traversals.
However, it gets cumbersome pretty soon. A loop is too much over...
1
the question is about parsing an html stream obtained by load/markup in a way you can get html tags constituent parts, i.e. when you find
<div id="one">my text</div>
you should end...
2
I am trying to make an awk like tool that uses Rebol 3 to process bigger text files with bash pipes and tools. I am having a problem reading STDIN line by line in Rebol 3?
For example this shell ...
1
Set set-net with appropriate values, but get this message when trying to send an email using esmtp.r from rebol.org. Any ideas what this means?
Dentiform asked 19/10, 2016 at 17:36
1
Solved
How to remove the default title bar on rebol?
2
Solved
Using the REBOL/View 2.7.8 Core, I would like to prepare a view layout beforehand by automatically assigning words to various layout items, as in the following example.
Instead of
prepared-view: ...
1
Solved
I am using Rebol 2.7.8.3.1. I am trying to escape an @ symbol in my url, but it is not working. I have also tried manually escaping it, but that does not work either.
I have tried the following:
...
2
Solved
I searched a lot on Google as well as Stackoverflow. I could not find How to get Cookies (or in general, The HTTP Headers)from a Webpage and then edit it and send it back?
[I know how to make POST...
2
Solved
Apparently un-catchable error while toying around with Rebol/Core (278-3-1) to make a kind-of web-server to serve a static text, containing a redirect link to a new service location.
The specific ...
1
Solved
Rebol 2 stopped working on Ubuntu after upgrading to 15.10.
I am getting error-
./rebol
./rebol: error while loading shared libraries: libXaw.so.7: cannot open shared object file: No such file or ...
3
I'm interested in searching on a lot of long strings, to try and hack out a sed-like utility in rebol as a learning exercise. As a baby step I decided to search for a character:
>> STR: "abc...
2
Rebol and Smalltalk's expression evaluating precedences have some similarity, both of them are very simple.
Rebol's evaluation order, according to clauses in http://rebol.com/r3/docs/concepts/math...
3
Rebol2 has an /ANY refinement on the FIND function that can do wildcard searches:
>> find/any "here is a string" "s?r"
== "string"
I use this extensively in tight loops that need to perfor...
1
What are the differences between the different Rebol 3 branches, especially with the new REN branch?
Is it the platforms they'll run on, the feature set, code organization, the C standard complian...
4
Solved
I have a mysql schema like below:
data: {
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(10) DEFAULT '' COMMENT 'the name',
`content` text COMMENT 'something',
}
now I want to ...
1
Solved
I was reading Bindology and tried this:
>> type? first ['x]
== lit-word!
>> type? 'x
== word!
I expected type? 'x to return lit-word! too. Appreciate any insights.
1
An annoying problem I'm having with the REBOL3 REPL is that it won't accept multi-line statements. For instance, I would like to type "some_obj: make obj! [" , hit enter, and then continue the stat...
2
Solved
The only information I can find on the datatype UTYPE! is "not yet been documented for R3" and "user defined datatype", still giving a shred of hope that I can break out of Rebo...
2
Solved
Seeing as you can limit the parameters of functions to specific datatypes, it stands to reason that you might want to define your own datatype, yet I cannot see anything in the Rebol docs that sugg...
Aeolic asked 19/1, 2015 at 13:27
3
Solved
In rebol I have written this very simple function:
make-password: func[Length] [
chars: "QWERTYUIOPASDFGHJKLZXCVBNM1234567890"
password: ""
loop Length [append password (pick chars random Lengt...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.