A simple playground for playing with Wren
video.mp4
-
import "!{{module}}`" for Module: Imports from built-in modules. -
import "~{{module}}" for Module: Imports fromHOMEdirectory. -
import "#{{module}}" for Module: Imports from.wrendirectory.
There are a few constants:
-
%{date.iso}: Returns the current ISO 8601 date -
%{date.unix}: Returns the unix timestamp in milliseconds -
%{~}: Returns the path to userβsHOMEdirectory -
%{#}: Returns the path to.wrendirectory
Modules from Rosetta Wren have been built-in
to complement Wren CLI standard modules. Import them using !{{module name}}.
Example import "!fmt" for Fmt
-
fmt
-
str
-
sort
-
math
-
trait
-
seq
-
date
-
rat
-
pattern
-
big
-
upc
-
matrix
-
set
-
llist
-
queue
-
complex
-
dynamic
-
ioutil
-
long
You can override the custom wren_cli used. Just put a wren or wren.exe in your .wren directory.
Made with β₯ by Ninjas.cl .