mdittmer / web-apis

Playground for better understanding Web APIs
Apache License 2.0
18 stars 10 forks source link

Add Memo-Runner chaining/composition support #29

Open mdittmer opened 7 years ago

mdittmer commented 7 years ago

A series of *Runner classes encapsulate the Memo composition to "run a task" from the command-line (see main/memo.es6.js for Runner entry points). Several of these tasks could be composed the same way memos are (with some massaging of the data, of course).

E.g., parse-blink and scrape-blink-linked, then process-idl (blink), then process-idl-from-reference (blink-linked with blink as reference), then copy outputs into data/idl/blink(/linked). This has been tested out with an ugly shell script wrapper, but it would be nice to be able to do it all in one go.