1.0.1 • Published 6 years ago

flnf-math-lexer v1.0.1

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

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% LinesUncovered Line #s
All files81.5272.696.9781.36
index.ts81.5272.696.9781.36... 43,546,547,581