From 3e1349d29fa00db1fab3a811b60bc9d8de0355e4 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 30 Sep 2016 10:45:14 -0700 Subject: 3431 Improvements to syntax highlighting, particularly for Mu code in C++ files. --- html/101run_sandboxed.cc.html | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'html/101run_sandboxed.cc.html') diff --git a/html/101run_sandboxed.cc.html b/html/101run_sandboxed.cc.html index 563c6d3a..f2883e6f 100644 --- a/html/101run_sandboxed.cc.html +++ b/html/101run_sandboxed.cc.html @@ -15,13 +15,14 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color * { font-size: 12pt; font-size: 1em; } .Constant { color: #00a0a0; } .cSpecial { color: #008000; } -.traceContains { color: #008000; } +.CommentedCode { color: #6c6c6c; } +.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; } -.CommentedCode { color: #6c6c6c; } +.Identifier { color: #fcb165; } --> @@ -37,7 +38,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color //: return some result in string form. :(scenario run_interactive_code) -def main [ +def main [ 1:num/raw <- copy 0 2:text <- new [1:num/raw <- copy 34] run-sandboxed 2:text @@ -46,7 +47,7 @@ def main [ +mem: storing 34 in location 3 :(scenario run_interactive_empty) -def main [ +def main [ 1:text <- copy 0/unsafe 2:text <- run-sandboxed 1:text ] @@ -253,7 +254,7 @@ load(string( if (s == "interactive") return ""; :(scenario run_interactive_comments) -def main [ +def main [ 1:text <- new [# ab add 2, 2] 2:text <- run-sandboxed 1:text @@ -349,7 +350,7 @@ put(Recipe_ordinal,} :(scenario "run_interactive_converts_result_to_text") -def main [ +def main [ # try to interactively add 2 and 2 1:text <- new [add 2, 2] 2:text <- run-sandboxed 1:text @@ -359,7 +360,7 @@ def main [ +mem: storing 52 in location 11 :(scenario "run_interactive_returns_text") -def main [ +def main [ # try to interactively add 2 and 2 1:text <- new [ x:text <- new [a] @@ -374,10 +375,10 @@ def main [ +mem: storing 98 in location 12 :(scenario "run_interactive_returns_errors") -def main [ +def main [ # run a command that generates an error 1:text <- new [x:num <- copy 34 -get x:num, foo:offset] +get x:num, foo:offset] 2:text, 3:text <- run-sandboxed 1:text 10:@:char <- copy 3:text/lookup ] @@ -389,7 +390,7 @@ get x:num, foo:offset] # ... :(scenario run_interactive_with_comment) -def main [ +def main [ # 2 instructions, with a comment after the first 1:&:@:num <- new [a:num <- copy 0 # abc b:num <- copy 0 @@ -529,10 +530,10 @@ put(Recipe_ordinal,} :(scenario reload_continues_past_error) -def main [ +def main [ local-scope x:text <- new [recipe foo [ - get 1234:num, foo:offset + get 1234:num, foo:offset ]] reload x 1:num/raw <- copy 34 @@ -541,7 +542,7 @@ def main [ :(scenario reload_can_repeatedly_load_container_definitions) # define a container and try to create it (merge requires knowing container size) -def main [ +def main [ local-scope x:text <- new [ container foo [ -- cgit 1.4.1-2-gfad0