Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Number rule

Hi Kevin,

We already have language specific implementations for _javascript_, Ruby and TCL.
The grammars looks mostly the same, the only difference seems to be if hex numbers are supported with "0x" prefix or not.
You are right, it makes sense to extract the base class.

Just for the reference, could you provide the link to your implementation?

Thanks,
Alex

On Tue, Jul 17, 2012 at 8:48 PM, Kevin KIN-FOO <kkinfoo@xxxxxxxxxxxxxxxxxx> wrote:
Hi,

I extended org.eclipse.jface.text.rules.NumberRule to handle Lua numbers. And I wonder if it could interest you as default number rule in the DLTK framework.

Regards
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


Back to the top