jstransformers / jstransformer

Normalize the API of any JSTransformer.
http://npm.im/jstransformer
MIT License
153 stars 12 forks source link

SugarML #178

Closed tunnckoCore closed 7 years ago

tunnckoCore commented 7 years ago

https://github.com/posthtml/sugarml

it is parser/plugin for PostHTML but think it make sense to have it separated too

calebeby commented 7 years ago

https://github.com/reshape/sugarml

RyanZim commented 7 years ago

@calebeby That is a separate implementation; I'm not sure that they have full feature parity. We should probably create a transformer for both.

calebeby commented 7 years ago

@jescalan Are there any major differences between the two, enough that we should have two separate transformers?

tunnckoCore commented 7 years ago

@calebeby haha, thanks :D

I believe we should have only one and it should be @reshape's because is by the original author.

Are there any major differences between the two

It's possible.

jescalan commented 7 years ago

Yeah there are major differences, the two are not compatible. Reshape's version has accurate error messages, infrastructure in place for source maps, can generate client-side js functions, and is actively maintained. The posthtml version doesn't have any of these features and currently is not as actively maintained at the moment. That being said, while I wrote them both, they are two separate implementations and would require different transformers if you wanted to support them both.

calebeby commented 7 years ago

:+1: for only reshape's

calebeby commented 7 years ago

https://github.com/jstransformers/jstransformer-sugarml