Move PEG.js to packages/pegjs
* Move PEG.js from . to packages/pegjs * Update relevanr paths * Remove pegjs-dev; Use pegjs directly * Generate browser files at packages/pegjs/dist * nyc: exclude website * website: keep packages folder * Root package.json is private nowmaster
parent
35a650dc50
commit
be88239543
@ -1,5 +1,5 @@
|
||||
/.nyc_output
|
||||
/browser
|
||||
/packages/pegjs/dist
|
||||
/coverage
|
||||
/node_modules
|
||||
/website
|
||||
|
@ -1,2 +1,2 @@
|
||||
* text=auto
|
||||
bin/*.js text eol=lf
|
||||
packages/pegjs/bin/*.js text eol=lf
|
||||
|
@ -1,2 +0,0 @@
|
||||
import api from "./typings/api"
|
||||
export = api;
|
@ -0,0 +1,22 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2010-2016 David Majda
|
||||
Copyright (c) 2017+ Futago-za Ryuu
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -0,0 +1,35 @@
|
||||
[![ci](https://img.shields.io/travis/pegjs/pegjs.svg)](https://travis-ci.org/pegjs/pegjs)
|
||||
[![coverage](https://img.shields.io/coveralls/github/pegjs/pegjs.svg)](https://coveralls.io/github/pegjs/pegjs)
|
||||
[![license](https://img.shields.io/badge/license-mit-blue.svg)](https://opensource.org/licenses/MIT)
|
||||
|
||||
PEG.js is a simple parser generator for JavaScript that produces fast parsers with excellent error reporting. You can use it to process complex data or computer languages and build transformers, interpreters, compilers and other tools easily.
|
||||
|
||||
> PEG.js is still very much work in progress. There are no compatibility guarantees until version 1.0
|
||||
|
||||
## features
|
||||
|
||||
* Simple and expressive grammar syntax
|
||||
* Integrates both lexical and syntactical analysis
|
||||
* Parsers have excellent error reporting out of the box
|
||||
* Based on [parsing expression grammar](http://en.wikipedia.org/wiki/Parsing_expression_grammar) formalism - more powerful than traditional LL(*k*) and LR(*k*) parsers
|
||||
* Usable [from your browser](https://pegjs.org/online), from the command line, or via JavaScript API
|
||||
|
||||
## documentation
|
||||
|
||||
- [Getting Started](https://github.com/pegjs/pegjs/blob/master/docs/guides/getting-started.md)
|
||||
- [Installation](https://github.com/pegjs/pegjs/blob/master/docs/guides/installation.md)
|
||||
- [Generating a Parser](https://github.com/pegjs/pegjs/blob/master/docs/guides/generating-a-parser.md)
|
||||
- [Using the Parser](https://github.com/pegjs/pegjs/blob/master/docs/guides/using-the-parser.md)
|
||||
- [Grammar Syntax and Semantics](https://github.com/pegjs/pegjs/tree/master/docs/grammar)
|
||||
- [JavaScript API](https://github.com/pegjs/pegjs/blob/master/docs/guides/javascript-api.md)
|
||||
- [Plugins](https://github.com/pegjs/pegjs/blob/master/docs/guides/plugins.md)
|
||||
- [Compatibility](https://github.com/pegjs/pegjs/blob/master/docs/notes/compatibility.md)
|
||||
- [Development](https://github.com/pegjs/pegjs/blob/master/docs/notes/development.md)
|
||||
- [Useful Links](https://github.com/pegjs/pegjs/blob/master/docs/notes/useful-links.md)
|
||||
|
||||
## license
|
||||
|
||||
Released under the [MIT License](https://opensource.org/licenses/MIT).
|
||||
|
||||
Copyright (c) 2010-2016 [David Majda](https://majda.cz/)<br>
|
||||
Copyright (c) 2017+ [Futago-za Ryuu](https://github.com/futagoza)
|
@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "pegjs",
|
||||
"version": "0.11.0-dev",
|
||||
"description": "Parser generator for JavaScript",
|
||||
"keywords": [
|
||||
"PEG.js",
|
||||
"pegjs",
|
||||
"grammar",
|
||||
"parser",
|
||||
"generator",
|
||||
"language",
|
||||
"PEG"
|
||||
],
|
||||
"homepage": "https://pegjs.org/",
|
||||
"repository": "pegjs/pegjs",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
"David Majda <david@majda.cz> (https://majda.cz/)",
|
||||
"Futago-za Ryuu <futagoza.ryuu@gmail.com>"
|
||||
],
|
||||
"types": "typings/pegjs.d.ts",
|
||||
"main": "lib/peg.js",
|
||||
"bin": "bin/peg.js",
|
||||
"engines": {
|
||||
"node": ">= 6"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue