securityos/node_modules/shell-parse
Berkeley 927854894b First commit 2024-09-06 12:32:35 -03:00
..
node_modules/isarray First commit 2024-09-06 12:32:35 -03:00
tests First commit 2024-09-06 12:32:35 -03:00
.npmignore First commit 2024-09-06 12:32:35 -03:00
LICENSE First commit 2024-09-06 12:32:35 -03:00
README.md First commit 2024-09-06 12:32:35 -03:00
build.js First commit 2024-09-06 12:32:35 -03:00
grammar.pegjs First commit 2024-09-06 12:32:35 -03:00
overrides.js First commit 2024-09-06 12:32:35 -03:00
package.json First commit 2024-09-06 12:32:35 -03:00
parser.js First commit 2024-09-06 12:32:35 -03:00

README.md

shell-parse

Parse bash scripts into AST's

Synopsis

module.exports := (String) => Object

(better synopsis will come after real tests)

Description

This thing parses strings containing bash scripts into an AST that you might execute using an interpreter or something. The AST structure is still in flux, so you probably don't want to build on this just yet!

Examples

See the tests for all the things that can be parsed.

License

MIT