mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-21 23:03:44 +01:00
Experimental modules have matured
This commit is contained in:
parent
51a3ae5bb3
commit
b2bbabe3e0
@ -18,7 +18,7 @@ Mostly self-documenting code. Mod namespace is `modlib`, containing all variable
|
||||
|
||||
#### Lua Log Files
|
||||
|
||||
A data log file based on Lua statements. **Experimental.** High performance. Example from `test.lua`:
|
||||
A data log file based on Lua statements. High performance. Example from `test.lua`:
|
||||
|
||||
```lua
|
||||
local logfile = persistence.lua_log_file.new(mod.get_resource"logfile.test.lua", {})
|
||||
@ -84,7 +84,7 @@ The method `defragment_ids` should not have to be used in practice (if it has to
|
||||
|
||||
### Bluon
|
||||
|
||||
Binary Lua object notation. **Experimental.** Handling of subnormal numbers (very small floats) may be broken.
|
||||
Binary Lua object notation.
|
||||
|
||||
#### `new(def)`
|
||||
|
||||
@ -289,7 +289,7 @@ Dumps function info & variables for all functions in stack, starting with stackl
|
||||
|
||||
### `schematic`
|
||||
|
||||
A schematic format with support for metadata and baked light data. **Experimental.**
|
||||
A schematic format with support for metadata and baked light data.
|
||||
|
||||
## Release Notes
|
||||
|
||||
|
@ -6,9 +6,6 @@ local assert, error, ipairs, math_floor, math_abs, math_huge, modlib, next, pair
|
||||
local _ENV = {}
|
||||
setfenv(1, _ENV)
|
||||
|
||||
--! experimental
|
||||
|
||||
local no_op = modlib.func.no_op
|
||||
local fround = modlib.math.fround
|
||||
local write_single, write_double = modlib.binary.write_single, modlib.binary.write_double
|
||||
|
||||
|
1
json.lua
1
json.lua
@ -4,7 +4,6 @@ local modlib, setmetatable, pairs, assert, error, table, table_insert, table_con
|
||||
local _ENV = {}
|
||||
setfenv(1, _ENV)
|
||||
|
||||
--! experimental
|
||||
-- See https://tools.ietf.org/id/draft-ietf-json-rfc4627bis-09.html#unichars and https://json.org
|
||||
|
||||
-- Null
|
||||
|
@ -1,8 +1,6 @@
|
||||
local minetest, modlib, pairs, ipairs
|
||||
= minetest, modlib, pairs, ipairs
|
||||
|
||||
--! experimental
|
||||
|
||||
-- TODO support for server texture packs (and possibly client TPs in singleplayer?)
|
||||
local media_foldernames = {"textures", "sounds", "media", "models", "locale"}
|
||||
local media_extensions = modlib.table.set{
|
||||
|
@ -3,8 +3,6 @@ local assert, error, math_huge, modlib, minetest, setmetatable, type, table_inse
|
||||
|
||||
local sqlite3 = ...
|
||||
|
||||
--! experimental
|
||||
|
||||
--[[
|
||||
Currently uses reference counting to immediately delete tables which aren't reachable from the root table anymore, which has two issues:
|
||||
1. Deletion might trigger a large deletion chain
|
||||
|
Loading…
Reference in New Issue
Block a user