This is the input to the object generator.
food = {
breakfast : string = spam ;
lunch : string list = ["milk", "rice cakes", tomatoes, "corn"];
dinner = {
entree : string = "pot roast";
veg : string list = ["snap peas", "beets"];
starch : string = "mashed potatoes";
beverage : string = "beer";
dessert = {
pie : string = "cherry";
ice_cream : string = "rum raisin";
}
}
}
This is a sample configuration output by the object generator. It can be used as is (though that's not especially useful, since all values are the defaults, which are already compiled into the generated object).
breakfast : "spam" # string
lunch : ["milk", "rice cakes", "tomatoes", "corn"] # string list
dinner : {
entree : "pot roast" # string
veg : ["snap peas", "beets"] # string list
starch : "mashed potatoes" # string
beverage : "beer" # string
dessert : {
pie : "cherry" # string
ice_cream : "rum raisin" # string
}
}