-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
143 lines (138 loc) · 8.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Red Programming Language</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="The world's first full-stack programming language">
<link href="static/bootstrap-combined.min.css" rel="stylesheet">
<link href="static/app.css" rel="stylesheet">
<link href="static/app-theme.css" rel="stylesheet">
<!--[if lt IE 9]><script src="static/html5shiv.min.js"></script><![endif]-->
<!-- Added Baidu Analytics -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?7b7e95fa9956a7c090c1d68887f3fe8c";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body data-target=".content-nav">
<header>
<div class="container">
<div class="row">
<div class="span9">
<h1><img src="static/red-logo.svg" alt="Red Logo" width="81" height="81"/> Red Programming Language</h1>
</div>
<div class="span3">
<menu>
<ul>
<li><a href="https://github.com/red/red" data-title="View GitHub Project" class="menu github"><img src="static/icon-github.png" alt="GitHub"/></a></li>
<li><a href="https://www.red-lang.org/" data-title="Offical Blog" class="menu blog"><img src="static/icon-blog.png" alt="Blog"/></a></li>
</menu>
</div>
</div>
</header>
<section id="body">
<div class="container">
<div class="row">
<div class="span9">
<h3 id="introduction">Introduction</h3>
<p><span style="color: red">R</span>ed is a new programming language, strongly inspired by <a href="http://rebol.com/">REBOL</a>, but with a broader field of usage thanks to its native-code compiler, from system programming to high-level scripting, while providing modern support for concurrency and multi-core CPUs.</p>
<p>Red tackles the software building complexity using a DSL-oriented approach (we call them dialects) . The following dialects are built-in:</p>
<ul>
<li><a href="https://static.red-lang.org/red-system-specs.html">Red/System</a>: a C-level system programming language compiled to native code</li>
<li><a href="http://www.red-lang.org/2013/11/041-introducing-parse.html">Parse</a>: a powerful PEG parser</li>
<li><a href="https://github.com/red/docs/blob/master/en/vid.adoc">VID</a>: a simple GUI layout creation dialect</li>
<li><a href="https://github.com/red/docs/blob/master/en/draw.adoc">Draw</a>: a vector 2D drawing dialect</li>
<li><a href="https://github.com/red/docs/blob/master/en/rtd.adoc">Rich-text</a>: a rich-text description dialect</li>
</ul>
<p>Red has its own complete cross-platform toolchain, featuring an encapper, a native compiler, an interpreter, and a linker, not depending on any third-party library, except for a Rebol2 interpreter, required during the alpha stage. Once 1.0 is reached, Red will be self-hosted. Currently, Red is still at alpha stage and 32-bit only.</p>
<p>More information at <a href="https://www.red-lang.org/">red-lang.org</a>.</p>
<h3 id="download">Download</h3>
<iframe class="dlframe" seamless="seamless" src="https://static.red-lang.org/download.html?reload=true">Sorry, you do not have iframe working</iframe>
<h4>Note for Linux User</h4>
<p>For Linux 64-bit distros, you need to install 32-bit supporting libraries.</p>
<p>If you are using a Debian 7+ or Ubuntu 13.10+ version, you should use libcurl3 with multiarch:</p>
<pre><code> dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libcurl3:i386
</code></pre>
<p>If you are using an Ubuntu 18.04+ version, you should use libcurl4 with multiarch:</p>
<pre><code> dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libcurl4:i386</code></pre>
<p>For Fedora/Redhat/Centos distros:</p>
<pre><code> sudo yum install glibc.i686
sudo yum install libcurl.i686</code></pre>
<p>For FreeBSD, no prebuilt binaries yet, you need to cross-compile, or get the Red sources, a Rebol interpreter (<a href="http://www.rebol.com/downloads/v278/rebol-core-278-7-2.tar.gz" target="_blank">here</a>) and a couple packages: <span style="font-family: "courier new" , "courier" , monospace;">libcrypto.so.8</span>, which can be found in the openssl package, and <span style="font-family: "courier new" , "courier" , monospace;">libcurl.so.4</span> (temporary dependency):</p>
<pre><code> pkg install openssl
pkg install fpc-libcurl-3.0.2</code></pre>
<p>For ArchLinux (Manjaro included), there is a Red package <a href="https://aur.archlinux.org/packages/red/" target="_blank">here</a>. Or you can run above Linux binary after installing 32-bit support with:</p>
<pre><code> pacman -S lib32-curl
</code></pre>
<h3 id="contributing">Contributing</h3>
<p>If you want to contribute code to the Red project be sure to read the <a href="https://github.com/red/red/wiki/%5BDOC%5D-Contributor-Guidelines">guidelines</a> first.</p>
<p>It is usually a good idea to inform the Red team about what changes you are going to make in order to ensure that someone is not already working on the same thing. You can reach us through our <a href="https://gitter.im/red/red">chat room</a>.</p>
<p>Satisfied with the results of your change and want to issue a pull request on Github? Make sure the changes pass all the existing tests, add relevant tests to the test-suite, and please test on as many platforms as you can. You can run all the tests using (from Rebol console, at repository root):</p>
<pre><code>>> do %run-all-tests.r</code></pre>
<h3 id="license">License</h3>
<p>Both Red and Red/System are published under <a href="http://www.opensource.org/licenses/bsd-3-clause">BSD</a> license, runtime is under <a href="http://www.boost.org/users/license.html">BSL</a> license. BSL is a bit more permissive license than BSD, more suitable for the runtime parts.</p>
</div>
<div class="span3">
<div class="content-nav" data-spy="affix" data-offset-top="80">
<ul class="nav nav-tabs nav-stacked primary">
<li><a href="#introduction">Introduction</a></li>
<li><a href="#download">Download</a></li>
<li><a href="#contributing">Contributing</a></li>
<li><a href="#license">License</a></li>
</ul>
<ul class="nav nav-pills nav-stacked secondary">
<li><a href="https://gitter.im/red/red/welcome?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://badges.gitter.im/Join%20Chat.svg" alt="GITTER JOIN CHAT" /></a></li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="span12 logo">
Hosted by <a href="https://pages.github.com">Pages</a>.
</div>
</div>
</div>
</section>
<script src="https://ajax.proxy.ustclug.org/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="static/bootstrap.min.js"></script>
<script src="static/jquery.smooth-scroll.min.js"></script>
<script src="static/jquery-maven-artifact.min.js"></script>
<script src="static/prettify.js"></script>
<script type="text/javascript">
$(function() {
// Syntax highlight code blocks.
prettyPrint();
// Spy on scroll position for real-time updating of current section.
$('body').scrollspy();
// Use smooth-scroll for internal links.
$('a').smoothScroll();
// Enable tooltips on the header nav image items.
$('.menu').tooltip({
placement: 'bottom',
trigger: 'hover',
container: 'body',
delay: {
show: 500,
hide: 0
}
});
// Look up the latest version of the library.
//$.fn.artifactVersion('com.squareup.picasso', 'picasso', function(version, url) {
// $('.version').text(version);
// $('.version-tag').text('v' + version);
// $('.version-href').attr('href', url);
//});
});
</script>
</body>
</html>