Commit Graph

  • ade4dd30ed Merge "Draw rectangles with lines." Félix Raimundo 2016-04-05 16:01:57 +02:00
  • 43b90c104c Add the multip[lictaion by zero rule. Felix Raimundo 2016-04-04 17:47:17 +02:00
  • 8366cf71ec Add coment to move operator in expression match. Felix Raimundo 2016-04-04 17:46:38 +02:00
  • ac29d1e9aa Add the isCommutative method to expression. Felix Raimundo 2016-04-04 17:45:08 +02:00
  • b7a1bb9cdb Fix untreated case in rule generation. Felix Raimundo 2016-04-04 11:08:54 +02:00
  • c94b209729 Fix the precedence of the operations. Felix Raimundo 2016-04-01 18:46:00 +02:00
  • 50c5a3b08e Fix unitialized variables in HorizontalLayout. Felix Raimundo 2016-04-01 18:45:32 +02:00
  • 195e8932af Merge "Poincare: Make the rulegen step silent" Romain Goyet 2016-04-05 12:56:35 +02:00
  • 792b89dc07 Poincare: Make the rulegen step silent Romain Goyet 2016-04-04 14:40:04 +02:00
  • 10c383d102 Writes the simplified version of an expression. Felix Raimundo 2016-04-01 15:38:34 +02:00
  • ff83c8c4da Draw rectangles with lines. Felix Raimundo 2016-04-01 15:03:40 +02:00
  • 89647c995d Merge "Poincare: Silent build" Félix Raimundo 2016-04-04 11:05:32 +02:00
  • 586a850610 Merge "Add a delete button to the keyboard." Félix Raimundo 2016-04-04 10:50:03 +02:00
  • f9b7836e1e Add a delete button to the keyboard. Felix Raimundo 2016-04-01 14:50:58 +02:00
  • 6cd646cc98 Poincare: Silent build Romain Goyet 2016-04-01 15:12:12 +02:00
  • b9722aa0d8 Merge branch 'master' of ssh://git.numworks.com:29418/CalcOS Romain Goyet 2016-04-01 15:09:34 +02:00
  • a9a522f29c Remove bad debug. Felix Raimundo 2016-04-01 13:40:20 +02:00
  • 6238b5a110 Add the ability to match on values. Felix Raimundo 2016-04-01 11:58:31 +02:00
  • b0c44dc39e wip Felix Raimundo 2016-04-01 11:18:39 +02:00
  • 5a36ec48d9 Poincare: Make it easier to dump the AST in tests Romain Goyet 2016-04-01 15:04:03 +02:00
  • de2f83e8bd Poincare: Put the AST printing in its own file Romain Goyet 2016-04-01 15:02:31 +02:00
  • a218fcfe9a Poincare: Remove a warning Romain Goyet 2016-04-01 14:30:24 +02:00
  • 8da423e306 Poincare: Fix the rulegen Romain Goyet 2016-04-01 14:29:59 +02:00
  • af04b2b799 WildCard is spelled Wildcard Romain Goyet 2016-04-01 14:29:38 +02:00
  • edb6737057 Poincare: Formal ruleset Romain Goyet 2016-04-01 14:29:08 +02:00
  • 9993ba1d77 Poincare: Build and use the rulegen Romain Goyet 2016-04-01 14:28:45 +02:00
  • f54403ae21 Poincare: Add a README for the simplification Romain Goyet 2016-04-01 14:22:39 +02:00
  • 7f116ace21 Poincare: Build the RuleGen Romain Goyet 2016-04-01 13:35:51 +02:00
  • c8e850ba7f Poincare: Add a sample list of rules Romain Goyet 2016-03-31 19:04:40 +02:00
  • 9125033d90 Poincare: The rules compiler checks for wildcard consistency Romain Goyet 2016-03-31 18:59:46 +02:00
  • ed2c4cfb59 First version of the simplifications. Felix Raimundo 2016-04-01 10:40:54 +02:00
  • 6232079f02 Poincare: Add a Simplification rule generator Romain Goyet 2016-03-31 18:47:18 +02:00
  • 7ddd1fc112 WIP - Remove dead code / files. Felix Raimundo 2016-03-30 11:26:15 +02:00
  • 5e01cfe421 Add baseline for pretty printing. Felix Raimundo 2016-03-29 12:36:12 +02:00
  • 1742146812 Fix typo in the functions printing. Felix Raimundo 2016-03-25 17:22:12 +01:00
  • 418d081f6e Add the trig menu. Felix Raimundo 2016-03-25 17:21:50 +01:00
  • e0184ba975 Add a flag for inversing the intensity in char drawings. Felix Raimundo 2016-03-25 14:34:29 +01:00
  • c56c506b19 Poincare: Handle unknown symbols in ugly debug hack Romain Goyet 2016-03-29 12:53:29 +02:00
  • ab531f357b Poincare: Collect some simplification functions Romain Goyet 2016-03-29 12:50:12 +02:00
  • e534b659c1 Poincare: Add hand-generated Simplifications Romain Goyet 2016-03-29 12:49:30 +02:00
  • 307f94b50b Merge branch 'master' of ssh://git.numworks.com:29418/CalcOS Romain Goyet 2016-03-28 15:53:27 +02:00
  • ad807282a3 Poincare: Nicer naming Romain Goyet 2016-03-27 21:44:40 +02:00
  • 60b648a1cc Poincare: Conditional use of the new simplification architecture Romain Goyet 2016-03-27 12:51:29 +02:00
  • eae34b3221 Poincare: ExpressionBuilder can now take a function pointer Romain Goyet 2016-03-27 12:50:06 +02:00
  • ef3b8c6f24 Poincare: Fix the ExpressionBuilder and ExpressionSelector child method Romain Goyet 2016-03-26 23:59:27 +01:00
  • a8feaefe82 Poincare: Add a Simplification class Romain Goyet 2016-03-26 21:04:04 +01:00
  • e8b7a9bd83 Poincare: Add an ExpressionBuilder class Romain Goyet 2016-03-26 18:47:08 +01:00
  • f81239fdb8 Poincare: Add an ExpressionSelector Romain Goyet 2016-03-26 18:46:27 +01:00
  • ebf03464fa Fix warnings. Felix Raimundo 2016-03-25 12:23:06 +01:00
  • 3710103f40 Change the layout creation. Felix Raimundo 2016-03-25 12:10:33 +01:00
  • bdb4aaace3 Merge branch 'master' of ssh://git.numworks.com:29418/CalcOS Romain Goyet 2016-03-25 11:53:59 +01:00
  • c3b1089964 Transform SimplifyAdditionMerge into SimplifyCommutativeMerge Romain Goyet 2016-03-25 11:53:42 +01:00
  • 2744d942e1 Merge changes I44c1bed2,Ibcf1dd17,Id02daf67 Félix Raimundo 2016-03-25 11:09:20 +01:00
  • d7d00fefd7 Merge changes I6b4d6be5,Ie87dc145,I87e12b9c,I5d37ed0a,Ia52f38da Félix Raimundo 2016-03-25 11:09:17 +01:00
  • 144ec9d556 Use proper english name for sine. Felix Raimundo 2016-03-24 18:40:41 +01:00
  • 46ffb55ec3 Add parsing test for trigo functions. Felix Raimundo 2016-03-24 18:30:44 +01:00
  • 7f660ffbd5 Horizontal layout finished. Felix Raimundo 2016-03-24 18:24:16 +01:00
  • b79e7483f4 Poincare: Adding SimplifyAdditionMerge Romain Goyet 2016-03-24 17:47:04 +01:00
  • 4707459a19 Update functions to use the clone interface. Felix Raimundo 2016-03-24 16:54:53 +01:00
  • f5f5399e92 Horizontal layout Felix Raimundo 2016-03-24 16:08:03 +01:00
  • 11537ef794 Remove call to get_char to fix tests. Felix Raimundo 2016-03-24 13:53:54 +01:00
  • 3e632f5586 Rename text_input to utils, add a util in it. Felix Raimundo 2016-03-24 13:45:51 +01:00
  • d105236da9 Add the Function and trig functions classes and layout. Felix Raimundo 2016-03-24 12:03:36 +01:00
  • ed95a3c564 Poincare: Test the SimplifyAdditionInteger Romain Goyet 2016-03-24 15:51:41 +01:00
  • c43211cb45 Poincare: Expression::isIdenticalTo Romain Goyet 2016-03-24 15:51:22 +01:00
  • 32745b9fe4 Misc cleanups Romain Goyet 2016-03-24 15:50:52 +01:00
  • 202d110488 Add a BinaryOperation class Romain Goyet 2016-03-24 15:49:58 +01:00
  • aa3595ad54 Poincare: Add a LeafExpression class Romain Goyet 2016-03-24 15:48:11 +01:00
  • 59092a66df Remove an useless cast Romain Goyet 2016-03-24 13:53:21 +01:00
  • d50e245398 Poincare: Simplify Integer addition Romain Goyet 2016-03-24 13:53:08 +01:00
  • 0d7813dc7b Poincare: Expressions can now be cloned Romain Goyet 2016-03-24 13:35:16 +01:00
  • ae3f087a95 Poincare: CommutativeOperation can take an expression of any length Romain Goyet 2016-03-24 13:10:41 +01:00
  • 6edb36cef3 Poincare: Expression parsing shouldn't modify the string Romain Goyet 2016-03-24 13:09:54 +01:00
  • fe3667639f Merge "Poincare: Add a CommutativeOperation class" Romain Goyet 2016-03-24 11:54:48 +01:00
  • 657c4d8299 Merge "Poincare: Simplifier -> Simplify" Romain Goyet 2016-03-24 11:54:45 +01:00
  • 7b40c0a948 Merge "Poincare: Clean the Expression::Type" Romain Goyet 2016-03-24 11:54:39 +01:00
  • 5e1edae4a9 Merge "Remove hardcoded font size." Félix Raimundo 2016-03-24 11:43:04 +01:00
  • 3e5695de21 Poincare: Add a CommutativeOperation class Romain Goyet 2016-03-24 11:42:08 +01:00
  • 7f0a3f94bb Poincare: Simplifier -> Simplify Romain Goyet 2016-03-24 10:39:00 +01:00
  • dfdaa54928 Poincare: Clean the Expression::Type Romain Goyet 2016-03-24 10:19:04 +01:00
  • cb2bcb6ad9 Remove hardcoded font size. Felix Raimundo 2016-03-23 19:05:56 +01:00
  • a18eac8059 Merge "Adds a text_input function to get text." Félix Raimundo 2016-03-23 18:55:13 +01:00
  • 2f77d70369 Poincare: Product can now have more than two factors Romain Goyet 2016-03-23 17:52:26 +01:00
  • fd95a7e558 Adds a text_input function to get text. Felix Raimundo 2016-03-23 15:43:04 +01:00
  • d3b0841af6 Poincare: Add a simplifier Romain Goyet 2016-03-23 17:24:11 +01:00
  • 55a76ac530 No tabs for indentation Romain Goyet 2016-03-23 17:23:45 +01:00
  • 66ef3f1647 Merge "Final pass at removing the warnings." Félix Raimundo 2016-03-23 12:49:31 +01:00
  • 35228e83af Define and use HOSTCC Romain Goyet 2016-03-23 12:35:25 +01:00
  • 411e983ccf Final pass at removing the warnings. Felix Raimundo 2016-03-23 11:42:32 +01:00
  • 80ad6e606b Removed all warnings, now in Werror Felix Raimundo 2016-03-22 18:56:00 +01:00
  • d84e139954 Remove some warnings. Felix Raimundo 2016-03-22 18:31:05 +01:00
  • 2ee147a48c Remove dead code in Makefiles Felix Raimundo 2016-03-22 18:29:24 +01:00
  • 605dd9f372 Add memory_map for simulator. Felix Raimundo 2016-03-22 13:44:31 +01:00
  • 9f9d05e822 Add the test output to the .gitignore Felix Raimundo 2016-03-22 12:40:56 +01:00
  • 1f9b440182 Added some basic tests for the AST members. Felix Raimundo 2016-03-22 12:40:28 +01:00
  • 3c514a78e0 Change Substraction to Subtraction. Felix Raimundo 2016-03-22 12:38:08 +01:00
  • 5f86659bd3 Remove some dead code. Felix Raimundo 2016-03-21 17:50:01 +01:00
  • fcca8e77f1 Add a test for products. Felix Raimundo 2016-03-21 17:47:52 +01:00
  • a5f01b35af Fix integer test compilation. Felix Raimundo 2016-03-21 17:47:19 +01:00
  • 45b0ce8256 Add a cursor to the input. Felix Raimundo 2016-03-21 17:18:27 +01:00