Commit Graph

133 Commits

Author SHA1 Message Date
Niels G. W. Serup 556ded64a8
Also copy stylesheet 2024-09-30 23:40:53 +02:00
Niels G. W. Serup 3d4c79cc83
Understøt HTML i Markdown-filer 2024-09-30 23:34:52 +02:00
Niels G. W. Serup f6c73cf906
Make generator run 2024-09-30 23:31:16 +02:00
Niels G. W. Serup abc05a6032
Debug running 2024-09-30 23:31:01 +02:00
Niels G. W. Serup 8aaa056978
Add IsDirectory 2024-09-30 23:30:43 +02:00
Niels G. W. Serup da7ea65cf5
Implement functions 2024-09-28 13:57:53 +02:00
Niels G. W. Serup 67447ac23b
Support running the dependency runner from the command line
Will fail currently
2024-09-27 21:18:29 +02:00
Niels G. W. Serup d3b32398b5
Implement DependencyRunner for MapComp 2024-09-27 21:13:16 +02:00
Niels G. W. Serup 53e9598d22
Migrate *ListElem functionality into just MapComp 2024-09-27 20:58:18 +02:00
Niels G. W. Serup c53f804074
Start implementing DependencyRunner 2024-09-27 20:39:27 +02:00
Niels G. W. Serup b60336cf9f
Curry more 2024-09-26 23:40:26 +02:00
Niels G. W. Serup 831ab700b9
Slightly remedy indentation 2024-09-26 23:13:28 +02:00
Niels G. W. Serup 6c36a53ec9
Use Text for html 2024-09-26 23:02:29 +02:00
Niels G. W. Serup 8ff8726abe
Add Text support 2024-09-26 22:48:20 +02:00
Niels G. W. Serup 91e52aeb2a
Add Concat and implement img body html 2024-09-26 00:33:52 +02:00
Niels G. W. Serup bd6ede1df9
Use correct recipe-specific output dir 2024-09-26 00:09:48 +02:00
Niels G. W. Serup e770a350d6
Avoid extra untupling in this case for now 2024-09-26 00:06:30 +02:00
Niels G. W. Serup 5d5dbbec74
Also copy original images 2024-09-26 00:02:51 +02:00
Niels G. W. Serup fa2e3c144a
Clean up paths 2024-09-25 23:51:33 +02:00
Niels G. W. Serup 992edea3ee
Implement untupling and use more general append instead of ConvertedImageFilename 2024-09-25 23:32:49 +02:00
Niels G. W. Serup fe87351976
Only unzip what we use 2024-09-25 23:14:14 +02:00
Niels G. W. Serup 51c7c1977f
Add stub for new function 2024-09-25 23:13:23 +02:00
Niels G. W. Serup c22fd7ddf0
Require simpler IsImageExtension 2024-09-25 23:12:32 +02:00
Niels G. W. Serup 056c8d278b
Introduce unzipping and use it 2024-09-25 23:06:53 +02:00
Niels G. W. Serup 5e73358df7
Don't make ids for empty output tokens 2024-09-25 22:12:38 +02:00
Niels G. W. Serup 6ecb577402
Make the functions easier to call inline 2024-09-25 22:09:26 +02:00
Niels G. W. Serup ad83c8c941
Improve ergonomics 2024-09-25 19:48:45 +02:00
Niels G. W. Serup fd3e5f6986
De-duplicate code 2024-09-25 19:45:10 +02:00
Niels G. W. Serup 544b02c3a6
Use tuples for tuples 2024-09-25 19:42:15 +02:00
Niels G. W. Serup 4a0ea4d5ef
Also build every recipe html page 2024-09-25 19:37:49 +02:00
Niels G. W. Serup daacf2e6fa
Swap DepGenM and DepGenM' 2024-09-24 23:09:35 +02:00
Niels G. W. Serup f4ff6d6d98
Add ApplyTemplate and use NoToken less 2024-09-24 23:01:07 +02:00
Niels G. W. Serup 8bf1e107a0
Also use DepGenM' for MakeDir 2024-09-24 22:44:45 +02:00
Niels G. W. Serup 67bfa01b67
MakeDir 2024-09-24 22:38:52 +02:00
Niels G. W. Serup 6ebc3f5e3a
Change RunPandoc to be more file-centric 2024-09-24 22:24:06 +02:00
Niels G. W. Serup 2b5f4f8b1e
Return core () for mapDepGenM_ 2024-09-24 22:23:43 +02:00
Niels G. W. Serup 5b0a6f1236
Build a pretty dependency tree visualizer 2024-09-24 22:14:47 +02:00
Niels G. W. Serup ad3bba2d1a
Remove unneeded type constraints 2024-09-24 21:25:58 +02:00
Niels G. W. Serup f4bca41377
Move Dependency to Types.Dependency 2024-09-24 21:21:49 +02:00
Niels G. W. Serup 61387f6eba
Add skeletons for function implementations 2024-09-24 21:14:27 +02:00
Niels G. W. Serup 9376ede653
Use Value for evaluating functions 2024-09-24 21:03:54 +02:00
Niels G. W. Serup e7e767c007
Clean up and move things around 2024-09-23 22:11:54 +02:00
Niels G. W. Serup a098317df3
Kind of make it work with pre-compilation
But very messy now.
2024-09-23 21:14:18 +02:00
Niels G. W. Serup 47dd09f54c
Start worknig on templates 2024-09-21 23:21:47 +02:00
Niels G. W. Serup d5b8e2006c
Actually commit function implementations modules 2024-09-21 23:11:50 +02:00
Niels G. W. Serup 5bbcc924b7
Provide more building blocks and extend example 2024-09-21 23:11:31 +02:00
Niels G. W. Serup dad5724af8
Remove warnings and rename new token 2024-09-21 22:49:29 +02:00
Niels G. W. Serup 06067a6cfc
Add filterComputationM 2024-09-21 22:40:17 +02:00
Niels G. W. Serup fce1d88025
Refactor and add note 2024-09-21 22:13:46 +02:00
Niels G. W. Serup 305623d53f
Refactor 2024-09-21 20:08:54 +02:00
Niels G. W. Serup 1a1db6944f
Split functions further into groups of functions 2024-09-21 20:07:38 +02:00
Niels G. W. Serup 1f3c2929fd
Split functions into two modules 2024-09-21 20:05:08 +02:00
Niels G. W. Serup 28d430cf72
Put function shortcuts back in Functions module 2024-09-21 20:00:59 +02:00
Niels G. W. Serup e3868332be
Move more base stuff into Types module 2024-09-21 19:53:32 +02:00
Niels G. W. Serup de6495d750
Refactor tell use slighly 2024-09-21 19:51:11 +02:00
Niels G. W. Serup 4884136dad
Connect SetListElem to outer output list 2024-09-21 19:47:50 +02:00
Niels G. W. Serup 8c7e311338
Connect GetListElem to outer input list 2024-09-21 19:32:32 +02:00
Niels G. W. Serup 8184160035
Don't duplicate token ids in lists 2024-09-21 19:25:36 +02:00
Niels G. W. Serup c588dc1f56
User better namings 2024-09-21 19:17:09 +02:00
Niels G. W. Serup d0c2b47df0
Use InList properly 2024-09-21 19:09:43 +02:00
Niels G. W. Serup af2b9202ef
Get rid of the final traversable cruft 2024-09-21 18:49:50 +02:00
Niels G. W. Serup 9410a39527
Remove more traversable leftovers 2024-09-21 18:46:17 +02:00
Niels G. W. Serup f12ac12ea8
Remove mapM usage in monad
Was really a hack.
2024-09-21 18:45:39 +02:00
Niels G. W. Serup b4f36f9370
Also migrate Function 2024-09-21 18:06:00 +02:00
Niels G. W. Serup af50f16243
Migrate all FunctionIO 2024-09-21 18:02:20 +02:00
Niels G. W. Serup b1c124d899
Remove non-unneeded import 2024-09-21 17:42:03 +02:00
Niels G. W. Serup 5fc78b14ad
Add nice wrappers 2024-09-21 17:41:13 +02:00
Niels G. W. Serup bb52c043cd
Remove duplicated old way of doing this 2024-09-21 17:39:50 +02:00
Niels G. W. Serup 6a2a87cfc3
Start using class instances instead of GADT constructors
Maybe makes more sense here?
2024-09-21 17:37:37 +02:00
Niels G. W. Serup 124d9fa4d8
This belongs here 2024-09-21 17:34:28 +02:00
Niels G. W. Serup 8575bd061a
Remove warnings 2024-09-21 17:33:02 +02:00
Niels G. W. Serup 987a7809bb
Split into library and executable 2024-09-21 17:31:57 +02:00
Niels G. W. Serup 111fe3cee5
Make compile 2024-09-21 17:13:20 +02:00
Niels G. W. Serup 2549d5af1b
Put sources functionality in its own file 2024-09-21 16:57:03 +02:00
Niels G. W. Serup 4e412e4366
Add bytestring dependency 2024-09-21 16:54:37 +02:00
Niels G. W. Serup e0caddd119
Move functions to own file 2024-09-21 16:50:57 +02:00
Niels G. W. Serup 6962c5cb17
Remove piping attempt 2024-09-21 16:38:37 +02:00
Niels G. W. Serup 20eaec927e
Add initial code approach exploration
For the historical record.
2024-09-21 16:35:13 +02:00
Niels G. W. Serup 2f14c5a653
Let's use mtl 2024-09-15 20:35:48 +02:00
Niels G. W. Serup a0e6aa2b23
Rename section to clarify it's not just about warnings 2024-09-15 20:35:15 +02:00
Niels G. W. Serup 864c515469
Use more flags when building with default.nix 2024-09-15 20:23:10 +02:00
Niels G. W. Serup 1fe7714c6b
Add a default.nix for nix-build 2024-09-12 19:49:58 +02:00
Niels G. W. Serup 2628822373
Add initial generator 2024-09-11 22:32:14 +02:00