Search results

17 packages found

Class for creating AST nodes.

published version 3.0.0, 6 years ago806 dependents licensed under $MIT
44,324,538

Utilities for the snapdragon parser/compiler.

published version 5.0.1, 7 years ago803 dependents licensed under $MIT
44,349,301

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

published version 0.12.1, 4 years ago812 dependents licensed under $MIT
45,377,116

Easily parse a string to create an AST.

published version 1.0.0, 6 years ago1 dependents licensed under $MIT
2,436

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

published version 0.2.0, 8 years ago3 dependents licensed under $MIT
4,652

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

published version 4.0.0, 6 years ago5 dependents licensed under $MIT
3,292

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

published version 1.1.0, 8 years ago1 dependents licensed under $MIT
494

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

published version 4.0.0, 7 years ago0 dependents licensed under $MIT
385

Snapdragon utility for creating a stack.

published version 2.1.0, 7 years ago0 dependents licensed under $MIT
324

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

published version 1.0.0, 7 years ago0 dependents licensed under $MIT
347

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

published version 1.0.1, 8 years ago1 dependents licensed under $MIT
44

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

published version 2.0.2, 7 years ago0 dependents licensed under $MIT
36

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

published version 0.1.2, 8 years ago0 dependents licensed under $MIT
23

Scaffold out a new snapdragon plugin project.

published version 1.0.2, 8 years ago0 dependents licensed under $MIT
17

Adds a location object to snapdragon token or AST node.

published version 1.0.2, 7 years ago0 dependents licensed under $MIT
12

visit and mapVisit methods for snapdragon nodes.

published version 1.0.0, 7 years ago0 dependents licensed under $MIT
14

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

published version 1.0.0, 6 years ago0 dependents licensed under $MIT
13