wren

所属分类:编程语言基础
开发工具:Wren
文件大小:0KB
下载次数:0
上传日期:2023-06-24 09:54:21
上 传 者sh-1993
说明:  雷恩编程语言。Wren是一种小型、快速、基于类的并发脚本语言。
(The Wren Programming Language. Wren is a small, fast, class-based concurrent scripting language.)

文件列表:
.travis.sh (603, 2022-09-28)
.travis.yml (1168, 2022-09-28)
AUTHORS (1222, 2022-09-28)
CHANGELOG.md (4909, 2022-09-28)
LICENSE (1098, 2022-09-28)
doc/ (0, 2022-09-28)
doc/error-handling.txt (3611, 2022-09-28)
doc/implicit fields.txt (989, 2022-09-28)
doc/instruction counts.txt (1185, 2022-09-28)
doc/notes/ (0, 2022-09-28)
doc/notes/import syntax.md (7836, 2022-09-28)
doc/notes/re-entrancy.md (6110, 2022-09-28)
doc/receiver-less calls 2.txt (4306, 2022-09-28)
doc/receiver-less calls.txt (1896, 2022-09-28)
doc/rfc/ (0, 2022-09-28)
doc/rfc/0001-smarter-imports.md (17844, 2022-09-28)
doc/site/ (0, 2022-09-28)
doc/site/blog/ (0, 2022-09-28)
doc/site/blog/0-hello-wren.markdown (4531, 2022-09-28)
doc/site/blog/1-0.2.0-and-beyond.markdown (4797, 2022-09-28)
doc/site/blog/2-0.3.0-released.markdown (5722, 2022-09-28)
doc/site/blog/3-0.4.0-released.markdown (5342, 2022-09-28)
doc/site/blog/index.markdown (618, 2022-09-28)
doc/site/blog/rss.xml (1586, 2022-09-28)
doc/site/blog/template.html (2148, 2022-09-28)
doc/site/classes.markdown (20716, 2022-09-28)
doc/site/cli/ (0, 2022-09-28)
doc/site/cli/index.markdown (1248, 2022-09-28)
doc/site/cli/modules/ (0, 2022-09-28)
doc/site/cli/modules/index.markdown (548, 2022-09-28)
doc/site/cli/modules/io/ (0, 2022-09-28)
doc/site/cli/modules/io/directory.markdown (374, 2022-09-28)
doc/site/cli/modules/io/file-flags.markdown (1391, 2022-09-28)
doc/site/cli/modules/io/file.markdown (3393, 2022-09-28)
doc/site/cli/modules/io/index.markdown (202, 2022-09-28)
... ...

## Wren is a small, fast, class-based concurrent scripting language Think Smalltalk in a Lua-sized package with a dash of Erlang and wrapped up in a familiar, modern [syntax][]. ```dart System.print("Hello, world!") class Wren { flyTo(city) { System.print("Flying to %(city)") } } var adjectives = Fiber.new { ["small", "clean", "fast"].each {|word| Fiber.yield(word) } } while (!adjectives.isDone) System.print(adjectives.call()) ``` * **Wren is small.** The VM implementation is under [4,000 semicolons][src]. You can skim the whole thing in an afternoon. It's *small*, but not *dense*. It is readable and [lovingly-commented][nan]. * **Wren is fast.** A fast single-pass compiler to tight bytecode, and a compact object representation help Wren [compete with other dynamic languages][perf]. * **Wren is class-based.** There are lots of scripting languages out there, but many have unusual or non-existent object models. Wren places [classes][] front and center. * **Wren is concurrent.** Lightweight [fibers][] are core to the execution model and let you organize your program into an army of communicating coroutines. * **Wren is a scripting language.** Wren is intended for embedding in applications. It has no dependencies, a small standard library, and [an easy-to-use C API][embedding]. It compiles cleanly as C99, C++98 or anything later. If you like the sound of this, [let's get started][started]. You can even try it [in your browser][browser]! Excited? Well, come on and [get involved][contribute]! [![Build Status](https://travis-ci.org/wren-lang/wren.svg?branch=main)](https://travis-ci.org/wren-lang/wren) [syntax]: http://wren.io/syntax.html [src]: https://github.com/wren-lang/wren/tree/main/src [nan]: https://github.com/wren-lang/wren/blob/93dac9132773c5bc0bbe92df5ccbff14da9d25a6/src/vm/wren_value.h#L486-L541 [perf]: http://wren.io/performance.html [classes]: http://wren.io/classes.html [fibers]: http://wren.io/concurrency.html [embedding]: http://wren.io/embedding/ [started]: http://wren.io/getting-started.html [browser]: http://ppvk.github.io/wren-nest/ [contribute]: http://wren.io/contributing.html

近期下载者

相关文件


收藏者