Questions tagged [red]

The Red language is inspired by the interpreted language Rebol, but is compiled and hence has a wider range of application...from device drivers to high-level purposes. It is functional, imperative and symbolic, with prototype-based object support. Like LISP and Rebol, it is homoiconic and thus its own meta-language. It is both statically and JIT-compiled to native code, with strong support for concurrency and parallelism (actors, parallel collections).

Red is a paradigm-neutral homoiconic language.

Red has a low memory footprint, and has a low disk footprint (< 1MB). Red seeks to be a "full-stack" language whose methodology is independent of any other toolchain. It's goal is to compile that which can be known ahead of time, JIT-compile that which cannot, and embeds a small interpreter into its executables to handle constructions which are not amenable to any compilation.

As an intermediate language (IL) Red uses a C-like language called . Red/System's parser is reused from Red itself...and for which it has its own code generators. The Red executable is able to build Red/System files directly (*.reds) as well as Red files (*.red), and Red/System code may be embedded freely in Red code.

248 questions
0
votes
1 answer

How to access values from panels in Red language

I am using following code to find products of 2 series of numbers and then to find sum of these products: make-row: func [][ compose [ t1: text "N1:" f1: field t2: text "N2: " f2: field t3: text…
rnso
  • 23,686
  • 25
  • 112
  • 234
0
votes
3 answers

Making GUI objects in Red language

I have following simple code for a small panel: view [ t: text "label" f: field button "Click here" [t/text: f/text] ] But I have to make 2 of them and put them on one window. I want to create single object class and make 2 objects…
rnso
  • 23,686
  • 25
  • 112
  • 234
0
votes
1 answer

Garbage collection in Rebol & Red

Do Rebol and Red have automatic or manual methods for garbage collection or memory management to avoid system crashes? If so, what are the methods that can be called manually to clear up memory problems?
rnso
  • 23,686
  • 25
  • 112
  • 234
0
votes
2 answers

Red/System binding for 3D graphics on Raspberry Pi

For someone getting started with Red/System programming on the Raspberry Pi, what is the best way to access the GPU for 3D rendering? Can this method also be used for Rebol3 on the Raspberry Pi?
Respectech
  • 454
  • 4
  • 13
-1
votes
1 answer

Red or Rebol 3: choice is hard

I have tested Red, as for the language It's easy enough as it doesn't differ much from Rebol. But I really miss some console features, the most annoying for me is red --do and autoloading script which are missing. Are they planned ?
user310291
  • 36,946
  • 82
  • 271
  • 487
-1
votes
1 answer

Read https://google.com doesn't work anymore in Red?

Weird, Read https://google.com had been working, and today it doesn't work anymore: read https://google.com *** Access Error: invalid UTF-8 encoding: #{E9206E27}
user310291
  • 36,946
  • 82
  • 271
  • 487
-3
votes
1 answer

red: path o/a is not valid for integer! type

This code works: o: context [ a: 1 ] o/a This one doesn't: o: context [ a: 1 return a ] o o/a * Script Error: path o/a is not valid for integer! type * Where: catch *** Stack: Is there a way to make the second one…
user310291
  • 36,946
  • 82
  • 271
  • 487
-4
votes
1 answer

Which new language would mostly fit for writing an OS

I want to start a small project about writing a new mini OS. There are a lot of new fancy languages nowadays gaining popularity for their safeness and almost c or c++ like performance. Which would be a good fit to write an OS with minimal or no…
alknows
  • 1,972
  • 3
  • 22
  • 26
1 2 3
16
17