whatwg / loader

Loader Standard
https://whatwg.github.io/loader/
Creative Commons Zero v1.0 Universal
607 stars 45 forks source link

switch to ecmark{up,down} #1

Closed dherman closed 9 years ago

dherman commented 10 years ago

Once the tools are ready for use we'll want to use ecmarkup and ecmarkdown to do the algorithm steps.

caridy commented 9 years ago

@dherman we are doing the same with ecma-402 (https://github.com/tc39/ecma402/tree/master/spec), moving it to html to use http://bterlson.github.io/ecmarkup/, I can take care of that this week, including the separation into different files per section for convenience. The only question is: should we continue with using .bs for part of the goodies it offers? I'm talking about styles, metadata, etc. I'm not sure ecmarkup will ever provide support for that /cc @bterlson.

domenic commented 9 years ago

An intermediate (and quite easy) solution is to use Bikeshed as the scaffolding but use Ecmarkdown inside the <emu-alg>s. That is what whatwg/streams is doing; see:

You can probably get rid of a couple of levels of indirection by not going through a transpiler for the ecmarkupify.js script.

domenic commented 9 years ago

/cc @tabatkins

caridy commented 9 years ago

@domenic that looks good, but there are a couple of features that I will like to have:

If there a reason for only using emu-alg in streams? what about the other goodies of ecmarkup?

tabatkins commented 9 years ago

I plan on adding ecmarkup to Bikeshed natively. I can push that up in the schedule if it would help.

I plan on doing both multipage (multiple output files) and omnibus (multiple source files) at some point as well. Same thing - I can bump its priority if necessary.

caridy commented 9 years ago

Bumping ecmarkup will be great. Multi-files can wait :)

caridy commented 9 years ago

Interim solution until Bikeshed natively supports ecmarkup: https://github.com/whatwg/loader/pull/57