Search results

17 packages found

Class for creating AST nodes.

published 3.0.0 5 years ago
M
Q
P

Utilities for the snapdragon parser/compiler.

published 5.0.1 6 years ago
M
Q
P

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

published 0.12.1 3 years ago
M
Q
P

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

published 4.0.0 5 years ago
M
Q
P

Easily parse a string to create an AST.

published 1.0.0 5 years ago
M
Q
P

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

published 4.0.0 6 years ago
M
Q
P

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

published 2.0.2 6 years ago
M
Q
P

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

published 1.0.0 5 years ago
M
Q
P

Adds a location object to snapdragon token or AST node.

published 1.0.2 6 years ago
M
Q
P

Snapdragon utility for creating a stack.

published 2.1.0 6 years ago
M
Q
P

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

published 1.0.0 6 years ago
M
Q
P

visit and mapVisit methods for snapdragon nodes.

published 1.0.0 6 years ago
M
Q
P

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

published 0.2.0 7 years ago
M
Q
P

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

published 1.1.0 7 years ago
M
Q
P

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

published 1.0.1 7 years ago
M
Q
P
M
Q
P

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

published 0.1.2 7 years ago
M
Q
P