Re: Py 2.4 Update

new topic     » goto parent     » topic index » view thread      » older message » newer message

Kat wrote:

> Since Py is written in Ox, how much is Ox changed
> to implement a feature in Py?

I've only done bugfixes to Ox, so it's remained generic. I'll try to post an
update in a couple of days to the Euphoria site (and my own), stripped of
the Py demo.

The main problem I've had with Ox has been handling '.', since I had
declared that it was a valid identifier character. This is was a shortcoming
of my grammar, not Ox itself.

The number parsing code has also been beefed up. Ox got confused when it saw
stuff like this:

   [1..2]

and parsed it as:

   '['  '1.'  '.2'  ']'

It also correctly parses numbers like '10e9'.

Ox turns out to be a lot slicker than I thought it would be, especially once
I coded it to detect grammar ambiguities. I never would have been able to
throw Py together so quickly without it.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu