You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you are working in the online editor, the test runner will automatically run all the tests.
25
25
26
+
## Using LuaRocks
27
+
28
+
Lua by itself is a very small language.
29
+
[LuaRocks][luarocks] is the package manager for Lua modules.
30
+
31
+
You are free to use any module in your solutions, but not all of them will be available in the online test-runner.
32
+
The test-runner provides these:
33
+
34
+
**Already available as `busted` dependencies**
35
+
36
+
*[penlight][penlight] ([home][penlight-home])
37
+
38
+
> Penlight is a set of pure Lua libraries for making it easier to work with common tasks like iterating over directories, reading configuration files and the like. Provides functional operations on tables and sequences.
39
+
40
+
*[dkjson][dkjson] ([home][dkjson-home])
41
+
42
+
> dkjson is a module for encoding and decoding JSON data.
43
+
44
+
**Already available as MoonScript dependencies**
45
+
46
+
*[LPeg][lpeg] ([home][lpeg-home])
47
+
48
+
> LPeg is a new pattern-matching library for Lua, based on Parsing Expression Grammars (PEGs).
49
+
50
+
*[LuaFileSystem][lfs] ([home][lfs-home])
51
+
52
+
> LuaFileSystem offers a portable way to access the underlying directory structure and file attributes.
53
+
54
+
**Datetime**
55
+
56
+
*[date][date] ([github][date-home])
57
+
58
+
> Date and Time string parsing; Time addition and subtraction; Time span calculation; Supports ISO 8601 Dates.
59
+
60
+
*[lua-tz][lua-tz] ([github][lua-tz-home])
61
+
62
+
> Lua TZ provides date and time functions with support for time zones. The core functions have an interface similar to the standard functions os.date and os.time, but additionally accept a time zone argument.
0 commit comments