mirror of
https://github.com/alecthomas/chroma.git
synced 2025-02-13 13:28:27 +02:00
80 lines
2.8 KiB
Plaintext
80 lines
2.8 KiB
Plaintext
[
|
|
{"type":"CommentSingle","value":"* Comment"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Keyword","value":"DEFINE"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Keyword","value":"DATA"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"CommentSingle","value":"/* Inline comment"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Keyword","value":"LOCAL"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"LiteralNumberInteger","value":"1"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"NameVariable","value":"#VAR-NAME-1"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Other","value":"(A10)"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Keyword","value":"INIT"},
|
|
{"type":"Operator","value":"\u003c"},
|
|
{"type":"LiteralStringSingle","value":"'Hello'"},
|
|
{"type":"Operator","value":"\u003e"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"LiteralNumberInteger","value":"1"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"NameVariable","value":"#I"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Other","value":"(I4)"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Keyword","value":"END-DEFINE"},
|
|
{"type":"Text","value":"\n\n"},
|
|
{"type":"Keyword","value":"IF"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"NameVariable","value":"#VAR-NAME-1"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"Text","value":" "},
|
|
{"type":"LiteralStringSingle","value":"'Hello'"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Keyword","value":"IGNORE"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Keyword","value":"END-IF"},
|
|
{"type":"Text","value":"\n\n"},
|
|
{"type":"Keyword","value":"PERFORM"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"NameFunction","value":"MY-SUBROUTINE"},
|
|
{"type":"Text","value":"\n\n"},
|
|
{"type":"Keyword","value":"WRITE"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"NameVariable","value":"#VAR-NAME-1"},
|
|
{"type":"Text","value":"\n\n"},
|
|
{"type":"Keyword","value":"DEFINE"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Keyword","value":"SUBROUTINE"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"NameFunction","value":"MY-SUBROUTINE"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Keyword","value":"FOR"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"NameVariable","value":"#I"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Operator","value":"="},
|
|
{"type":"Text","value":" "},
|
|
{"type":"LiteralNumberInteger","value":"1"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Keyword","value":"TO"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"LiteralNumberInteger","value":"10"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Keyword","value":"ESCAPE"},
|
|
{"type":"Text","value":" "},
|
|
{"type":"Keyword","value":"MODULE"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Keyword","value":"END-FOR"},
|
|
{"type":"Text","value":"\n"},
|
|
{"type":"Keyword","value":"END-SUBROUTINE"},
|
|
{"type":"Text","value":"\n\n"},
|
|
{"type":"Keyword","value":"END"},
|
|
{"type":"Text","value":"\n\n"}
|
|
]
|