Projetos
Ver no GitHub
vorpaljs/bash-parser
Sobre
Parses bash into an AST
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalbash-parser
Parses bash source code to produce an AST
Installation
npm install --save bash-parser
Usage
const parse = require('bash-parser');
const ast = parse('echo ciao');
ast result is:
{
type: "Script",
commands: [
{
type: "SimpleCommand",
name: {
text: "echo",
type: "Word"
},
suffix: [
{
text: "ciao",
type: "Word"
}
]
}
]
}
Related projects
- cash - This parser should become the parser used by
cash(and also vorpal) - nsh - This parser should become the parser used by
nsh - js-shell-parse - bash-parser was born as a fork of
js-shell-parse, but was rewritten to use ajisongrammar - jison - Bison in JavaScript.
Documentation
Look in documents folder
License
The MIT License (MIT)
Copyright (c) 2016 vorpaljs
Explore projetos relacionados
Carregando…