number_feature.test 665 Bytes
(foo 42)
(foo 3.14159)
(foo 3+4i)
(foo 2.5+0.0i)
(foo 3+0i)

----------------------------------------------------

[
	["punctuation", "("], ["function", "foo"], ["number", "42"], ["punctuation", ")"],
	["punctuation", "("], ["function", "foo"], ["number", "3.14159"], ["punctuation", ")"],
	["punctuation", "("], ["function", "foo"], ["number", "3+4i"], ["punctuation", ")"],
	["punctuation", "("], ["function", "foo"], ["number", "2.5+0.0i"], ["punctuation", ")"],
	["punctuation", "("], ["function", "foo"], ["number", "3+0i"], ["punctuation", ")"]
]

----------------------------------------------------

Checks for numbers and complex numbers.