Content deleted Content added
Edited to add the new official logo |
Take a first stab at a decent three-paragraph introduction. |
||
Line 18:
| file_ext =
}}
'''Red''' is both an [[imperative programming|imperative]] and [[functional programming]] [[programming language|language]] introduced in 2011 by Nenad Rakocevic. Its syntax and general usage directly overlaps with that of the interpreted [[REBOL]] language (which was introduced in 1997). Yet the implementation choices of Red were geared specifically to overcoming limitations of REBOL, creating what Rakocevic calls a "full stack programming language". Red can be used for extremely high-level programming ([[Domain-specific language|DSL]]s and [[Graphical user interface|GUI]]s) as well as low-level programming ([[Operating system|operating systems]] and [[Device driver|device drivers]]).
The Red programming language was presented during the [[Software Freedom Day]] 2011<ref name="sfd">[http://www.softwarefreedomday.eu/2011/Red.html « Red »], ''softwarefreedomday.eu'', september 14, 2011.</ref>{{;}}<ref>[http://www.red-lang.org/2011/09/red-at-software-freedom-day-2011.html « Red Programming Language: Red at Software Freedom Day 2011 »], ''red-lang.org'', september 14, 2011.</ref> giving to its author a large audience; the video is still on the SFD homepage since September 2011. Rakocevic is also the joint winners of the REBOL of the Year 2011 election.<ref>[http://devcon.esperconsultancy.nl/ « Red & REBOL DevCon Winter 2012 »], ''devcon'', winter 2012.</ref> Red was first introduced in the [[Netherlands]] on February 2011 at the ''REBOL & Boron conference''<ref>[http://www.osnews.com/story/24798/New_Red_Programming_Language_Gets_Syllable_Backend « New Red Programming Language Gets Syllable Backend »], ''osnews.com'', May 2011.</ref> by its author, who is also known to be the creator of the Cheyenne [[HTTP server]].<ref>[http://development.syllable.org/news/2011-05-28-00-37-First-Red-program-on-SyllableDesktop.html « Red Alert! »], ''syllable.org'', May 2011.</ref>▼
Key to the approach is that the language has two parts: '''Red/System''' and '''Red'''. The former is similar to C, but packaged into a REBOL lexical structure ''(e.g. one would write "if x > y [print {Hello}]" instead of "if (x > y) {printf("Hello\n");}")''. Red itself is a [[Homoiconicity|homoiconic language]] capable of meta-programming, whose semantics are more similar to REBOL's. Its runtime library is written in Red/System, and uses a hybrid approach: it [[Compiled language|compiles]] what it can deduce statically, has a [[Just-in-time compilation|just-in-time compiler]] for cases that can make use of it, and falls back onto an embedded [[Interpreter_(computing)|interpreter]] when neither of those approaches will suffice.
Red seeks to remain independent of any other toolchain, and thus does its own code generation. It's therefore possible to [[Cross compiler|cross-compile]] Red programs from any platform it supports to any other, via a command-line switch. Both Red and Red/System are distributed as [[free software]] under the [[BSD licenses#3-clause_license_.28.22New_BSD_License.22_or_.22Modified_BSD_License.22.29|modified BSD license]]. The runtime library is distributed under the more permissive [[Boost Software License]].
==Language Schema==
[[File:Red_architecture_small.PNG]]
==Introduction==
▲The Red programming language was presented during the [[Software Freedom Day]] 2011<ref name="sfd">[http://www.softwarefreedomday.eu/2011/Red.html « Red »], ''softwarefreedomday.eu'', september 14, 2011.</ref>{{;}}<ref>[http://www.red-lang.org/2011/09/red-at-software-freedom-day-2011.html « Red Programming Language: Red at Software Freedom Day 2011 »], ''red-lang.org'', september 14, 2011.</ref> giving to its author a large audience; the video is still on the SFD homepage since September 2011. Rakocevic is also the joint winners of the REBOL of the Year 2011 election.<ref>[http://devcon.esperconsultancy.nl/ « Red & REBOL DevCon Winter 2012 »], ''devcon'', winter 2012.</ref> Red was first introduced in the [[Netherlands]] on February 2011 at the ''REBOL & Boron conference''<ref>[http://www.osnews.com/story/24798/New_Red_Programming_Language_Gets_Syllable_Backend « New Red Programming Language Gets Syllable Backend »], ''osnews.com'', May 2011.</ref> by its author, who is also known to be the creator of the Cheyenne [[HTTP server]].<ref>[http://development.syllable.org/news/2011-05-28-00-37-First-Red-program-on-SyllableDesktop.html « Red Alert! »], ''syllable.org'', May 2011.</ref>
==References==
|