Red (programming language): Difference between revisions

Content deleted Content added
Mention OS/X support, as that's kind of more popular than Syllable...
Red is not "Free Software" per the Stallman/GPL definition, it is "open-source software"
Line 23:
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 [[freeopen-source 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==