Commit graph

252 commits

Author SHA1 Message Date
Jasper Van der Jeugt
986a74b3af Add mapA 2011-02-07 11:41:09 +01:00
Jasper Van der Jeugt
781138a0e7 Backport sargon's fix (6d8154) 2011-02-06 22:27:11 +01:00
Jasper Van der Jeugt
bd261e9151 Add getRouteFor 2011-02-06 18:32:09 +01:00
Jasper Van der Jeugt
ec9c1ec0db Instantiate ArrowChoice for Compiler 2011-02-05 13:38:20 +01:00
Jasper Van der Jeugt
c093761e89 Route → Routes 2011-02-03 16:07:49 +01:00
Jasper Van der Jeugt
5705bb8f88 Add command-line args 2011-02-03 14:18:09 +01:00
Jasper Van der Jeugt
26c95402d8 Add a top-level configuration type 2011-02-03 11:34:00 +01:00
Jasper Van der Jeugt
97ce6cbfa0 Add setFieldA function 2011-01-30 15:18:38 +01:00
Jasper Van der Jeugt
c691251fc7 Autogenerate metacompiler indentifiers 2011-01-30 10:44:42 +01:00
Jasper Van der Jeugt
6cecbb890f Add fromCaptureString function 2011-01-25 20:56:10 +01:00
Jasper Van der Jeugt
7ba1413ea9 Add suffix to store files
This prevents file/directory clashes. Example:
when we have a `tags` item, and a `tags/foo` item,
there will be a clash since the store creates:

- a file `store/tags`;
- a file `store/tags/foo`.

The second file requires the first file to be a
directory.

We simply solve this by adding a suffix to all
store files, so it becomes:

- a file `store/tags.hakyllstore`;
- a file `store/tags/foo.hakyllstore`.
2011-01-25 13:50:02 +01:00
Jasper Van der Jeugt
e536a5961c Functor & Applicative instances for Compiler 2011-01-25 11:14:22 +01:00
Jasper Van der Jeugt
9b3e524128 Define all require functions in arrows
TODO: Think of a good naming scheme
2011-01-24 13:30:23 +01:00
Jasper Van der Jeugt
69f15f55ee Fix typo in requireAllA doc (thanks beastaugh) 2011-01-19 08:51:18 +01:00
Jasper Van der Jeugt
89cd33c723 Add requireA/requireAllA functions 2011-01-18 23:58:29 +01:00
Jasper Van der Jeugt
374a9dde5a Micro cleanup 2011-01-18 23:58:16 +01:00
Jasper Van der Jeugt
f104f91182 Monoid instance for page 2011-01-18 23:57:58 +01:00
Jasper Van der Jeugt
0bbc01f012 Backports feeds 2011-01-18 13:29:42 +01:00
Jasper Van der Jeugt
821dd38c13 Add some more defaults 2011-01-18 10:33:13 +01:00
Jasper Van der Jeugt
88b823eb5e Make static server configurable 2011-01-18 09:06:54 +01:00
Jasper Van der Jeugt
cea2197924 Add prototype preview server 2011-01-17 23:21:20 +01:00
Jasper Van der Jeugt
2f951598ef Allow IO operations in compilers 2011-01-17 22:43:44 +01:00
Jasper Van der Jeugt
c576424325 Backport ContextManipulations → Metadata 2011-01-17 16:08:37 +01:00
Jasper Van der Jeugt
78391b9be2 Clearer error message 2011-01-17 16:08:13 +01:00
Jasper Van der Jeugt
e3f8856665 Add renderTagCloud prototype 2011-01-17 10:04:09 +01:00
Jasper Van der Jeugt
d569ae5156 Add utility mapA function 2011-01-17 10:03:26 +01:00
Jasper Van der Jeugt
b867e6f204 Fix skipping certain compilers error 2011-01-17 10:02:46 +01:00
Jasper Van der Jeugt
6e7dc0e58f Micro-cleanup 2011-01-14 08:50:34 +01:00
Jasper Van der Jeugt
3ea3c52f53 Rewrite Run module a bit, get rid off obsolete 2011-01-11 20:20:34 +01:00
Jasper Van der Jeugt
607b1d7d63 sanitize function for DirectedGraph 2011-01-11 19:55:34 +01:00
Jasper Van der Jeugt
c6710ac09a Migrate Reader → Reader, State in Run module 2011-01-08 10:31:08 +01:00
Jasper Van der Jeugt
df8e221aef Fully qualified errors 2011-01-08 09:09:11 +01:00
Jasper Van der Jeugt
d0939102bf Metacompilers now work, todo: cleanup 2011-01-07 19:17:14 +01:00
Jasper Van der Jeugt
ddb8ea2193 Metacompilers now work, except for "modified" 2011-01-07 15:44:11 +01:00
Jasper Van der Jeugt
c443d5c116 Binary/Typeable/Writable instances for Tags 2011-01-07 15:12:22 +01:00
Jasper Van der Jeugt
672ecb077c Add fromCapture(s) 2011-01-07 15:09:55 +01:00
Jasper Van der Jeugt
7bf3450caf Run metacompilers instead of ignoring them 2011-01-07 14:48:47 +01:00
Jasper Van der Jeugt
1bf95c0028 Rank N compilers (compiler in compilers in...) 2011-01-07 14:40:33 +01:00
Jasper Van der Jeugt
f1e726be69 Renaming for consistency 2011-01-07 14:34:31 +01:00
Jasper Van der Jeugt
9e88440102 Restructure hakyllWith for metacompilers 2011-01-07 14:22:15 +01:00
Jasper Van der Jeugt
c7d63835f8 Move hakyllWith to hakyll monad 2011-01-07 12:47:02 +01:00
Jasper Van der Jeugt
11d7031da3 Add compilers producing compilers 2011-01-07 12:12:13 +01:00
Jasper Van der Jeugt
70fa0c2ff1 Add waitFor directive 2011-01-07 10:14:36 +01:00
Jasper Van der Jeugt
664648c5f9 Proof-of-concept tag module 2011-01-05 13:12:50 +01:00
Jasper Van der Jeugt
77c7d8dc17 Add in-memory map to store
This allows us to get rid of the dependency
lookup map and use one uniform cache/lookup.
2011-01-04 13:09:45 +01:00
Jasper Van der Jeugt
0969fe41c7 Add relativize URL's functionality 2011-01-04 11:13:08 +01:00
Jasper Van der Jeugt
e395b0af9a Store result automatically using runCompiler 2011-01-03 23:24:22 +01:00
Jasper Van der Jeugt
2ceb5f59d0 Avoid looking at up-to-date items at all 2011-01-03 22:13:04 +01:00
Jasper Van der Jeugt
40c75767d4 Store modified flags in a map
This allows reuse for actual dependency checking
(to be implemented later).
2011-01-03 11:33:59 +01:00
Jasper Van der Jeugt
220e4b484c Escaped carries allong it's escaped value 2011-01-02 12:49:43 +01:00
Jasper Van der Jeugt
2d1225104c Add toUrl, move & optimize replaceAll a bit 2011-01-02 10:22:49 +01:00
Jasper Van der Jeugt
e1aa960099 Add Hakyll.Web module 2010-12-31 16:15:57 +01:00
Jasper Van der Jeugt
e54834f444 Check modification only once 2010-12-31 15:15:35 +01:00
Jasper Van der Jeugt
8bb4ea5c83 Add resourceExists function 2010-12-31 13:28:31 +01:00
Jasper Van der Jeugt
5b67f20eab Prototype of the 'cached' arrow transformer 2010-12-31 12:38:12 +01:00
Jasper Van der Jeugt
70c7363b8c Add wasModified method 2010-12-31 12:18:33 +01:00
Jasper Van der Jeugt
7b84181dab Add $category field 2010-12-31 09:04:02 +01:00
Jasper Van der Jeugt
15f2cee5e4 Backport CompressCss module 2010-12-30 23:07:07 +01:00
Jasper Van der Jeugt
2b5b27e2e7 Add $title, $root and $url fields 2010-12-30 21:42:23 +01:00
Jasper Van der Jeugt
686de03ebf Add Template module 2010-12-30 21:19:19 +01:00
Jasper Van der Jeugt
e49cd3b4b0 Cleanup, split up page module 2010-12-30 21:18:55 +01:00
Jasper Van der Jeugt
da12825066 Compiler → {Compiler, Compiler.Internal} 2010-12-30 17:47:31 +01:00
Jasper Van der Jeugt
227b186bf2 Remove compileFromString function 2010-12-30 15:57:36 +01:00
Jasper Van der Jeugt
86fafe6e61 Add CopyFile newtype 2010-12-30 13:49:58 +01:00
Jasper Van der Jeugt
687c17c6bb Cleanup arrow code 2010-12-30 10:11:37 +01:00
Jasper Van der Jeugt
1c1133dfd6 More arrows 2010-12-30 10:02:25 +01:00
Jasper Van der Jeugt
6268e4a4fe Experimental arrow-based approach 2010-12-29 22:59:38 +01:00
Jasper Van der Jeugt
bf31c55c99 Add requireAll function 2010-12-29 15:33:22 +01:00
Jasper Van der Jeugt
27ff2eef89 Use Typeable instead of ADT 2010-12-28 11:12:45 +01:00
Jasper Van der Jeugt
6ffb83d46f Binary instance for Page 2010-12-27 18:46:23 +01:00
Jasper Van der Jeugt
a1043203bb Add a snapshot state to target monad 2010-12-27 18:38:46 +01:00
Jasper Van der Jeugt
e07014b5bd Targets have access to the store 2010-12-27 17:40:55 +01:00
Jasper Van der Jeugt
bda268273b Make pandoc functions work on pages by default 2010-12-27 11:14:04 +01:00
Jasper Van der Jeugt
d25dcb698e Fix typo in comments 2010-12-27 10:12:19 +01:00
Jasper Van der Jeugt
c1d16cdab3 Add Page parser 2010-12-27 10:07:31 +01:00
Jasper Van der Jeugt
4981cfbb7f Add string utility module 2010-12-27 10:07:07 +01:00
Jasper Van der Jeugt
e6c758e6dc Add Page module 2010-12-26 19:03:03 +01:00
Jasper Van der Jeugt
bc92f7fea5 Add resourceDigest function 2010-12-26 16:22:05 +01:00
Jasper Van der Jeugt
95f59be5a0 Simple key-value store 2010-12-26 16:12:57 +01:00
Jasper Van der Jeugt
b30123f93c Add resourceLazyByteString function 2010-12-26 16:12:48 +01:00
Jasper Van der Jeugt
515968716f Add pandoc bindings 2010-12-26 13:22:25 +01:00
Jasper Van der Jeugt
79ce331869 Consistent naming: ReStructuredText → Rst 2010-12-26 13:21:55 +01:00
Jasper Van der Jeugt
9939708c66 Consistent naming: target vs compiler 2010-12-26 13:21:27 +01:00
Jasper Van der Jeugt
bd5f6ca579 UnknownFileType → Binary 2010-12-26 12:32:24 +01:00
Jasper Van der Jeugt
ab7c9bef64 Add FileType module 2010-12-26 12:31:36 +01:00
Jasper Van der Jeugt
7f4b5e542c Add getIdentifier function in target 2010-12-26 12:31:15 +01:00
Jasper Van der Jeugt
36ec2c15b8 Add targetFromString compiler function 2010-12-26 11:57:42 +01:00
Jasper Van der Jeugt
427a740038 Ignore unexisting files in obsolete check 2010-12-26 11:57:19 +01:00
Jasper Van der Jeugt
53d179a7da Add file utility module 2010-12-26 09:38:40 +01:00
Jasper Van der Jeugt
5bc8028696 Add DirectedGraph to DOT module 2010-12-26 00:09:35 +01:00
Jasper Van der Jeugt
ec85de418b Prototype Run module 2010-12-25 22:02:20 +01:00
Jasper Van der Jeugt
0cd7716dae Add writable class 2010-12-25 20:18:36 +01:00
Jasper Van der Jeugt
6b6a78ea41 Add rules module 2010-12-25 19:37:21 +01:00
Jasper Van der Jeugt
c372fc47da Add Compiler module 2010-12-25 18:15:44 +01:00
Jasper Van der Jeugt
12c446785c Add target module 2010-12-24 16:55:20 +01:00
Jasper Van der Jeugt
4b7c42d644 Add resource provider modules 2010-12-24 08:42:05 +01:00
Jasper Van der Jeugt
4bdd93b331 Add Route code 2010-12-23 19:20:05 +01:00
Jasper Van der Jeugt
07ca8954a5 Minor change to pattern documentation 2010-12-23 18:24:19 +01:00
Jasper Van der Jeugt
10328b890c Document the pattern module a bit 2010-12-23 18:22:16 +01:00
Jasper Van der Jeugt
3fdf8ab204 Add identifier/pattern modules 2010-12-23 17:19:21 +01:00
Jasper Van der Jeugt
d1d28b9349 Add tests for the directed graph modules 2010-12-23 14:51:38 +01:00
Jasper Van der Jeugt
ad6712121f Add directed graph modules 2010-12-23 14:31:45 +01:00