43 lines
1.7 KiB
Text
43 lines
1.7 KiB
Text
[
|
|
{"type":"KeywordDeclaration","value":"config"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"KeywordDeclaration","value":"const"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"NameOther","value":"numMessages"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"LiteralNumberInteger","value":"100"},
|
|
{"type":"Punctuation","value":";"},
|
|
{"type":"TextWhitespace","value":"\n\n"},
|
|
{"type":"Keyword","value":"forall"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"NameOther","value":"msg"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"KeywordDeclaration","value":"in"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"LiteralNumberInteger","value":"1"},
|
|
{"type":"Operator","value":".."},
|
|
{"type":"NameOther","value":"numMessages"},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"Keyword","value":"do"},
|
|
{"type":"TextWhitespace","value":"\n "},
|
|
{"type":"NameOther","value":"writeln"},
|
|
{"type":"Punctuation","value":"("},
|
|
{"type":"LiteralString","value":"\"Hello, world! (from iteration \""},
|
|
{"type":"Punctuation","value":","},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"NameOther","value":"msg"},
|
|
{"type":"Punctuation","value":","},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"LiteralString","value":"\" of \""},
|
|
{"type":"Punctuation","value":","},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"NameOther","value":"numMessages"},
|
|
{"type":"Punctuation","value":","},
|
|
{"type":"TextWhitespace","value":" "},
|
|
{"type":"LiteralString","value":"\")\""},
|
|
{"type":"Punctuation","value":");"},
|
|
{"type":"TextWhitespace","value":"\n\n"},
|
|
{"type":"CommentSingle","value":"// Oh, and a comment for good measure.\n"}
|
|
]
|