alex / rply

An attempt to port David Beazley's PLY to RPython, and give it a cooler API.
BSD 3-Clause "New" or "Revised" License
381 stars 60 forks source link

How to deal the state in lexer? #49

Open acekingke opened 8 years ago

acekingke commented 8 years ago

the ply has

t_NUMBER = r'\d+'
t_INITIAL_NUMBER = r'\d+'

But how to deal in rply?

acekingke commented 8 years ago

I have make the https://github.com/acekingke/foxbase_inCloud, but The question is no one answer.