Commit Graph

  • 0644c279d0 Add test Jeroen Engels 2021-12-08 17:37:13 +0100
  • 43f42e66fd Make test code more real Jeroen Engels 2021-12-08 17:35:21 +0100
  • 6f5fb329ed Declare statements next to the return statement when possible Jeroen Engels 2021-12-08 13:19:14 +0100
  • f45a9be58a Move the declaration next to the function that uses it Jeroen Engels 2021-12-08 12:58:10 +0100
  • 016b03685a Add TODOs Jeroen Engels 2021-12-08 11:45:20 +0100
  • dd5ffbed58 Insert new declarations in the right block Jeroen Engels 2021-12-08 11:35:09 +0100
  • a8bd8ffaf4 Merge functions Jeroen Engels 2021-12-08 00:36:17 +0100
  • 87651138c2 Call mergeFunctionCalls Jeroen Engels 2021-12-08 00:13:37 +0100
  • 8a8c502799 Make inserted variables start with a _ Jeroen Engels 2021-12-08 00:17:26 +0100
  • bdc97fe7e4 Add failing test Jeroen Engels 2021-12-08 00:02:44 +0100
  • 20243bb7cf Remove TODO Jeroen Engels 2021-12-08 00:06:59 +0100
  • 2eb4452160 Formatting Jeroen Engels 2021-12-08 00:00:29 +0100
  • 1a90b656be Change name of declarations Jeroen Engels 2021-12-07 22:55:02 +0100
  • 46e9541d33 Change name of param Jeroen Engels 2021-12-07 22:54:23 +0100
  • 026a596593 Don't replace the functions that we just introduced Jeroen Engels 2021-12-07 22:51:09 +0100
  • a8373a30dc Extract variable Jeroen Engels 2021-12-07 22:47:27 +0100
  • f84422efc3 Also extract when it's a function expression Jeroen Engels 2021-12-07 22:46:27 +0100
  • 4cb546baf1 Remove unnecessary imports Jeroen Engels 2021-12-07 22:43:06 +0100
  • c46c0aabc1 Extract function Jeroen Engels 2021-12-07 22:42:43 +0100
  • f35d3e401e Add failing test Jeroen Engels 2021-12-07 22:39:25 +0100
  • 6afcb54851 Simplify test Jeroen Engels 2021-12-07 22:36:17 +0100
  • f86da5435a Fix examples Jeroen Engels 2021-12-07 22:28:29 +0100
  • 413ed8a0c4 Support extracting variable from the first argument Jeroen Engels 2021-12-07 22:25:42 +0100
  • f81ff1ab5f Change test title Jeroen Engels 2021-12-07 22:22:14 +0100
  • 7d77d21f30 Add test Jeroen Engels 2021-12-07 22:20:34 +0100
  • c6e45c39ae Add explanation Jeroen Engels 2021-12-07 22:15:10 +0100
  • 493ab2e3ce Remove TODO Jeroen Engels 2021-12-07 22:07:30 +0100
  • 070e0e5aa8 Fix original source code Jeroen Engels 2021-12-07 22:07:16 +0100
  • 289cf36f1c Extract function calls to variables Jeroen Engels 2021-12-07 22:04:27 +0100
  • 2c9367f771 Create insertion mechanism Jeroen Engels 2021-12-07 21:53:53 +0100
  • d06560c948 Insert new variable Jeroen Engels 2021-12-07 21:47:40 +0100
  • 3611d53fb7 Wrap test code in IIFE Jeroen Engels 2021-12-07 21:47:18 +0100
  • f716aef464 Add blocks Jeroen Engels 2021-12-07 21:29:05 +0100
  • 2596945b9a Add failing test Jeroen Engels 2021-12-07 21:11:07 +0100
  • 285c1a4317 Give unique names to introduced params to avoid conflicts Jeroen Engels 2021-12-06 00:36:59 +0100
  • dc51f96231 Add TODOs Jeroen Engels 2021-12-06 00:41:45 +0100
  • 435ae30863 Add passing test Jeroen Engels 2021-12-06 00:07:51 +0100
  • e7dbe6740a Remove dollar signs f Jeroen Engels 2021-12-06 00:07:03 +0100
  • 9e48ce8bf4 Compose multiple functions Jeroen Engels 2021-12-06 00:03:04 +0100
  • cc19bf40fb Move comment Jeroen Engels 2021-12-05 23:34:48 +0100
  • e90e31fa09 Give less confusing names Jeroen Engels 2021-12-05 23:34:00 +0100
  • 3384771cc6 Extract information Jeroen Engels 2021-12-05 23:30:57 +0100
  • 6820437fd9 Recurse through children first Jeroen Engels 2021-12-05 23:27:36 +0100
  • 290395a564 Add test Jeroen Engels 2021-12-05 14:35:59 +0100
  • 7ab517286c Add comments Jeroen Engels 2021-12-05 14:23:35 +0100
  • 92edd44228 Enable transformation Jeroen Engels 2021-12-05 12:43:56 +0100
  • d312690504 Fix replacement Jeroen Engels 2021-12-05 12:30:17 +0100
  • 2615b182a8 Split tests Jeroen Engels 2021-12-05 12:21:16 +0100
  • 7466e9d7d9 Inverse operations for composeL Jeroen Engels 2021-12-05 12:19:13 +0100
  • 869c6ef2c2 Start count from 0 Jeroen Engels 2021-12-05 12:18:01 +0100
  • eb3ce40267 Extract variable Jeroen Engels 2021-12-05 12:17:09 +0100
  • b953cf5e7f Apply replacement for composeL Jeroen Engels 2021-12-05 12:16:23 +0100
  • b23753a555 Get rid of unnecessary things Jeroen Engels 2021-12-05 11:53:51 +0100
  • 8eb08d9e17 Copy other transformer Jeroen Engels 2021-12-04 12:32:04 +0100
  • c2bdf025e5 Remove usages of ts.mutable Jeroen Engels 2022-02-04 18:15:58 +0100
  • 44e01cf772 Prevent extracts from being computed twice Jeroen Engels 2022-01-29 12:03:13 +0100
  • bb3262fae8 Add better type to Context Jeroen Engels 2022-01-27 22:58:55 +0100
  • 0e99436196 Improve documentation Jeroen Engels 2022-01-26 18:52:35 +0100
  • e4c650ad3d Remove unused code Jeroen Engels 2022-01-26 18:07:02 +0100
  • 5be2837b94 Compress the construction of cons/concat operations Jeroen Engels 2022-01-26 15:26:28 +0100
  • 651058bb9d Add TODO Jeroen Engels 2022-01-25 10:49:06 +0100
  • eac475a541 Make formatting consistent in tests Jeroen Engels 2022-01-25 10:45:45 +0100
  • d949fde7cf Revert transforms disabling Jeroen Engels 2022-01-19 16:46:17 +0100
  • 4b0635368c Add TODO Jeroen Engels 2022-01-18 22:15:03 +0100
  • 1170a1cbeb Remove TODO Jeroen Engels 2022-01-18 21:56:56 +0100
  • 6b0a5410f9 Support list recursion in utils append expression Jeroen Engels 2022-01-18 21:32:15 +0100
  • c90f8cd2b6 Support combining cons and concat Jeroen Engels 2022-01-17 23:44:28 +0100
  • b7cc743679 Replace cons recursion by list operations recursion Jeroen Engels 2022-01-18 18:01:50 +0100
  • cbfee89dfe Add return statement changes Jeroen Engels 2022-01-18 17:20:31 +0100
  • 176ca2cb7b Add ListOperationsRecursion Jeroen Engels 2022-01-18 16:50:30 +0100
  • 4e185791af Move operations after the ones for the start of the list Jeroen Engels 2022-01-18 17:48:57 +0100
  • 34782c95fd Optimize plain recursive calls even when we can't optimize concat recurs Jeroen Engels 2022-01-17 20:20:12 +0100
  • df00eb3139 Remove completed TODO Jeroen Engels 2022-01-17 18:12:07 +0100
  • f0f7f910f3 Support string concatenation when encountering _Utils_ap Jeroen Engels 2022-01-17 18:08:43 +0100
  • 92adfe5050 Remove TODO Jeroen Engels 2022-01-16 19:44:06 +0100
  • e20dde9592 Remove hardcoding around left/right for addition Jeroen Engels 2022-01-16 19:42:41 +0100
  • f070c0a2ca Add TODO Jeroen Engels 2022-01-16 19:38:40 +0100
  • d159786986 Remove incorrect refinement of add Jeroen Engels 2022-01-16 19:27:49 +0100
  • 159691916b Introduce a while loop even when there are already some Jeroen Engels 2022-01-16 11:33:11 +0100
  • 76b30db569 Add test for when we can't determine what is being concatenated Jeroen Engels 2022-01-16 18:23:35 +0100
  • e7a570ad2d Add documentation for the tail recursion transformer Jeroen Engels 2022-01-15 12:06:10 +0100
  • 36616b34fe Pass forTests to the transformer Jeroen Engels 2022-01-16 11:36:03 +0100
  • 9a3ee5c852 Handle all cases of list concatenation Jeroen Engels 2022-01-16 13:09:49 +0100
  • ea9943e69a Detect calls to _List_fromArray as returning lists Jeroen Engels 2022-01-16 13:34:57 +0100
  • e0742b340d Add TODO Jeroen Engels 2022-01-11 19:04:09 +0100
  • f6b846699e Support recursion when adding to the end of a list Jeroen Engels 2022-01-15 23:33:03 +0100
  • a6980c81d9 Support updating nested ternary expressions Jeroen Engels 2022-01-16 00:21:22 +0100
  • 4916270a3a Use type inference to support list recursion Jeroen Engels 2022-01-15 15:22:21 +0100
  • 7a00d7cc74 Add module to determine type of an expression Jeroen Engels 2022-01-14 21:53:21 +0100
  • 4a274e2f4c Add numbersConfirmed to Add recursion Jeroen Engels 2022-01-15 14:56:51 +0100
  • f729d12569 Make end condition for determineRecursionType more explicit Jeroen Engels 2022-01-15 14:36:13 +0100
  • b25dcdf4aa Remove unnecessary AST exploration Jeroen Engels 2022-01-15 21:14:49 +0100
  • ac3083894a Separate while loop creation from declarations Jeroen Engels 2022-01-15 14:22:53 +0100
  • 59e22fb101 Explicit handling of plain and boolean recursion Jeroen Engels 2022-01-15 10:36:10 +0100
  • 9566deeb2c Use a generator to visit a function's return statements Jeroen Engels 2022-01-14 00:07:06 +0100
  • d21defc7d8 Remove unnecessary continue support Jeroen Engels 2022-01-14 00:05:52 +0100
  • 7ca4f02898 Introduce functions when they are needed Jeroen Engels 2022-01-13 23:08:33 +0100
  • 03cbaceb7b Support list concatenation recursion Jeroen Engels 2022-01-09 23:28:28 +0100
  • ebf4dd6acc Add TODO Jeroen Engels 2022-01-09 23:30:11 +0100
  • 7916960623 Fix indentation issues Jeroen Engels 2022-01-09 18:37:47 +0100