[antlr-interest] gUnit suggestion: treat Lexer and Parser errors the same

Leon Su leon.antlr at mac.com
Sun Nov 23 19:28:46 PST 2008


Hi George,

Also don't forget to download the intermediate release  
gunit-1.0.4.jar I just uploaded to the wiki download page.
The new version should be able to test your lexical rules as the  
example demonstrates on wiki.
Please let me know if you find any problem.
Thanks.

Leon

On Nov 23, 2008, at 6:49 PM, George S. Cowan wrote:

> In-Reply-To: <CDABE1C5-6A25-4875-8FA2-6EBE269D77BB at mac.com>
> References: <CDABE1C5-6A25-4875-8FA2-6EBE269D77BB at mac.com>
>
> Leon,
> I saw your gUnit changes at
>   http://www.antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit 
> +Testing
> Thanks. That was a swift response.
>
> I'll start using gUnit on my project and let you know if I see any  
> problems.
>
> On Mon, 10 Nov 2008 at 19:35:24, Leon Su wrote:
>> ...I'll try
>> to add this support into the next release soon :)
>>
>> Leon
>>
>> On Nov 10, 2008, at 1:57 PM, George S. Cowan wrote:
>>
>>> I have experimented with gUnit a little and I think it has real
>>> possibilities. I would find it more useful if lexer failures were
>>> treated the same as parser failures.
>>>
>>> For instance, gUnit does not allow me to specify a Lexer test, e.g.,
>>>   ID: "93XXX" FAIL
>>> ...
>
>
>
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr- 
> interest/your-email-address
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20081123/12b9ec6e/attachment.html 


More information about the antlr-interest mailing list