Commit Graph

5482 Commits

Author SHA1 Message Date
Émilie Feral
4ae72d68d8 [poincare] Enable to call method on undefined Expression 2018-08-10 10:10:37 +02:00
Léa Saviot
ed574620d3 [poincare] Fix parser comments 2018-08-10 10:07:49 +02:00
Romain Goyet
b152bd4578 [poincare] Add unit tests for TreeNode 2018-08-10 10:01:57 +02:00
Émilie Feral
f23ace4910 [poincare] Make a method: LayoutRef::serialize 2018-08-10 09:45:19 +02:00
Émilie Feral
42d7806cae [poincare] Fix GlobalContext 2018-08-10 09:44:56 +02:00
Léa Saviot
fc93907d51 [poincare] Add YYSTYPE declaration in the lexer 2018-08-10 09:41:14 +02:00
Émilie Feral
afcd19e1f7 [poincare] Integer: clean warnings 2018-08-09 18:10:09 +02:00
Émilie Feral
a9445e8e66 [poincare] Fix simplification_helper 2018-08-09 17:55:25 +02:00
Émilie Feral
83fb37c611 [poincare] Fix ApproximationHelper 2018-08-09 17:23:37 +02:00
Léa Saviot
2d364c21be [poincare] Fix LayoutHelper 2018-08-09 17:22:09 +02:00
Émilie Feral
1f85affd17 [poincare] Change MatrixComplex:: complexAtIndex signature 2018-08-09 17:16:22 +02:00
Émilie Feral
18fc96a820 [poincare] Makefile: add serialization_helper 2018-08-09 17:16:22 +02:00
Émilie Feral
528dde63d4 [poincare] AllocationFailure on Evaluation 2018-08-09 17:16:22 +02:00
Émilie Feral
5fd415eb9e [poincare] Register Static Allocation Failure if required 2018-08-09 17:16:22 +02:00
Émilie Feral
8bfbad3f97 [poincare] Implement Subtraction simplification 2018-08-09 17:16:22 +02:00
Léa Saviot
745e06ddd2 [poincare] Fix parser 2018-08-09 17:07:19 +02:00
Émilie Feral
a78a362ba6 [poincare] Fix expression 2018-08-09 16:15:24 +02:00
Émilie Feral
0b2b6c11cc [poincare] Fix Expression and ExpressionNode 2018-08-09 16:10:59 +02:00
Léa Saviot
00d4c3396a [poincare] Arithmetic 2018-08-09 16:02:46 +02:00
Léa Saviot
f15a43531f [poincare] Power 2018-08-09 15:40:44 +02:00
Émilie Feral
cbcc7f7162 [poincare] Fix Division 2018-08-09 15:03:20 +02:00
Émilie Feral
05342c1f2b [poincare] Fix FailedAllocationStaticNode implementation on Addition &
Multiplication
2018-08-09 14:35:11 +02:00
Émilie Feral
2d93ddf4ed [poincare] Fix Multiplication: setSign has to be implemented on
Multiplication instead of MultiplicationNode
2018-08-09 14:27:50 +02:00
Émilie Feral
067fbfcfc7 [poincare] Expression::reduce is a private method. Expression is friend
with the right classes
2018-08-09 14:27:07 +02:00
Émilie Feral
c69a7faa5d [poiuncare] Start fixing Power header: 2018-08-09 14:10:25 +02:00
Émilie Feral
8884c1b4e7 [poincare] Use SerializationHelper instead of LayoutHelper when required 2018-08-09 14:10:25 +02:00
Émilie Feral
8a1aab6d67 [poincare] Fix Number 2018-08-09 14:10:25 +02:00
Émilie Feral
11e951cb6c [poincare] Fix Float 2018-08-09 14:10:25 +02:00
Léa Saviot
e06d5569ca [poincare] Fix Multiplication 2018-08-09 14:06:55 +02:00
Léa Saviot
f503dacae0 [poincare] Multiplication WIP 2018-08-09 13:58:03 +02:00
Émilie Feral
cd1bb2ecb3 [poincare] Fix Symbol 2018-08-09 11:57:25 +02:00
Émilie Feral
49d4fcb77f [poincare] Fix TreeByValue and change name
treeChildAtIndex->childAtIndex
2018-08-09 11:57:25 +02:00
Léa Saviot
67cbff6b4d [poincare] Addition 2018-08-09 11:23:48 +02:00
Émilie Feral
814935a622 [poincare] Add AllocationFailure handling on horizontal_layout_node and
vertical_offset_layout_node
2018-08-09 11:14:02 +02:00
Émilie Feral
3cb8f6c76f [poincare] Change LayoutRef constructor 2018-08-09 11:12:02 +02:00
Émilie Feral
13710de44c [poincare] LayoutNode: do not implement failedAllocationStaticNode by
default. Each subclass has to implement it
2018-08-09 11:01:06 +02:00
Émilie Feral
01dabbfe01 [poincare] Add files to temporary Makefile 2018-08-09 11:00:38 +02:00
Émilie Feral
fae7ab713f [poincare] Add failedAllocationStaticNode to Opposite 2018-08-09 10:54:53 +02:00
Émilie Feral
0eda414cdf [poincare] Fix Decimal 2018-08-09 10:54:34 +02:00
Émilie Feral
87691157b3 [poincare] Decimal: fix typo 2018-08-09 10:52:04 +02:00
Émilie Feral
261f2e8042 [poincare] Fix TODO with isUndefinedOrAllocationFailure 2018-08-09 10:52:04 +02:00
Émilie Feral
fef796f82f [poincare] Make methods returning an expression copy const 2018-08-09 10:52:04 +02:00
Léa Saviot
ba1fd2d67c [poincare] NAryExpression 2018-08-09 10:32:16 +02:00
Léa Saviot
a53ebb122c [poincare] Fix Parenthesis 2018-08-09 10:21:11 +02:00
Émilie Feral
8f12995bfd [poincare] Expression: add method isUndefinedOrAllocationFailure 2018-08-09 10:20:20 +02:00
Émilie Feral
e6934d6c4a [poincare] Specify the method failedAllocationStaticNode for all nodes 2018-08-09 10:14:18 +02:00
Léa Saviot
d331156d09 [poincare] Fix MatrixComplex and complete its AllocationFailure 2018-08-09 10:13:58 +02:00
Romain Goyet
6fcfb9217b [poincare] Use AllocationFailureNode in AllocationFailureExpressionNode 2018-08-08 18:16:06 +02:00
Émilie Feral
4dc4acd7b8 [poincare] Fix Rational 2018-08-08 18:14:03 +02:00
Romain Goyet
413ff834b9 [poincare] Get Opposite class to build 2018-08-08 18:11:27 +02:00