{"library":"canopy","type":"library","category":null,"description":"Canopy is a parser compiler for parsing expression grammars (PEG) targeting JavaScript, Java, Python, and Ruby. Version 0.4.1 is the latest stable release; the project appears to be in maintenance mode with no recent activity. It generates standalone parsers with no runtime dependencies, making it lightweight. Unlike PEG.js or Nearley, Canopy offers multi-language code generation from a single grammar file.","language":"javascript","status":"maintenance","version":"0.4.1","tags":["javascript","parser","compiler","peg"],"last_verified":"Fri May 01","install":[{"cmd":"npm install canopy","imports":["import Parser from './path/to/generated-parser'","import Parser from './parser'; const result = Parser.parse('input');","import { SyntaxTree } from 'canopy'"]},{"cmd":"yarn add canopy","imports":[]},{"cmd":"pnpm add canopy","imports":[]}],"homepage":"http://canopy.jcoglan.com","github":"https://github.com/jcoglan/canopy","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/canopy","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}