Commit Graph

49 Commits

Author SHA1 Message Date
Matthew Griffith
f1997f1a11
Merge pull request #8 from mdgriffith/twop/inline-partial-application
added inlining of partial applications
2020-07-30 16:30:25 -04:00
Simon
c927a43d1c added inlining of partial applications 2020-07-30 13:26:41 -07:00
Matthew Griffith
b57b3470bb
Merge pull request #7 from mdgriffith/twop/fixed-nested-function-inlining
fixed a crash with nested A(n) calls that involve non raw identifiers
2020-07-29 12:11:13 -04:00
Simon
35fdb28c4d fixed a crash with nested A(n) calls that involve non raw identifier calls like "A2(styled.d9, a, b)" 2020-07-29 09:03:26 -07:00
mdgriffith
54de2d1812 add description of splitting out function definitions 2020-07-29 09:57:53 -04:00
mdgriffith
3ca035c206 rename to normalizeVariatnShapes 2020-07-29 09:57:24 -04:00
mdgriffith
046eef39a2 have variant shapes create a normal function expression instead of an arrow (arrows can be handled separately) 2020-07-29 09:56:25 -04:00
mdgriffith
635e0471de update comments for inline list transformations 2020-07-29 09:55:57 -04:00
mdgriffith
05b9fea928 add just and cons to stubbed in typevariant information 2020-07-29 09:25:53 -04:00
mdgriffith
c26a70f0d7 Merge branch 'master' of https://github.com/mdgriffith/elm-optimize 2020-07-29 08:49:22 -04:00
Matthew Griffith
019a0a4eb5 comment for arrowization annotation 2020-07-28 23:34:05 -04:00
Matthew Griffith
9c1ea52cdb update outputs with new compiler pipeline 2020-07-28 23:33:29 -04:00
Matthew Griffith
e94ef52afd manually include Myabe and List type informatin without needing to parse them. 2020-07-28 23:32:06 -04:00
Matthew Griffith
b468b77a9c add record updates to benching example 2020-07-28 23:29:39 -04:00
Matthew Griffith
2d4d7d8ae8 Put compiling pipelien into a funcito ns owe can reuse it 2020-07-28 22:35:49 -04:00
Matthew Griffith
112c74253a add benchmarkable test case 2020-07-28 22:34:46 -04:00
Matthew Griffith
a1c0154534 remove pre-commit hook for now 2020-07-28 22:34:22 -04:00
mdgriffith
7493dcb237 remove yarn.lock as I assume we're using npm 2020-07-28 09:49:16 -04:00
mdgriffith
f0480c8008 add documentation for Variant Shapes transformation 2020-07-28 09:16:18 -04:00
Matthew Griffith
3d73f2ffe9
Merge pull request #6 from mdgriffith/modernize-js-and-fixes
added arrow func transformation and native object merge
2020-07-28 08:41:49 -04:00
Simon
b56ab192cc added arrow func transformation and native object merge 2020-07-27 22:25:33 -07:00
Simon
57a5e6e130
Merge pull request #5 from mdgriffith/twop/hooked-up-e2e
hooked up opt pipeline e2e
2020-07-27 22:24:01 -07:00
Simon
aa043d6cc8 hooked up opt pipeline e2e 2020-07-27 16:09:42 -07:00
Matthew Griffith
92754e1d61
Merge pull request #4 from mdgriffith/twop/different-array-to-list-inlines
added options of inlining _List_fromArray calls with object literals
2020-07-26 17:25:47 -04:00
mdgriffith
f83cb427ad add jsName to parsed variants 2020-07-26 16:29:35 -04:00
mdgriffith
be3d141c49 add totalTypeSlotCount to ElmVariant 2020-07-26 08:26:35 -04:00
Simon
6122ce9dc0 added options of inlining _List_fromArray calls with object literals 2020-07-25 21:49:20 -07:00
mdgriffith
d831907cc5 Merge branch 'master' of https://github.com/mdgriffith/elm-optimize 2020-07-25 23:40:55 -04:00
mdgriffith
0c645f4bf5 Update yarn.lock 2020-07-25 23:40:45 -04:00
mdgriffith
dbabfb895a extract custom type from elm file 2020-07-25 23:40:11 -04:00
Matthew Griffith
435b11a205
Merge pull request #3 from mdgriffith/twop/inline-list-from-array
initial version of inlining _List_fromArray
2020-07-25 20:14:56 -04:00
Simon
4d28e7a8e6 initial version of inlining _List_fromArray 2020-07-25 17:00:57 -07:00
Simon
58f8044e5c
Merge pull request #2 from mdgriffith/twop/custom-types-prod
supported prod mode for transforming custom types
2020-07-25 16:54:56 -07:00
Simon
d7bb6d943c supported prod mode for transforming custom types 2020-07-25 16:31:35 -07:00
Simon
e652a7e8b4 fixed ts-node launch 2020-07-25 14:38:20 -07:00
mdgriffith
74cc0f4c0d output for simple elm compilation 2020-07-25 11:21:57 -04:00
mdgriffith
c2bfe65c04 move delcarations to src folder 2020-07-25 11:21:32 -04:00
mdgriffith
9f1633e15e move compile-testcases to src folder 2020-07-25 11:20:59 -04:00
mdgriffith
d61069a30a add module declaration for external untyped modules 2020-07-25 11:20:32 -04:00
mdgriffith
0e11243943 add tree sitter and tree sitter elm dependencies 2020-07-25 11:19:19 -04:00
mdgriffith
d5de865ed4 compile-testcases script 2020-07-25 10:30:51 -04:00
mdgriffith
1fd0880169 rename script to testcases 2020-07-25 10:30:35 -04:00
mdgriffith
2eb1660308 add node-elm-compiler. ignore types 2020-07-25 10:30:07 -04:00
mdgriffith
a4f96bcd7e simple test case 2020-07-25 10:29:34 -04:00
mdgriffith
698d166bfe gitignore elm stuff 2020-07-25 10:29:10 -04:00
Matthew Griffith
96ab182cf7
Merge pull request #1 from mdgriffith/twop/func-inlining-and-custom-types
first iteration of custom types shapes optimization and inlining func…
2020-07-21 21:51:40 -04:00
Simon
83117cfffe first iteration of custom types shapes optimization and inlining functions 2020-07-21 18:46:57 -07:00
Matthew Griffith
30dc5026d9
Project Sketch 2020-07-20 09:50:54 -04:00
Matthew Griffith
3e044bb6b1
Initial commit 2020-07-20 08:37:25 -04:00