mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-14 15:32:24 +00:00
22 lines
499 B
Plaintext
22 lines
499 B
Plaintext
---input---
|
|
1^3+(5-5)*gcd(a,b)
|
|
|
|
---tokens---
|
|
'1' Literal.Number.Integer
|
|
'^' Operator
|
|
'3' Literal.Number.Integer
|
|
'+' Operator
|
|
'(' Punctuation
|
|
'5' Literal.Number.Integer
|
|
'-' Operator
|
|
'5' Literal.Number.Integer
|
|
')' Punctuation
|
|
'*' Operator
|
|
'gcd' Name
|
|
'(' Punctuation
|
|
'a' Name
|
|
',' Operator
|
|
'b' Name
|
|
')' Punctuation
|
|
'\n' Text.Whitespace
|