-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.conf
More file actions
36 lines (28 loc) · 869 Bytes
/
Copy pathtest.conf
File metadata and controls
36 lines (28 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
source = testb.conf
bakery {
source = testb.conf
$NUM_ORDERS = 2
counter_color = rgba(ee22eeff) # color by rgba()
door_color = rgba(122, 176, 91, 0.1) # color by rgba()
dimensions = 10 20 # vec2
employees = $NUM_ORDERS # int
average_time_spent = 8.13 # float
hackers_password = 0xDEADBEEF # int, as hex
# nested categories
secrets {
password = $NUM_ORDERS # string
}
}
# variable
$NUM_ORDERS = 3
$A = 2
$AB = 4
abc = $A, $AB, $A
cakes {
number = $NUM_ORDERS # use a variable
colors = red, green, blue # string
}
# keywords, invoke your own handler with the parameters
add_baker = $NUM_ORDERS, 26, Warsaw
add_baker = Andrew, 21, Berlin
add_baker = Koichi, 18, Morioh