diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-30 10:45:14 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-30 10:45:14 -0700 |
commit | 3e1349d29fa00db1fab3a811b60bc9d8de0355e4 (patch) | |
tree | 93afedf36b8b211432a458ca9c0c7bfaf76e2425 /html/060rewrite_literal_string.cc.html | |
parent | 6c69569a4c4ca3a23635d4d7a40f0fe557194619 (diff) | |
download | mu-3e1349d29fa00db1fab3a811b60bc9d8de0355e4.tar.gz |
3431
Improvements to syntax highlighting, particularly for Mu code in C++ files.
Diffstat (limited to 'html/060rewrite_literal_string.cc.html')
-rw-r--r-- | html/060rewrite_literal_string.cc.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/html/060rewrite_literal_string.cc.html b/html/060rewrite_literal_string.cc.html index 980157d8..17c3a310 100644 --- a/html/060rewrite_literal_string.cc.html +++ b/html/060rewrite_literal_string.cc.html @@ -14,12 +14,13 @@ pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background- body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color: #080808; } * { font-size: 12pt; font-size: 1em; } .Constant { color: #00a0a0; } -.traceContains { color: #008000; } +.muRecipe { color: #ff8700; } .Comment { color: #9090ff; } .Delimiter { color: #800080; } .Special { color: #c00000; } -.Identifier { color: #fcb165; } +.traceContains { color: #008000; } .Normal { color: #eeeeee; background-color: #080808; padding-bottom: 1px; } +.Identifier { color: #fcb165; } --> </style> @@ -34,10 +35,10 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="Comment">//: allow using literal strings anywhere that will accept immutable strings</span> <span class="Delimiter">:(scenario passing_literals_to_recipes)</span> -def main [ +<span class="muRecipe">def</span> main [ <span class="Constant">1</span>:num/<span class="Special">raw <- </span>foo [abc] ] -def foo x:text <span class="Delimiter">-></span> n:num [ +<span class="muRecipe">def</span> foo x:text<span class="muRecipe"> -> </span>n:num [ local-scope load-ingredients n<span class="Special"> <- </span>length *x |