Content deleted Content added
Rescuing 1 sources and tagging 0 as dead.) #IABot (v2.0.9.5 |
|||
(8 intermediate revisions by 5 users not shown) | |||
Line 3:
| name = Red
| logo = Red Language Tower Logo.png
| logo size = 160px
| logo caption =
| paradigm = [[Programming paradigm|Multi-paradigm]]: [[Imperative programming|imperative]], [[functional programming|functional]], [[symbolic programming|symbolic]]
| designer = Nenad Rakočević<ref>{{cite web |title=Creator of Red |website=[[GitHub]] |url=https://github.com/dockimbel}}</ref>
| developer = Nenad Rakočević
| latest release date =
| typing =
| implementations =
Line 13 ⟶ 14:
| influenced =
| license = [[modified BSD license|modified BSD]] and [[Boost Software License|Boost]]
| website = {{
| logo_alt = Red Logo (stylized Tower of Hanoi)
| year = 2011
| latest_release_version = 0.6.
| influenced_by = [[Rebol]], [[Lisp (programming language)|Lisp]], [[Scala (programming language)|Scala]], [[Lua (programming language)|Lua]]
| operating_system = [[Linux]], [[Windows]], [[OS X]]
| file_ext = .red, .reds
}}
'''Red''' is a [[programming language]] designed to overcome the limitations of the programming language [[Rebol]].<ref name="GS">{{cite web |title=Getting Started with GUI Programming using Red Language |url=https://www.studytonight.com/post/getting-started-with-gui-programming-using-red-programming-language |website=Studytonight |access-date=September 17, 2021}}</ref> Red was introduced in 2011 by Nenad Rakočević,{{Sfn|Balbaert|2018}} and is both an [[imperative programming|imperative]] and [[functional programming]] language. Its syntax and general usage overlaps that of the interpreted Rebol language.<ref>{{cite web |title=Interview with Nenad Rakocevic about Red, a Rebol inspired programming language |url=https://www.notamonadtutorial.com/interview-with-nenad-rakocevic-about-red-a-rebol-inspired-programming-language/
The implementation choices of Red intend to create a [[Solution stack|full stack]] programming language:{{Sfn|Balbaert|2018}}<ref name="MUO">{{cite web |title=6 Unusual & Groundbreaking Programming Languages to Learn in 2023|url=https://www.makeuseof.com/programming-languages-to-learn-in-2023/ |website=makeuseof.com |date=18 October 2023}}</ref> 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]]s and [[device driver]]s). Key to the approach is that the language has two parts: ''Red/System'' and ''Red''.<ref name="developpez">{{cite news |last1=Lucas |first1=Mathis |title=Red: an imperative and functional programming language that is also a "full battery" language|url=https://programmation.developpez.com/actu/346670/Red-un-langage-de-programmation-imperatif-et-fonctionnel-et-decrit-comme-un-langage-a-pile-complete-c-est-a-dire-qu-il-peut-etre-utilise-pour-la-programmation-de-haut-niveau-et-de-bas-niveau/ |newspaper=Developpez.com |date=21 July 2023 |access-date=16 January 2023}}</ref>
* ''Red/System'' is similar to C, but packaged into a Rebol lexical structure{{snd}} for example, one would write {{Smalltalk|if x > y [print "Hello"]}} instead of {{C-lang|if (x > y) {printf("Hello\n");} }}.
* ''Red'' is a [[homoiconicity|homoiconic language]], which is capable of [[meta-programming]] with Rebol-like semantics.<ref name="GS"
Red seeks to remain independent of any other [[toolchain]]; it does its own code generation.<ref name="GS"
As of version 0.6.4 Red includes a [[garbage collection (computer science)|garbage collector]] "the Simple GC".<ref name=GC>{{Cite web|url=https://www.red-lang.org/2018/12/064-simple-gc-and-pure-red-gui-console.html|title=0.6.4 Simple GC and Pure Red GUI Console|quote=The main feature for 0.6.4 is what we call the Simple GC (Garbage Collector). A more advanced GC is planned for the future |author=lucindamichele|access-date=2018-12-16}}</ref>
Line 39 ⟶ 40:
==Features==
Red's syntax and semantics are very close to those of [[Rebol]].{{Sfn|Balbaert|2018}}<ref>{{cite web |title=The Dynamic Mapping Architecture |url=https://etd.ohiolink.edu/apexprod/rws_etd/send_file/send?accession=toledo1639760375713532&disposition=inline |website=OhioLINK |date=December 2021}}</ref> Like Rebol, it strongly supports [[metaprogramming]] and ___domain-specific languages ([[___domain-specific language|DSLs]]) and is therefore a highly efficient tool for dialecting (creating embedded DSLs). Red includes a dialect called Red/System, a C-level language which provides system programming facilities.<ref name="developpez"
==Goals==
The following is the list of Red's Goals as presented on the [[Software Freedom Day]] 2011:<ref name="Red SFD 2011"
* Simplicity ("An IDE should not be necessary to write code.")
Line 148 ⟶ 149:
[[Category:Cross-platform software]]
[[Category:Free and open source compilers]]
[[Category:Free and open source interpreters]]
[[Category:Software using the BSD license]]
|