kaiv 0.6.0

Reference implementation of the kaiv format (Levels 0-3): lexer, compiler, denormalizer, schema compiler, validator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
.!taiv 1 std/math

// Complex number — a+bi with both components always present, the
// separator sign carrying the imaginary part's sign, no spaces,
// the i suffix. Components use the float token grammar (integer
// spellings included, so Gaussian integers are expressible).
// Deliberately NO numeric span: the complex numbers admit no total
// order compatible with their arithmetic, so ordering stays the
// default byte order — deterministic for uniqueness, meaningless
// for ranges, which is exactly the mathematical situation.
/^-?[0-9]*\.?[0-9]+([eE][+-]?[0-9]+)?[+-][0-9]*\.?[0-9]+([eE][+-]?[0-9]+)?i$/
&complex=