* Whitespace token modernization - ambient lexer * Whitespace token modernization - ampl lexer * Whitespace token modernization - apdlexer lexer * Whitespace token modernization - apl lexer * Whitespace token modernization - adl lexer * Whitespace token modernization - arrow lexer * Whitespace token modernization - asm lexer
26 lines
766 B
Text
26 lines
766 B
Text
---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
|