mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 06:33:06 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
26
spec/tests/apl/test_leading_underscore.txt
Normal file
26
spec/tests/apl/test_leading_underscore.txt
Normal file
@ -0,0 +1,26 @@
|
||||
---input---
|
||||
_op_←{_←⍺ ⍵⋄(⍺⍺ ⍺)+⍵⍵ ⍵}
|
||||
|
||||
---tokens---
|
||||
'_op_' Name.Variable
|
||||
'←' Keyword.Declaration
|
||||
'{' Keyword.Type
|
||||
'_' Name.Variable
|
||||
'←' Keyword.Declaration
|
||||
'⍺' Name.Builtin.Pseudo
|
||||
' ' Text.Whitespace
|
||||
'⍵' Name.Builtin.Pseudo
|
||||
'⋄' Punctuation
|
||||
'(' Punctuation
|
||||
'⍺' Name.Builtin.Pseudo
|
||||
'⍺' Name.Builtin.Pseudo
|
||||
' ' Text.Whitespace
|
||||
'⍺' Name.Builtin.Pseudo
|
||||
')' Punctuation
|
||||
'+' Operator
|
||||
'⍵' Name.Builtin.Pseudo
|
||||
'⍵' Name.Builtin.Pseudo
|
||||
' ' Text.Whitespace
|
||||
'⍵' Name.Builtin.Pseudo
|
||||
'}' Keyword.Type
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user