jazzdotdev / jazz

The Scripting Engine that Combines Speed, Safety, and Simplicity
Apache License 2.0
146 stars 11 forks source link

pluggable file preprocessor #202

Open naturallymitchell opened 5 years ago

naturallymitchell commented 5 years ago

Aleksander Włodarczyk Today at 9:05 AM

  1. Write custom modules require in torchbear to patch modules with lines about counting and printing time of loading
  2. Use our custom requires writing method to create a torchbear plugin for it
    • Our custom requires are using kind of pattern of returning compiled patched lua file
    • This pattern can be saved as a plugin
    • We are changing only the way of patching
    • We would be able to use it in more elegant way like theme loaders preprocessors
  3. Finish the module timer patching
  4. Generalize rules, actions, modules and themes loading
  5. Write a preprocessor plugin which could be used for each of them

mitchell Today at 9:15 AM a preprocessor module loader plugin for each of the above plugins for torchbear module loader file preoprocessor module for torchbear that the module loader in bridge.lua will use

to refactor and generalize #201 and unify with lighttouch's pluggable themes preprocessors and actions + rules patching loaders

naturallymitchell commented 5 years ago

see https://github.com/foundpatterns/torchbear-libs/issues/2

248