Added lexars

This commit is contained in:
Toastie 2025-03-22 20:46:00 +13:00
parent 382b2ce94b
commit f9f64b0558
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7
820 changed files with 149371 additions and 0 deletions
lexers/testdata/raku

View file

@ -0,0 +1,23 @@
[
{"type":"NameBuiltin","value":"say"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"q"},
{"type":"LiteralStringAffix","value":":to"},
{"type":"Punctuation","value":"//"},
{"type":"LiteralString","value":";"},
{"type":"Text","value":"\n\n"},
{"type":"NameBuiltin","value":"say"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"'"},
{"type":"LiteralStringSingle","value":"something"},
{"type":"Punctuation","value":"';"},
{"type":"Text","value":"\n\n"},
{"type":"CommentSingle","value":"# Unterminated heredoc"},
{"type":"Text","value":"\n"},
{"type":"NameBuiltin","value":"say"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"q"},
{"type":"LiteralStringAffix","value":":to"},
{"type":"Punctuation","value":"/Foo/;"},
{"type":"LiteralString","value":"\n\nsay 'something';\n"}
]