Under construction...
In order to build the site
- Using
globbywe get an asynct iterator of all files invault/. - Preprocessors are applied to each path, which optionally yield preprocessed files for the next phase. Emitters should tag preprocessed files with a symbol to mark the originating emitter.
- All preprocessed input from all emitters is gathered in a single array.
- Every preprocessed file in the array is passed to its parser, which is intended to emit syntax trees. Parsers also have access to other preprocessed files
- All parsed input from all emitters is gathered in a single array.
- Every parsed file is passed to to its renderer, which output the
public/files. Renderers also have access to other parsed fies.