]> gitweb.factorcode.org Git - factor.git/blob - extra/yaml/config/config.factor
core, basis, extra: Remove DOS line endings from files.
[factor.git] / extra / yaml / config / config.factor
1 ! Copyright (C) 2014 Jon Harper.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: kernel namespaces sequences ;
4 IN: yaml.config
5
6 ! Configuration
7 ! The following are libyaml's emitter configuration options
8 SYMBOL: emitter-canonical
9 SYMBOL: emitter-indent
10 SYMBOL: emitter-width
11 SYMBOL: emitter-unicode
12 SYMBOL: emitter-line-break
13
14 ! Set this value to keep libyaml's default
15 SYMBOL: +libyaml-default+
16
17 {
18     emitter-canonical
19     emitter-indent
20     emitter-width
21     emitter-line-break
22 } [ +libyaml-default+ swap set-global ] each
23 ! But Factor is unicode-friendly by default
24 t emitter-unicode set-global
25
26 SYMBOL: implicit-tags
27 t implicit-tags set-global
28
29 SYMBOL: implicit-start
30 SYMBOL: implicit-end
31 t implicit-start set-global
32 t implicit-end set-global
33
34 ! By default, give the simplest representation of the document
35 SYMBOL: merge
36 SYMBOL: value
37 t merge set-global
38 t value set-global