Skip to content

Conversation

@parro-it
Copy link

@parro-it parro-it commented Jun 2, 2017

This is an investigatory PR to study the introduction of a POSIX compliant shell code parser using bash-parser.

I studied the cash workflow, and I think the majority of changes in source code would concern Vorpal.

They could be implemented directly there (in vorpal core) or we could patch vorpal and implement it only for cash.

// return input;
// };

module.exports = preparser;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we will use it, bash-parser has already taken care of env parameter expansion at this point, so the preparser should be superflous

@dthree
Copy link
Owner

dthree commented Jun 2, 2017

We're tearing apart Vorpal right now anyway, so I think it would be a good idea to play with i there.


var head = {
exec: function exec(args, options) {
console.log({ args: args });

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why would you want this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants