mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-13 23:12:24 +00:00
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
---input---
|
|
⟨alias⇐a, b⟩ ← {
|
|
b‿c⇐
|
|
a⇐2
|
|
c←÷b↩1+a
|
|
}
|
|
|
|
---tokens---
|
|
'⟨' Punctuation
|
|
'alias' Name.Variable
|
|
'⇐' Keyword.Declaration
|
|
'a' Name.Variable
|
|
',' Punctuation
|
|
' ' Text.Whitespace
|
|
'b' Name.Variable
|
|
'⟩' Punctuation
|
|
' ' Text.Whitespace
|
|
'←' Keyword.Declaration
|
|
' ' Text.Whitespace
|
|
'{' Keyword.Type
|
|
'\n ' Text.Whitespace
|
|
'b' Name.Variable
|
|
'‿' Punctuation
|
|
'c' Name.Variable
|
|
'⇐' Keyword.Declaration
|
|
'\n ' Text.Whitespace
|
|
'a' Name.Variable
|
|
'⇐' Keyword.Declaration
|
|
'2' Literal.Number
|
|
'\n ' Text.Whitespace
|
|
'c' Name.Variable
|
|
'←' Keyword.Declaration
|
|
'÷' Operator
|
|
'b' Name.Variable
|
|
'↩' Keyword.Declaration
|
|
'1' Literal.Number
|
|
'+' Operator
|
|
'a' Name.Variable
|
|
'\n' Text.Whitespace
|
|
|
|
'}' Keyword.Type
|
|
'\n' Text.Whitespace
|