Module to parse the abstract syntax tree of OpenSCAD files
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
examples
lib
src
.gitignore
.istanbul.yml
README.md
TODO.md
package-lock.json
package.json
tsconfig.json

README.md

node-scad-parser

Module to parse the abstract syntax tree of OpenSCAD files

Attention

This is still beta stage, at the moment I'm busy porting the code from JS to TS.

Commands

  • npm start: Run cli.js with nodemon and node-ts
  • npm run build: Build all
  • npm run build:grammar: Generate the grammar from src/nearley/grammar.ne
  • npm run build:docs: Generate the documentation files
  • npm run build:lib: Compile the TS code to JS code
  • npm run test:live: Run unit tests and watch for file changes
  • npm test: Run unit tests

Credits

  • Thanks to the OpenSCAD team for this great programmatic CAD tool: OpenSCAD
  • Also thanks to all the Nearley contributors, for supplying an awesome parser generator for JS: Nearley
  • And last but not least, thanks for Moo, the lexer library powering this parser: Moo