Skip to content
/ cgajs Public

A javascript parser, processor and visualiser for the ESRI CGA Grammar language

License

Notifications You must be signed in to change notification settings

gromgull/cgajs

Repository files navigation

This is a JavaScript implementation of the parser, processor and visualiser for the CGA Shape Grammar language.

For demo and docs see: https://gromgull.github.io/cgajs/

Built with:

  • ThreeJS for visualiation
  • PegJS for parsing

Development

  • Install dependencies with yarn/npm
  • Install webpack and pegjs
  • create a symlink to src/cga.js in node_modules, so we can import it with require('cga') (I guess a better way exists).
  • pegjs -d cga src/cgaparser.pegjs will regenerate the parser.
  • webpack builds build/bundle.js
  • I can't get webpack --watch to work, and I don't know why, but dev.sh uses entr to watch the files and trigger the rebuild.

About

A javascript parser, processor and visualiser for the ESRI CGA Grammar language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy