Debian Codegraph @

examples/prism-naniscript.html

raw symbols SCIP
1
2 <h2>Comments</h2>
3 <pre><code>;Text of Comment
4 ; Comment with tabs before
5 </code></pre>
6
7 <h2>Define</h2>
8 <pre><code>
9 &gt;DefineKey define 12 super usefull lines
10 </code></pre>
11
12 <h2>Label</h2>
13 <pre><code># Section
14 #Section without whitespace
15 # Section with whitespace
16 # SectionWithTab
17 </code></pre>
18
19 <h2>Command</h2>
20 <pre><code>
21 @
22 @ cmdWithWhiteSpaceBefore
23 @cmdWithTrailingSemicolon:
24 @paramlessCmd
25 @cmdWithNoParamsAndWhitespaceBefore
26 @cmdWithNoParamsAndTabBefore
27 @cmdWithNoParamsAndTabAndSpacesBefore
28 @cmdWithNoParamsWrappedInWhitespaces
29 @cmdWithNoParamWithTrailingSpace
30 @cmdWithNoParamWithMultipleTrailingSpaces
31 @cmdWithNoParamWithTrailingTab
32 @cmdWithNoParamWithTrailingTabAndSpaces
33 @cmdWithPositiveIntParam 1
34 @cmdWithNegativeIntParam -1
35 @cmdWithPositiveFloatParamAndNoFraction 1.
36 @cmdWithPositiveFloatParamAndFraction 1.10
37 @cmdWithPositiveHegativeFloatParamAndNoFraction -1.
38 @cmdWithPositiveHegativeFloatParamAndFraction -1.10
39 @cmdWithBoolParamAndPositive true
40 @cmdWithBoolParamAndNegative false
41 @cmdWithStringParam hello$co\:mma"d"
42 @cmdWithQuotedStringNamelessParameter "hello grizzly"
43 @cmdWithQuotedStringNamelessParameterWithEscapedQuotesInTheValue "hello \"grizzly\""
44 @set choice="moe"
45 @command hello.grizzly
46 @command one,two,three
47 @command 1,2,3
48 @command true,false,true
49 @command hi:grizzly
50 @command hi:1
51 @command hi:true
52 @command 1 in:forest danger:true
53 @char 1 pos:0.25,-0.75 look:right
54 </code></pre>
55
56 <h2>Generic Text</h2>
57 <pre><code>Generic text with inlined commands[i] example[command 1 danger:true] more text here [act danger:false true:false]
58 "Integer: a = {a} malesuada a + b = {a + b}", Random(a, b) = {Random(a, b)}, Random("foo", "bar", "foobar") = {Random("foo", "bar", "foobar")}
59 UnclosedExpression{ab{cndum dui dolor tincidu{nt [s[fa]sdf [
60 "Integer: a = {a} malesuada a + b = {a + b}", Random(a, b) = {Random(a, b)}, Random("foo", "bar", "foobar") = {Random("foo", "bar", "foobar")},}
61 </code></pre>
62
63 <h2>Expressions</h2>
64 <pre><code>{}
65 { Abs(a, d) + 12 - 1 / -230.0 + "Lol ipsum" }
66 Expressions inside a generic text line: Loreim ipsu,{ Abs(a, d) + 12 - 1 / -230.0 + "Lol ipsum" } doler sit amen {¯\_(ツ)_/¯}.
67 @ExpressionInsteadOfNamelessParameterValue {x > 0}
68 @ExpressionBlendedWithNamelessParameterValue sdf{x > 0}df
69 @ExpressionsInsideNamedParameterValueWrappedInQuotes text:"{a} &lt; {b}"
70 @ExpressionsBlendedWithNamedParameterValue param:32r2f,df{x > 0},d.{Abs(0) + 12.24 > 0}ff
71 @ExpressionsInsteadOfNamelessParameterAndQuotedParameter {remark} if:remark=="Saying \\"Stop { "the" } car\\" was a mistake."
72 </code></pre>