- Apr 19, 2015
-
-
Marek Vavruša authored
if the module declares such properties, they can be accessed by treating module as a table, e.g. hints[‘localhost’] = ‘127.0.0.1’ hints.hostname = ‘192.168.1.1. print(hints.localhost) equals to: hints.set(‘localhost 127.0.0.1’) hints.set(‘hostname 192.168.1.1’) print(hints.get(‘localhost’))
-
- Apr 12, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- Apr 08, 2015
-
-
Marek Vavruša authored
-
Marek Vavruša authored
-
- Apr 01, 2015
-
-
Marek Vavruša authored
-
- Mar 31, 2015
-
-
Marek Vavruša authored
this makes some services append-only, so the configuration can look like: modules = { cache = ‘’, hints = true, } without wiping previously-set modules
-
- Mar 29, 2015
-
-
Marek Vavruša authored
example: modules.hints = ‘{“input”:”/etc/hosts”}’ .. is equal to .. modules.load(‘hints’) hints.config(‘{“input”:”/etc/hosts”}’)
-
- Mar 27, 2015
-
-
Marek Vavruša authored
The engine is responsible for central managemento of resources and work distribution. This allows to spawn multiple loops. The engine configuration / interface is based on Lua 5.1-5.2, including a RPC and a simple CLI interface. This is going to be the core of configuration later on.
-