mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-13 23:12:24 +00:00
38 lines
961 B
Plaintext
38 lines
961 B
Plaintext
# Test that unicode character, √, in an expression is recognized
|
|
|
|
---input---
|
|
s = √((1/n) * sum(count .^ 2) - mu .^2)
|
|
|
|
---tokens---
|
|
's' Name
|
|
' ' Text.Whitespace
|
|
'=' Operator
|
|
' ' Text.Whitespace
|
|
'√' Operator
|
|
'(' Punctuation
|
|
'(' Punctuation
|
|
'1' Literal.Number.Integer
|
|
'/' Operator
|
|
'n' Name
|
|
')' Punctuation
|
|
' ' Text.Whitespace
|
|
'*' Operator
|
|
' ' Text.Whitespace
|
|
'sum' Name
|
|
'(' Punctuation
|
|
'count' Name
|
|
' ' Text.Whitespace
|
|
'.^' Operator
|
|
' ' Text.Whitespace
|
|
'2' Literal.Number.Integer
|
|
')' Punctuation
|
|
' ' Text.Whitespace
|
|
'-' Operator
|
|
' ' Text.Whitespace
|
|
'mu' Name
|
|
' ' Text.Whitespace
|
|
'.^' Operator
|
|
'2' Literal.Number.Integer
|
|
')' Punctuation
|
|
'\n' Text.Whitespace
|