Movatterモバイル変換


[0]ホーム

URL:


Jump to content
Rosetta Code
Search

Category:Wren

Help
From Rosetta Code
Language
Wren
Thisprogramming language may be used to instruct a computer to perform a task.
Official website
Execution method:Interpreted
Garbage collected:Yes
Type safety:Safe
Type strength:Strong
Type expression:Implicit
Type checking:Dynamic
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Wren.


Wren is a lightweight,object-orientedprogramming language designed to be an easily-embeddable scripting language.

It is under development onGitHub and is fully documentedhere.

The CLI tool (Wren CLI) has its own repository and is the main focus of examples written for RC.The latest version 0.4.0 is available as a pre-built standalone executable for 64-bit Linux, MacOS and Windows and can be downloaded fromhere.

As a language mainly designed for embedding, Wren's standard library is (of necessity) quite small and I (PureFox) have therefore decided to create some additional modules to assist with writing Rosetta Code tasks so the same code does not have to be written or copy/pasted time and time again thereby bloating a task's script code unnecessarily. The ones written so far are listed below:

No.Module nameNo.Module name
1fmt2str
3sort4math
5trait6seq
7date8rat
9pattern10big
11upc12matrix
13set14llist
15queue16complex
17dynamic18ioutil
19long20crypto
21sound22polygon
23srandom24lsystem
25turtle26ellipse
27check28array
29gmp30ecm
31sql32event
33i6434perm
35linear36regex
37maputil38plot
39debug40table
41iterate42money
43vector44ordered
45psieve46hash
47roman48std
49ansi


To use a class or classes from a module (sayfmt), you need to import them into your script with Wren code such as the following. To use more than one class separate their names with commas:

import"./fmt"forConv,Fmt

These modules are subject to the same license as any other code submitted to Rosetta Code though contributors' user pages should be checked to see whether more permissive terms are available. If anyone wishes to add further modules, please do so using a similar model and append them to the list.

Please note that when creating a category for a new module its name should be prefixed with 'Wren-' as in 'Wren-fmt' and the library header for a task which uses the module should therefore use this name. Modules will normally have generic names and this convention allows Rosetta Code users to easily distinguish Wren modules from similarly named modules/libraries written for other languages.

There are also a number of third-party modules available for Wren of which the following have been used to write solutions for Rosetta Code tasks:

No.Module nameNo.Module name
1DOME2Raylib-wren
3SpiderWren4Wren-assert
5Wren-json6Wren-test
7WrenGo8Wren-xsequence


For further information and licensing requirements, please consult their individual pages.

Finally, there are some RC tasks which require a special C executable to solve but where it is not worthwhile to create a dedicated module to house the Wren source code. Seelibwren for details.

Todo

Subcategories

This category has only the following subcategory.

@

Pages in category "Wren"

The following 200 pages are in this category, out of 1,695 total.

(previous page) (next page)

A

B

(previous page) (next page)
Retrieved from "https://rosettacode.org/wiki/Category:Wren?oldid=377377"
Categories:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

[8]ページ先頭

©2009-2025 Movatter.jp