red-lang Questions
3
Solved
I'm new to the Red programming language.
I tried to test it by downloading the Linux binary. But when I execute it on the console, I get an error that says:
root@xxx-linux:/home/xxx/Downloads# ./...
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...
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...
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...
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.
4
When I enter this in the Windows CMD...
red -c -t Android hello.red
...Red outputs a file called hello with no filename extension. If I transfer this file to my Android device, it doesn't know w...
1
This is a pattern of optimization in Lisp code that I want to achieve in Red:
(defmacro compute-at-compile (x)
`(+ ,(* pi 2) ,x))
(macroexpand '(compute-at-compile 1))
; => (+ 6.2831853071795...
Stanfill asked 3/3, 2014 at 18:35
1
Solved
I am just getting started with Red and I need help to get the cURL binding working.
The cURL link from the main red-lang site takes you here
http://red.esperconsultancy.nl/Red-cURL/dir?ci=tip
Bu...
1
Solved
How do I make a pointer to the first element in an array in Red/System?
Assigning an address to a pointer is no problem:
my-integer: 1
ptr: declare pointer! [integer!]
ptr: :my-integer
The arra...
Thundercloud asked 19/6, 2013 at 15:14
1
© 2022 - 2024 — McMap. All rights reserved.