This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/snobol/example.snobol.output
Oleh Prypin 6f43092173
Also add auto-updatable output-based tests to examplefiles (#1689)
Co-authored-by: Georg Brandl <georg@python.org>
2021-01-20 10:48:45 +01:00

139 lines
3 KiB
Text
Generated

'-SOME RANDOM DIRECTIVE WOULD GO HERE\n' Comment
'*\n' Comment
'* SNOBOL4 example file for lexer\n' Comment
'*\n' Comment
' ' Text
'SOME.THING_OR_OTHER32' Name
' ' Text
'=' Operator
' ' Text
'1' Literal.Number.Integer
' ' Text
'+' Operator
' ' Text
'1.0' Literal.Number.Float
' ' Text
'-' Operator
' ' Text
'1E3' Literal.Number.Float
' ' Text
'*' Operator
' ' Text
'1E-3' Literal.Number.Float
' ' Text
'**' Operator
' ' Text
'2.718284590E0' Literal.Number.Float
'\n' Text
'+ ' Punctuation
':' Punctuation
'F' Keyword
'(' Punctuation
'END' Name.Label
')' Punctuation
'S' Keyword
'(' Punctuation
'IN_LOOP' Name.Label
')' Punctuation
' \n' Text
' ' Text
'PATTERN' Name
' ' Text
'=' Operator
' ' Text
'LEN' Name.Builtin
'(' Punctuation
'3' Literal.Number.Integer
')' Punctuation
' ' Text
'(' Punctuation
'"GAR"' Literal.String
' ' Text
'|' Operator
' ' Text
'"BAR"' Literal.String
')' Punctuation
'\n' Text
'IN_LOOP' Name.Label
' ' Text
'THING' Name
' ' Text
'=' Operator
' ' Text
'INPUT' Name.Builtin
' ' Text
':' Punctuation
'F' Keyword
'(' Punctuation
'END' Name.Label
')' Punctuation
'\n' Text
' ' Text
'THING' Name
' ' Text
'LEN' Name.Builtin
'(' Punctuation
'3' Literal.Number.Integer
')' Punctuation
' ' Text
'(' Punctuation
'"GAR"' Literal.String
' ' Text
'|' Operator
' ' Text
'"BAR"' Literal.String
')' Punctuation
' ' Text
':' Punctuation
'S' Keyword
'(' Punctuation
'OK' Name.Label
')' Punctuation
'\n' Text
' ' Text
'OUTPUT' Name.Builtin
' ' Text
'=' Operator
' ' Text
'THING' Name
' ' Text
'" : Failure!"' Literal.String
' ' Text
':' Punctuation
'(' Punctuation
'IN_LOOP' Name.Label
')' Punctuation
'\n' Text
'OK' Name.Label
' ' Text
'OUTPUT' Name.Builtin
' ' Text
'=' Operator
' ' Text
'THING' Name
' ' Text
'\' : "Success"!\'' Literal.String
' ' Text
':' Punctuation
'(' Punctuation
'IN_LOOP' Name.Label
')' Punctuation
'\n' Text
'END\n' Name.Label
'FOOBAR\n' Literal.String.Heredoc
'FOOGAR\n' Literal.String.Heredoc
'THiNIg\n' Literal.String.Heredoc