Hacker Newsnew | past | comments | ask | show | jobs | submit | cherow's commentslogin


Hi. Usecases? Same as for Acorn, Esprima and other parsers. But the main goal with this one is to be as fast as possible, and optimized for all platforms including mobile and tablets.

Cherow collect comments. The version before v. 1.0 also kept comment or attached node directly on the AST itself. I removed it due to perf reasons and no one - I thought at least - was using it anymore. If that is something you would need, I can add it back. Shouldn't take long.


Feel free to open an issue ticket on the GH repo so I can track it if you want the comment attachment code added back in.


Hi. You shouldn't need to have NodeJS installed to use it. Use the distro files and run it in the browser. The TypeScript is not needed for end-users. That something used during the dev process.



An example Cherow plugin can be found here: https://github.com/cherow/cherow-dummy-plugin


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: