-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ondrej Hirjak edited this page May 13, 2014
·
4 revisions
Features:
- custom syntax (Hocon https://github.com/typesafehub/config/blob/master/HOCON.md inspired, see https://github.com/paradigmatic/Configrity as well)
- expressions
- save support = keep everything in original file as is
- ordering of original file
- newlines
- comments
- formatting
- better API
- better error reporting w/o exceptions
Phases:
- load: file -> DOM without eval
- merge of DOMs = DOM tree
- eval = flatten expr. eval
- save of DOM
- save of eval (drop of formatting)
i:File => save(load(i)) == i
Operations:
- load
- save
- edit(K, V, scope)
- remove(K, scope)
- add(K, V, scope)
- change_type(K, scope)