18 packages found

    Description

    Easy-to-use plugin system for creating powerful, fast and versatile parsers and compilers, with built-in source-map support.

    Keywords

    Publisher

    published 0.12.14 months ago
    M
    Q
    P

    Description

    Class for creating AST nodes.

    Keywords

    Publisher

    published 3.0.03 years ago
    M
    Q
    P

    Description

    Utilities for the snapdragon parser/compiler.

    Keywords

    Publisher

    published 5.0.14 years ago
    M
    Q
    P

    Description

    Converts a string into an array of tokens, with useful methods for looking ahead and behind, capturing, matching, et cetera.

    Keywords

    Publisher

    published 4.0.03 years ago
    M
    Q
    P

    Description

    Easily parse a string to create an AST.

    Keywords

    Publisher

    published 1.0.03 years ago
    M
    Q
    P

    Description

    Create a snapdragon token. Used by the snapdragon lexer, but can also be used by plugins.

    Keywords

    Publisher

    published 4.0.03 years ago
    M
    Q
    P

    Description

    Adds a location object to snapdragon token or AST node.

    Keywords

    Publisher

    published 1.0.24 years ago
    M
    Q
    P

    Description

    Easily scan a string with an object of regex patterns to produce an array of tokens. ~100 sloc.

    Keywords

    Publisher

    published 1.0.03 years ago
    M
    Q
    P

    Description

    Snapdragon util and plugin for patching the position on an AST node.

    Keywords

    Publisher

    published 2.0.24 years ago
    M
    Q
    P

    Description

    Adds support for handlers, events and plugins to snapdragon libraries.

    Keywords

    Publisher

    published 1.0.04 years ago
    M
    Q
    P

    Description

    Snapdragon utility for creating a stack.

    Keywords

    Publisher

    published 2.1.04 years ago
    M
    Q
    P

    Description

    visit and mapVisit methods for snapdragon nodes.

    Keywords

    Publisher

    published 1.0.04 years ago
    M
    Q
    P

    Description

    Snapdragon plugin for converting a cheerio AST to a snapdragon AST.

    Keywords

    Publisher

    published 1.1.04 years ago
    M
    Q
    P

    Description

    Snapdragon plugin that adds a capture method to the parser instance.

    Keywords

    Publisher

    published 0.2.04 years ago
    M
    Q
    P

    Description

    Plugin that adds a `.captureSet()` method to snapdragon, for matching and capturing substrings that have an `open` and `close`, like braces, brackets, etc

    Keywords

    Publisher

    published 1.0.15 years ago
    M
    Q
    P
    M
    Q
    P

    Description

    Easy-to-use plugin system for creating powerful, fast and versatile parsers and compilers, with built-in source-map support.

    Keywords

    Publisher

    published 0.13.0a year ago
    M
    Q
    P

    Description

    Snapdragon plugin that adds an `isInside` method to the compiler instance for checking if a node is currently inside a given node type.

    Keywords

    Publisher

    published 0.1.25 years ago
    M
    Q
    P