kach / nearley

📜🔜🌲 Simple, fast, powerful parser toolkit for JavaScript.
https://nearley.js.org
MIT License
3.57k stars 232 forks source link

Link to moo-indentation-lexer module #532

Closed aliclark closed 3 years ago

aliclark commented 3 years ago

I've created an NPM module for indentation-aware parsing, which I think would be more useful for linking than the current Gist.

Nb. the command npm install && npm run make failed to run on my computer, so the docs still need to be rebuilt.

Floffah commented 3 years ago

Nb. the command npm install && npm run make failed to run on my computer, so the docs still need to be rebuilt.

Make sure you are using node v10 (you should use NVM (node version manager) to manage node versions on your device). Nearley's dependencies only seem to install when using node v10 All you need to do is install nvm and then do nvm install 10.8.0 && nvm use 10.8.0 (or whatever the latest node v1- version is)

kach commented 3 years ago

Cool! Done! (Instead of merging I introduced the link myself.)