Giter Site home page Giter Site logo

gordonsmith / chevrotain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chevrotain/chevrotain

0.0 2.0 0.0 24.46 MB

Parser Building Toolkit for JavaScript

Home Page: https://sap.github.io/chevrotain/

License: Apache License 2.0

JavaScript 16.17% TypeScript 82.11% HTML 1.17% CSS 0.50% Shell 0.06%

chevrotain's Introduction

Join the chat at https://gitter.im/chevrotain-parser/Lobby npm CircleCI styled with prettier Commitizen friendly dependentbot

Chevrotain

Introduction

Chevrotain is a blazing fast and feature rich Parser Building Toolkit for JavaScript. It can be used to build parsers/compilers/interpreters for various use cases ranging from simple configuration files, to full fledged programing languages.

A more in depth description of Chevrotain can be found in this great article on: Parsing in JavaScript: Tools and Libraries.

It is important to note that Chevrotain is NOT a parser generator. It solves the same kind of problems as a parser generator, just without any code generation. Chevrotain Grammars are pure code which can be created/debugged/edited as any other pure code without requiring any new tools or processes.

TLDR

Installation

  • npm: npm install chevrotain
  • Browser: The npm package contains Chevrotain as concatenated and minified files ready for use in a browser. These can also be accessed directly via UNPKG in a script tag.
    • Latest:
      • https://unpkg.com/chevrotain/lib/chevrotain.js
      • https://unpkg.com/chevrotain/lib/chevrotain.min.js
    • Explicit version number:

Documentation & Resources

Dependencies

There is a single dependency to regexp-to-ast library. This dependency is included in the bundled artifacts, for ease of consumption in browsers.

Compatibility

Chevrotain runs on any modern JavaScript ES5.1 runtime. That includes any modern nodejs version, modern browsers and even IE11.

  • Uses UMD to work with common module loaders (browser global / amd / commonjs).

Contributions

Contributions are greatly appreciated. See CONTRIBUTING.md for details.

Where used

Some interesting samples:

chevrotain's People

Contributors

bd82 avatar brainkim avatar christianvoigt avatar clementdessoude avatar dependabot-preview[bot] avatar elidoran avatar equalma avatar firasnajjar avatar grandsong avatar greenkeeper[bot] avatar herrfugbaum avatar hocdoc avatar holdyourwaffle avatar ialpert avatar isonet avatar izhaki avatar jmrog avatar kevinastone avatar levin81 avatar morwen avatar msohn avatar omartawfik avatar overlappingelvis avatar paustint avatar rreverser avatar scottoneal avatar siliconbrain avatar swistak35 avatar thaggie avatar triplepointfive avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.