Commit Graph

35 Commits

Author SHA1 Message Date
Léa Saviot
2772e0397f [poincare] Add tests on power serailization 2018-11-26 14:07:42 +01:00
Léa Saviot
53e4a290f7 [poincare] Rename Expression:parse in Parse 2018-11-23 12:04:09 +01:00
Léa Saviot
584f6d6f6b [poincare] Add parsing test on 1E2E3 2018-11-23 12:04:09 +01:00
Léa Saviot
70707a9985 [poincare] Infinity::Name() gives "inf" 2018-11-23 12:04:08 +01:00
Léa Saviot
63e83c246b [poincare] Undefined::Name() gives "undef" 2018-11-23 12:04:08 +01:00
Léa Saviot
d411ff292e [poincare] Do not parse 1>ans 2018-11-23 12:04:07 +01:00
Léa Saviot
44963179c7 [poincare] Store and Equal must be topmost expressions 2018-11-23 12:04:07 +01:00
Léa Saviot
a11723d014 [poincare/parser] Add parsing tests 2018-11-23 12:04:05 +01:00
Léa Saviot
ad1629721d [poincare/test] Add parser test on "=5" 2018-11-23 12:04:05 +01:00
Ruben Dashyan
603e672cf3 [poincare] Add parsing tests 2018-11-23 12:04:05 +01:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Émilie Feral
06776185f0 [poincare] Add test on Number parsing 2018-09-25 16:52:38 +02:00
Léa Saviot
5b5211be24 [poincare] Tidy Integer buffer on Poincare exception 2018-09-25 10:42:47 +02:00
Léa Saviot
d93ed2a1ce [poincare/tests] Use quiz_assert instead of assert in tests 2018-09-21 15:06:13 +02:00
Léa Saviot
7edeacd378 [poincare] Add test on ".1.2" that should not be parsed 2018-09-14 16:10:37 +02:00
Émilie Feral
b06e345945 [poincare] Add Parser test 2018-09-12 15:41:46 +02:00
Romain Goyet
47fe5d829a [poincare] Use a re-entrant parser
This removes all global variables
2018-09-12 14:11:20 +02:00
Romain Goyet
9b177e8501 [poincare] use Poincare::ExceptionCheckpoint to handle exceptions 2018-09-12 14:11:20 +02:00
Romain Goyet
790793f145 [poincare] Add memory exhaustion tests 2018-09-12 14:11:20 +02:00
Léa Saviot
1509fe8bda [poincare/test] Fix some pool size assertions 2018-08-20 17:06:08 +02:00
Émilie Feral
e2695c36b8 [poincare] Expression: reset YYVALUE used by parsor to avoid keeping an
useless Expression
2018-08-16 16:46:36 +02:00
Émilie Feral
d89b6ef85a [poincare] Fix tests 2018-07-18 17:09:07 +02:00
Jacob Young
198c26f99d Fix grammar. 2017-08-31 18:09:00 -04:00
Jacob Young
37700f9e11 Default expression tests to scalar. 2017-08-31 18:04:56 -04:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
1964d61fdc [libaxx] add cmath and use cmath instead of math.h when required
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
2017-08-16 09:55:29 +02:00
Émilie Feral
f73ddcd08f [poincare] Evaluation return numerical matrix
Change-Id: I58dbc93ad22a086580a77318b2524db9c70e47d2
2017-08-03 13:47:11 +02:00
Émilie Feral
a60dc64598 [poincare/test] Clean warning
Change-Id: Icd5b4c7b0ed94a6ea636740ad5deb0fc77879172
2017-06-27 14:34:10 +02:00
Émilie Feral
25383b73e5 [poincare] Add parser tests
Change-Id: I2009700628b29be980792e6a31cd374cfdc74eaf
2017-06-01 10:35:36 +02:00
Émilie Feral
e5e9f7cc41 [poincare][apps] Make preferences a const object accessible from
anywhere (poincare and apps)

Change-Id: I49cc6bf940d1efeb6b153daac949ffcb23999a8d
2017-02-20 09:39:24 +01:00
Émilie Feral
d656d0d2eb [kandinsky] Add a special char for e (2.7...)
Change-Id: Ia2ab2f4cdeadedde5228357d2aed97c3e602b67f
2017-02-17 16:35:06 +01:00
Émilie Feral
69e46f4958 [poincare] Namespace Poincare
Change-Id: I51a84fa7978ba16f128cfe1d32c390970f2037e8
2017-02-13 17:15:06 +01:00
Émilie Feral
b1735da380 [poincare] Replace E by small capital E to respresent 10^
Change-Id: I350958f0e0c87e36ad5b01af91e11f403536b22d
2017-02-13 17:15:06 +01:00
Émilie Feral
855a5cf666 [poincare] Parse ".004"
Change-Id: Iea9c7cb82b3f152053193ef5e6fc4c7ee2efc459
2017-02-13 17:15:05 +01:00
Émilie Feral
48ccf0fb24 [poincare] Add tests for the parser
Change-Id: If8d971343a63b4a337fbdf78607ee813bba1f9e7
2017-02-13 17:15:05 +01:00