Commit Graph

50 Commits

Author SHA1 Message Date
Niels G. W. Serup 740cb67d66
Use inline functions everywhere except for IO 2024-10-14 23:18:21 +02:00
Niels G. W. Serup 1da32745a2
Rewrite pandoc functions to be inline 2024-10-14 22:48:58 +02:00
Niels G. W. Serup d85243b1ba
Use fewer explicit TypeRep's 2024-10-14 22:15:27 +02:00
Niels G. W. Serup f29dd6d299
Try starting supporting inline functions
Gets rid of UToken.
2024-10-14 20:41:42 +02:00
Niels G. W. Serup f348bd1e82
Change Value type to just be Dynamic
Restructure into more modules.
2024-10-10 23:53:54 +02:00
Niels G. W. Serup 3e0e9a128e
Also make Function plug and play 2024-10-06 15:53:40 +02:00
Niels G. W. Serup ff4023bca4
Remove unused appends 2024-10-06 15:23:09 +02:00
Niels G. W. Serup f8e80ae2bc
Define shortcut runners the same place as the instances 2024-10-06 15:12:31 +02:00
Niels G. W. Serup 1fce00e531
Refine unit requirement 2024-10-06 13:44:19 +02:00
Niels G. W. Serup 21d5366fea
Put more types into IsFunctionIO 2024-10-06 13:19:06 +02:00
Niels G. W. Serup fa06f0685a
Allow easier FunctionIO plug and play 2024-10-06 13:06:34 +02:00
Niels G. W. Serup 9170a7f044
Move pandoc execution out of IO 2024-10-06 00:03:11 +02:00
Niels G. W. Serup 152f988363
Force early evaluation 2024-10-05 23:42:40 +02:00
Niels G. W. Serup 9c912d2457
Split ConvertImage into three steps 2024-10-05 23:37:54 +02:00
Niels G. W. Serup 94c2fbfbc9
Refactor to be more nested 2024-10-05 22:51:13 +02:00
Niels G. W. Serup 9311d51464
Provide better filter ergonomics for the common case 2024-10-05 21:57:04 +02:00
Niels G. W. Serup 9240d66c15
Only use concat 2024-10-05 20:28:25 +02:00
Niels G. W. Serup d96af50943
Introduce ListToken and start using it for concat instead of append 2024-10-05 20:21:06 +02:00
Niels G. W. Serup c06bd28d9a
Fix accidental argument swap 2024-10-05 20:20:16 +02:00
Niels G. W. Serup 7504c083a1
Refactor TupleToken building 2024-10-05 19:56:53 +02:00
Niels G. W. Serup a019cee656
Use fewer tuples internally 2024-10-05 19:44:28 +02:00
Niels G. W. Serup 7825f62fa2
Run pandoc on text instead of file 2024-10-05 18:16:34 +02:00
Niels G. W. Serup 47420cbe41
Split template loading into multiple steps 2024-10-05 18:07:26 +02:00
Niels G. W. Serup 1988beb49a
Generalize ReadTemplate 2024-10-05 17:59:52 +02:00
Niels G. W. Serup 8c2f522bbf
Also copy fonts
Do some ugly shenanigans to make this work.
2024-10-05 17:35:47 +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 53e9598d22
Migrate *ListElem functionality into just MapComp 2024-09-27 20:58:18 +02:00
Niels G. W. Serup b60336cf9f
Curry more 2024-09-26 23:40:26 +02:00
Niels G. W. Serup 6c36a53ec9
Use Text for html 2024-09-26 23:02:29 +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 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 992edea3ee
Implement untupling and use more general append instead of ConvertedImageFilename 2024-09-25 23:32:49 +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 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 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 e7e767c007
Clean up and move things around 2024-09-23 22:11:54 +02:00