1 //: A few literal constants.
3 :(before
"End Mu Types Initialization")
4 put(Type_ordinal
, "literal-boolean", 0);
12 " 1:boolean <- copy true\n"
16 "parse: ingredient: {true: \"literal-boolean\"}\n"
20 :(before
"End Parsing reagent")
23 raise
<< "'true' is a literal and can't take a type\n" << end();
26 type
= new type_tree("literal-boolean");
36 " 1:boolean <- copy false\n"
40 "parse: ingredient: {false: \"literal-boolean\"}\n"
44 :(before
"End Parsing reagent")
45 if (name
== "false") {
47 raise
<< "'false' is a literal and can't take a type\n" << end();
50 type
= new type_tree("literal-boolean");
56 :(before
"End Mu Types Initialization")
57 put(Type_ordinal
, "literal-address", 0);
63 " 1:address:number <- copy null\n"
67 "parse: ingredient: {null: \"literal-address\"}\n"
71 :(before
"End Parsing reagent")
74 raise
<< "'null' is a literal and can't take a type\n" << end();
77 type
= new type_tree("literal-address");