{"action":"created","issue":{"url":"https://api.github.com/repos/sirlantis/liquid-node/issues/47","repository_url":"https://api.github.com/repos/sirlantis/liquid-node","labels_url":"https://api.github.com/repos/sirlantis/liquid-node/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/sirlantis/liquid-node/issues/47/comments","events_url":"https://api.github.com/repos/sirlantis/liquid-node/issues/47/events","html_url":"https://github.com/sirlantis/liquid-node/issues/47","id":133446853,"number":47,"title":"Convert from CoffeeScript to ES6?  I would help.","user":{"login":"thardy","id":120636,"avatar_url":"https://avatars.githubusercontent.com/u/120636?v=3","gravatar_id":"","url":"https://api.github.com/users/thardy","html_url":"https://github.com/thardy","followers_url":"https://api.github.com/users/thardy/followers","following_url":"https://api.github.com/users/thardy/following{/other_user}","gists_url":"https://api.github.com/users/thardy/gists{/gist_id}","starred_url":"https://api.github.com/users/thardy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thardy/subscriptions","organizations_url":"https://api.github.com/users/thardy/orgs","repos_url":"https://api.github.com/users/thardy/repos","events_url":"https://api.github.com/users/thardy/events{/privacy}","received_events_url":"https://api.github.com/users/thardy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-13T16:36:17Z","updated_at":"2016-03-11T00:36:05Z","closed_at":null,"body":"I'm finding myself needing a lot of functionality not provided yet in liquid-node, namely:\r\n\r\n- Layouts\r\n- Blocks/Sections\r\n- Ability to pass data to includes\r\n\r\nCurrently, I'm implementing these features outside of your module, by pre-processing the template strings before I pass them to liquid-node.  I would gladly help implement these features if liquid-node was not written in CoffeeScript.  I can't stand whitespace-sensitive languages.  I remember you saying that the primary reason you went with CoffeeScript was due to liquid being in Ruby and CoffeeScript having a much better class implementation.  \r\n\r\nWell, now that ES6/EcmaScript2015 is supported natively in Node (and it's super easy to use a preprocessor like Babel otherwise), would you consider making the switch?  I would gladly take the time I'm spending implementing these features outside of your module and implement them inside instead.  I think you'd easily triple the potential contributors to your project as well.  There are a ton more people willing to contribute to pure javascript projects than there are to CoffeeScript projects.\r\n\r\nLet me know because I am working on the above features, just not in CoffeeScript.  Regardless, I will point you to my finished work when I'm done.  You'll be welcome to integrate the changes from mine if you like."},"comment":{"url":"https://api.github.com/repos/sirlantis/liquid-node/issues/comments/195118186","html_url":"https://github.com/sirlantis/liquid-node/issues/47#issuecomment-195118186","issue_url":"https://api.github.com/repos/sirlantis/liquid-node/issues/47","id":195118186,"user":{"login":"sirlantis","id":56807,"avatar_url":"https://avatars.githubusercontent.com/u/56807?v=3","gravatar_id":"","url":"https://api.github.com/users/sirlantis","html_url":"https://github.com/sirlantis","followers_url":"https://api.github.com/users/sirlantis/followers","following_url":"https://api.github.com/users/sirlantis/following{/other_user}","gists_url":"https://api.github.com/users/sirlantis/gists{/gist_id}","starred_url":"https://api.github.com/users/sirlantis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirlantis/subscriptions","organizations_url":"https://api.github.com/users/sirlantis/orgs","repos_url":"https://api.github.com/users/sirlantis/repos","events_url":"https://api.github.com/users/sirlantis/events{/privacy}","received_events_url":"https://api.github.com/users/sirlantis/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T00:36:05Z","updated_at":"2016-03-11T00:36:05Z","body":"Hey @thardy - yes, I think it would be great to switch to ES6 now that it has most of CoffeeScript's features.\r\n\r\nOne thing that would need validation first though is whether we get decent Regex interpolation (which really makes reading and combining those expressions much easier) - I don't know about the state of template strings in ES6. (http://www.2ality.com/2012/12/template-strings-xregexp.html)\r\n\r\n- [ ] Try if `decaffeinate` does a good first pass\r\n- [ ] Find out about template strings for regular expressions"}}