geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dillon (JIRA)" <>
Subject [jira] Commented: (GSHELL-20) `set foo="bar"` does not work as expected
Date Thu, 29 Nov 2007 07:21:43 GMT


Jason Dillon commented on GSHELL-20:

I spent some time today and worked more on a POC using Antlr3 to implement a BASH grammar...
still need some work, and well, I think I'll probably end up using JavaCC, unless I suddenly
gain +10 comprehension of Antlr3 and succumb to the byte cost of the additional jars... dunno

I think the next release will probably see a brand new parser (maybe crippled) but abale to
parse BASH-ish syntax....

> `set foo="bar"` does not work as expected
> -----------------------------------------
>                 Key: GSHELL-20
>                 URL:
>             Project: GShell
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Commands, Core
>    Affects Versions: 0.0.1
>            Reporter: Jason Dillon
>            Assignee: Jason Warner
>            Priority: Critical
>             Fix For: 1.0-alpha-2
>         Attachments: GShell-20.patch, GShell-20SingleQuote.patch
> Due to the way parsing happens, this line:
> {noformat}
> set foo="bar"
> {noformat}
> Ends up calling the command with 2 arguments: "foo=" and "bar", which is not what the
command expects, which is one argument of: "foo=bar"

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message