mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
|
# Tests that '@' is recognized as an Operator
|
||
|
|
||
|
---input---
|
||
|
S = (H @ beta - r).T @ inv(H @ V @ H.T) @ (H @ beta - r)
|
||
|
|
||
|
---tokens---
|
||
|
'S' Name
|
||
|
' ' Text.Whitespace
|
||
|
'=' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'(' Punctuation
|
||
|
'H' Name
|
||
|
' ' Text.Whitespace
|
||
|
'@' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'beta' Name
|
||
|
' ' Text.Whitespace
|
||
|
'-' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'r' Name
|
||
|
')' Punctuation
|
||
|
'.' Operator
|
||
|
'T' Name
|
||
|
' ' Text.Whitespace
|
||
|
'@' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'inv' Name
|
||
|
'(' Punctuation
|
||
|
'H' Name
|
||
|
' ' Text.Whitespace
|
||
|
'@' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'V' Name
|
||
|
' ' Text.Whitespace
|
||
|
'@' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'H' Name
|
||
|
'.' Operator
|
||
|
'T' Name
|
||
|
')' Punctuation
|
||
|
' ' Text.Whitespace
|
||
|
'@' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'(' Punctuation
|
||
|
'H' Name
|
||
|
' ' Text.Whitespace
|
||
|
'@' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'beta' Name
|
||
|
' ' Text.Whitespace
|
||
|
'-' Operator
|
||
|
' ' Text.Whitespace
|
||
|
'r' Name
|
||
|
')' Punctuation
|
||
|
'\n' Text.Whitespace
|