REBOL 3.0

Comments on: The Tale of Two Consoles

Carl Sassenrath, CTO
REBOL Technologies
15-Jan-2008 19:44 GMT

Article #0110
Main page || Index || Prior Article [0109] || Next Article [0111] || 1 Comments || Send feedback

Definition: In REBOL the console is the interface where PRINT and INPUT send and receive character I/O.

R3 will support two types of consoles. They are defined by these two R3 host devices:

 DevStdIOThe raw character stream. This is the stdio supported by the default host operating system, and is identical to that used by all other "shell" applications. It has limited features; however, it is often used by servers and other applications via stdio file redirection methods.
 DevConsoleThe advanced and user-friendly GUI console. Similar to R2, this console appears in its own special window and provides many useful features such as history, auto-indentation, word/file name completion.

It is important to know that these devices serve different purposes.

For example, if you are writing a CGI command server, you will want to use DevStdIO because it is file stream based and very efficient in startup and execution.

However, if you are writing and debugging code, you will want to use DevConsole. We expect this console to expand into being more like a mini-IDE. It will also show backtrace information, support breakpoints, step through lines of code, and hot-link to definitions and documents. These are code productivity features that most programmers would like to have in REBOL.

The current alpha versions of R3 only support the DevStdIO console. Although limited in features, it serves its use for an alpha version. Please keep this in mind.

It should be noted that these two console devices are affected in different ways by Unicode. The DevStdIO stream is defined by the Unicode modes supported by the native OS. In those cases where the native OS does not support Unicode, then the R3 DevStdIO device (open source code) must translate to whatever code pages are supported by the host OS.

The DevConsole uses its own graphics and Unicode text rendering system. As long as the fonts (and font renderer such as FreeType) are available, this console will interface in Unicode. It is an R3 goal to make sure this works well for all popular languages worldwide.

1 Comments

Comments:

Brian Tiffin
15-Jan-2008 21:32:33
The part about hot links to definitions in DevConsole caught my attention. Woohoo! LOCATE funtionality? Umm, groovy.
Cheers,

Post a Comment:

You can post a comment here. Keep it on-topic.

Name:

Blog id:

R3-0110


Comment:


 Note: HTML tags allowed for: b i u li ol ul font span div a p br pre tt blockquote
 
 

This is a technical blog related to the above topic. We reserve the right to remove comments that are off-topic, irrelevant links, advertisements, spams, personal attacks, politics, religion, etc.

REBOL 3.0
Updated 13-Dec-2024 - Edit - Copyright REBOL Technologies - REBOL.net