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:
34
spec/unsupported_lexers/mips/deprecated_substrings.txt
Normal file
34
spec/unsupported_lexers/mips/deprecated_substrings.txt
Normal file
@ -0,0 +1,34 @@
|
||||
---input---
|
||||
beql
|
||||
bnel
|
||||
bgtzl
|
||||
bgezl
|
||||
bltzl
|
||||
blezl
|
||||
bltzall
|
||||
bgezall
|
||||
|
||||
---tokens---
|
||||
'beql' Keyword.Pseudo
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bnel' Keyword.Pseudo
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bgtzl' Keyword.Pseudo
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bgezl' Keyword.Pseudo
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bltzl' Keyword.Pseudo
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'blezl' Keyword.Pseudo
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bltzall' Keyword.Pseudo
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bgezall' Keyword.Pseudo
|
||||
'\n' Text.Whitespace
|
254
spec/unsupported_lexers/mips/keyword_substrings.txt
Normal file
254
spec/unsupported_lexers/mips/keyword_substrings.txt
Normal file
@ -0,0 +1,254 @@
|
||||
---input---
|
||||
subu
|
||||
subi
|
||||
sub
|
||||
addu
|
||||
addiu
|
||||
addi
|
||||
add
|
||||
multu
|
||||
mult
|
||||
mulu
|
||||
mul
|
||||
maddu
|
||||
madd
|
||||
msubu
|
||||
msub
|
||||
divu
|
||||
div
|
||||
nor
|
||||
xor
|
||||
andi
|
||||
and
|
||||
ori
|
||||
xori
|
||||
or
|
||||
sllv
|
||||
sll
|
||||
srlv
|
||||
srl
|
||||
srav
|
||||
sra
|
||||
sltiu
|
||||
sltu
|
||||
slti
|
||||
slt
|
||||
jalr
|
||||
jal
|
||||
jr
|
||||
j
|
||||
bgezal
|
||||
bgez
|
||||
bltzal
|
||||
bltz
|
||||
lbu
|
||||
lb
|
||||
lhu
|
||||
lh
|
||||
lwr
|
||||
lw
|
||||
swl
|
||||
swr
|
||||
sw
|
||||
teqi
|
||||
teq
|
||||
tneqi
|
||||
tne
|
||||
tgeiu
|
||||
tgeu
|
||||
tgei
|
||||
tge
|
||||
tltiu
|
||||
tltu
|
||||
tlti
|
||||
tlt
|
||||
|
||||
---tokens---
|
||||
'subu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'subi' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sub' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'addu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'addiu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'addi' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'add' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'multu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'mult' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'mulu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'mul' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'maddu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'madd' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'msubu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'msub' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'divu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'div' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'nor' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'xor' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'andi' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'and' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'ori' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'xori' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'or' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sllv' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sll' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'srlv' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'srl' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'srav' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sra' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sltiu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sltu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'slti' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'slt' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'jalr' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'jal' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'jr' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'j' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bgezal' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bgez' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bltzal' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bltz' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'lbu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'lb' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'lhu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'lh' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'lwr' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'lw' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'swl' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'swr' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sw' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'teqi' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'teq' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'tneqi' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'tne' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'tgeiu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'tgeu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'tgei' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'tge' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'tltiu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'tltu' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'tlti' Keyword
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'tlt' Keyword
|
||||
'\n' Text.Whitespace
|
102
spec/unsupported_lexers/mips/variable_substrings.txt
Normal file
102
spec/unsupported_lexers/mips/variable_substrings.txt
Normal file
@ -0,0 +1,102 @@
|
||||
---input---
|
||||
remu
|
||||
rem
|
||||
mulou
|
||||
mulo
|
||||
negu
|
||||
neg
|
||||
beqz
|
||||
bgeu
|
||||
bge
|
||||
bgtu
|
||||
bgt
|
||||
bleu
|
||||
ble
|
||||
bltu
|
||||
blt
|
||||
bnez
|
||||
b
|
||||
ulhu
|
||||
ulh
|
||||
sgtu
|
||||
sgt
|
||||
sgeu
|
||||
sge
|
||||
sleu
|
||||
sle
|
||||
|
||||
---tokens---
|
||||
'remu' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'rem' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'mulou' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'mulo' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'negu' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'neg' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'beqz' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bgeu' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bge' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bgtu' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bgt' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bleu' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'ble' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bltu' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'blt' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'bnez' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'b' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'ulhu' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'ulh' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sgtu' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sgt' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sgeu' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sge' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sleu' Name.Variable
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sle' Name.Variable
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user