chevrotain | Parser Building Toolkit for JavaScript | Parser library

 by   Chevrotain TypeScript Version: 11.0.3 License: Apache-2.0

kandi X-RAY | chevrotain Summary

kandi X-RAY | chevrotain Summary

chevrotain is a TypeScript library typically used in Utilities, Parser applications. chevrotain has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

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.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              chevrotain has a medium active ecosystem.
              It has 2174 star(s) with 189 fork(s). There are 29 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 47 open issues and 728 have been closed. On average issues are closed in 162 days. There are 12 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of chevrotain is 11.0.3

            kandi-Quality Quality

              chevrotain has no bugs reported.

            kandi-Security Security

              chevrotain has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              chevrotain is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              chevrotain releases are available to install and integrate.
              Installation instructions are available. Examples and code snippets are not available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of chevrotain
            Get all kandi verified functions for this library.

            chevrotain Key Features

            No Key Features are available at this moment for chevrotain.

            chevrotain Examples and Code Snippets

            lexdoc
            JavaScriptdot img1Lines of Code : 34dot img1License : Permissive (MIT)
            copy iconCopy
            const chevrotain = require('chevrotain')
            const LD = require('lexdoc')(chevrotain)
            
            const JsonLexer = LD.build({
              WhiteSpace: {
                pattern: /[ \t\n\r]+/,
                group: LD.SKIPPED,
                line_breaks: true
              },
            
              NumberLiteral: /-?(0|[1-9]\d*)(\.\d+)?([eE  
            chevrotain-ebnf,Installation
            JavaScriptdot img2Lines of Code : 2dot img2no licencesLicense : No License
            copy iconCopy
            npm i chevrotain --save
            npm i chevrotain-ebnf --save
              

            Community Discussions

            QUESTION

            I can create a library in angular, but that depends on another native library of NPM
            Asked 2019-Apr-23 at 23:37

            Case of use:

            Dependencias: I want to create a library for angular 6, this library consists of a service with logic to analyze string (for example SQL syntax)

            Questions:

            1. I want to know, if at the moment of creating my library in angular, I can make use of [chevrotain] (https://github.com/SAP/chevrotain) inside my library
            2. If the number 2 is correct, what problems can I face in the future?
            3. In case of not hitting number 1 and 2, what alternatives do I have to be able to use [chevrotain] (https://github.com/SAP/chevrotain) in my new library?

            I appreciate any kind of answers

            ...

            ANSWER

            Answered 2019-Apr-23 at 23:37

            Yep, you can, by add a dependency in your libraries package.json to chevrotain. When someone installs your library, it will automatically install chevrotain.

            Initially you may have thought to use peerDependencies, but in this case it should be a dependency as your package won't run without it. See also this post that explains it in a bit more detail.

            Source https://stackoverflow.com/questions/55818985

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install chevrotain

            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 https://unpkg.com/chevrotain/lib_esm/chevrotain.mjs https://unpkg.com/chevrotain/lib_esm/chevrotain.min.mjs Explicit version number: https://unpkg.com/chevrotain@10.1.1/lib/chevrotain.js https://unpkg.com/chevrotain@10.1.1/lib/chevrotain.min.js https://unpkg.com/chevrotain@10.1.1/lib_esm/chevrotain.mjs https://unpkg.com/chevrotain@10.1.1/lib_esm/chevrotain.min.mjs

            Support

            Getting Started Tutorial.Sample Grammars.FAQ.Other Examples.HTML API docs. The Parsing DSL Docs.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i chevrotain

          • CLONE
          • HTTPS

            https://github.com/Chevrotain/chevrotain.git

          • CLI

            gh repo clone Chevrotain/chevrotain

          • sshUrl

            git@github.com:Chevrotain/chevrotain.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link