flnf-math-lexer
v1.0.1
Published
Mathematic Lexer
Downloads
1
Readme
Lexer
√ should be created
√ pi = 3.141592653589793
√ e = 2.718281828459045
√ (x + pi) = 8.141592653589793 where x = 5
√ (x + e) = 7.718281828459045 where x = 5
√ 10 + 10 = 20
√ 10 + (5 + x) = 20 where x = 5
√ 10 - 10 = 0
√ 10 - (5 + x) = 0 where x = 5
√ (10 + 10) * 2 = 40
√ 9 ^ (1 / 2) = 3
√ 9 ^ 0.5 = 3
√ sqrt(9) = 3
√ (mod(10, 2)) = 1
√ 11 % 4 = 3
√ abs(root(27, 3)) = 3
√ factor(-1) + 1 = 0
√ factor(-10) + 1 = 0
√ factor(0) + 1 = 2
√ factor(5) + 1 = 121
√ log(5, 10) = 0.6989700043360187
√ ln(5) = 1.6094379124341003
√ exp(5) = 148.4131591025766
√ e^5 = 148.41315910257657
Lexer / forContext
√ should be created
√ 10 + 10 = 20
√ 10 + (5 + x) = 20 where x = 5
√ 10 - 10 = 0
√ 10 - (5 + x) = 0 where x = 5
√ (10 + 10) * 2 = 40
√ 9 ^ (1 / 2) = 3
√ 9 ^ 0.5 = 3
√ sqrt(9) = 3
√ (mod(10, 2)) = 1
√ 11 % 4 = 3
√ abs(root(27, 3)) = 3
√ factor(-1) + 1 = 0
√ factor(-10) + 1 = 0
√ factor(0) + 1 = 2
√ factor(5) + 1 = 121
√ log(5, 10) = 0.6989700043360187
√ ln(5) = 1.6094379124341003
√ exp(5) = 148.4131591025766
√ e^5 = 148.41315910257657
Lexer / LaTeX
√ should be created
√ 10 + 10 = 20
√ 0 + 10 = 10
√ 10 + 0 = 10
√ 10 + (5 + x) = 20 where x = 5
√ 10 - 10 = 0
√ 10 - (5 + x) = 0 where x = 5
√ (10 + 10) * 2 = 40
√ 9 ^ (1 / 2) = 3
√ 9 ^ 0.5 = 3
√ sqrt(9) = 3
√ (mod(10, 2)) = 1
√ 11 % 4 = 3
√ abs(root(27, 3)) = 3
√ factor(-1) + 1 = 0
√ factor(-10) + 1 = 0
√ factor(0) + 1 = 2
√ factor(5) + 1 = 121
√ log(5, 10) = 0.6989700043360187
√ ln(5) = 1.6094379124341003
√ exp(5) = 148.4131591025766
√ e^5 = 148.41315910257657
66 passing (132ms)
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s ----------|----------|----------|----------|----------|------------------- All files | 81.52 | 72.6 | 96.97 | 81.36 | index.ts | 81.52 | 72.6 | 96.97 | 81.36 |... 43,546,547,581