最近看到了网上关于rebol的介绍,听说这个语言是非常强大的,百度上的介绍:
REBOL发音为“reb-ol”(类似“rebel with a cause”中的),代表“基于相关表达式的对象语言”(relative expression based object language)。他第一次发布是在1997年,当时支持三个操作系统。到2004年,已经推出了2.5.x版,支持43个平台。
优点:
1、跨平台
2、简单易写:比流行语言易学,并且编出程序的长度很短;
3、内建多种internet通信协议;
4、免费;
5、核心小
6、安全
7、适合写c/s程序
缺点:
1、gui组件相当不全
2、不支持中文
3、缺少文件
4、无web server模块
可以在http://www.rebol.com/download.html下载其安装文件
用tar xvzf rebol-core-278-4-2.tar.gz,并将rebol-core拷贝到用户目录下
$ cd rebol-core
$ ./rebol
REBOL/Core 2.7.8.4.2 (2-Jan-2011)
Copyright 2011 REBOL Technologies
REBOL is a Trademark of REBOL Technologies
All rights reserved.
Finger protocol loaded
Whois protocol loaded
Daytime protocol loaded
SMTP protocol loaded
ESMTP protocol loaded
POP protocol loaded
IMAP protocol loaded
HTTP protocol loaded
FTP protocol loaded
NNTP protocol loaded
>> what
! [value]
!= [value1 value2]
!== [value1 value2]
* [value1 value2]
** [number exponent]
+ [value1 value2]
++ ['word]
- [value1 value2]
-- ['word]
/ [value1 value2]
// [value1 value2]
< [value1 value2]
<= [value1 value2]
<> [value1 value2]
= [value1 value2]
== [value1 value2]
=? [value1 value2]
> [value1 value2]
>= [value1 value2]
? ['word]
?? ['name]
about []
abs [value]
absolute [value]
access-os [field /set value]
action? [value]
add [value1 value2]
ajoin [block]
alias [word name]
all [block]
also [value1 value2]
alter [series value /case]
and [value1 value2]
and~ [value1 value2]
any [block]
any-block? [value]
any-function? [value]
any-object? [value]
any-path? [value]
any-string? [value]
any-type? [value]
any-word? [value]
append [series value /only]
apply [func block /only]
arccosine [value /radians]
arcsine [value /radians]
arctangent [value /radians]
array [size /initial value]
as-binary [string]
as-pair [x y]
as-string [string]
ascii? [value]
ask [question /hide]
assert [conditions /type]
at [series index]
attempt [value]
back [series]
binary? [value]
bind [words known-word /copy]
bind? [words]
bitset? [value]
block? [value]
body-of [value]
bound? [words]
break [/return value]
browse [value /only]
build-attach-body [body files boundary]
build-markup [content /quiet]
build-tag [values]
call [cmd /input in /output out /error err /wait /console /shell /info /show]
case [block /all]
catch [block /name word]
cause-error [err-type err-id args]
cd ['path]
change [series value /part range /only /dup count]
change-dir [dir]
char? [value]
charset [chars]
checksum [data /tcp /secure /hash size /method word /key key-value]
clean-path [target]
clear [series]
close [port]
closure [spec body]
closure? [value]
collect [body /into output]
collect-words [block /deep /set /ignore words]
comment [value]
complement [value]
component? [name]
compose [value /deep /only]
compress [data]
confirm [question /with choices]
connected? []
construct [block /with object]
context [blk]
copy [value /part range /deep]
copy* [value /part range /deep]
cosine [value /radians]
cp [value /part range /deep]
create-link [source dest /start dir /note desc /args arg-str]
cvs-date [date]
cvs-version [str]
datatype? [value]
date? [value]
debase [value /base base-value]
decimal? [value]
decloak [data key /with]
decode-cgi [args]
decode-url [url]
decompress [data]
default ['word value]