Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal] add a lexical analyzer #95

Closed
xjchengo opened this issue Jun 1, 2015 · 5 comments
Closed

[Proposal] add a lexical analyzer #95

xjchengo opened this issue Jun 1, 2015 · 5 comments

Comments

@xjchengo
Copy link
Contributor

xjchengo commented Jun 1, 2015

When I add feature that variable resolve can be escaped, I found current shell analyzer is too simple and inconsistent with real shell. Maybe we can add a shell lexical analyzer into it.

@GrahamCampbell
Copy link
Collaborator

Sounds a bit overkill doesn't it?

@xjchengo
Copy link
Contributor Author

xjchengo commented Jun 1, 2015

Is there any existing package that can be used? There are pygments and shlex in Python Community.

@GrahamCampbell
Copy link
Collaborator

I'm not aware of anything, but that doesn't mean they don't exist. :)

@jbrooksuk
Copy link
Contributor

I'm with Graham, it seems like a huge bunch of overhead for something that should be quite fast?

@vlucas
Copy link
Owner

vlucas commented Jun 17, 2015

I agree this is overkill for phpdotenv.

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

No branches or pull requests

4 participants