Hi everybody!
We’re building an experimental extension to Python, we’re extending
Python’s comprehensions into a full-scale query language.
And we’d love to use the trick that was done in pyxl, where a special encoding
of the file will trigger the preprocessor to run and compile our extend
"tpochep" <[EMAIL PROTECTED]> wrote:
>
>In 'augop' non-terminal :
>
>http://docs.python.org/ref/augassign.html
>
>the delimiter '//=' was skipped. Why?
Probably an oversight. //= is relatively new.
>In 'Boolean operations':
>
>http://docs.python.org/ref/Booleans.html
>
>In 'expression' rule - wh
Hello.
In 'augop' non-terminal :
http://docs.python.org/ref/augassign.html
the delimiter '//=' was skipped. Why?
In 'Boolean operations':
http://docs.python.org/ref/Booleans.html
In 'expression' rule - what does 'if', 'else' mean? I guess 'if' and
'else' must be keywords, not non-terminals.
[EMAIL PROTECTED] wrote:
> Ben Sizer wrote:
> > [EMAIL PROTECTED] wrote:
> > > I'm a compiler newbie and was curious if Python's language/grammar
> > > can be handled by a recursive descent parser.
> >
> > I believe a recursive descent parser can handle any grammar; it just
> > depends on how pure
On 2006-09-28, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm a compiler newbie and was curious if Python's language/grammar
> can be handled by a recursive descent parser.
IIUC the python grammer is LL(1) and the development team is commited
to keeping it LL(1).
LL(1) languages can be handle
Ben Sizer wrote:
> [EMAIL PROTECTED] wrote:
> > I'm a compiler newbie and was curious if Python's language/grammar
> > can be handled by a recursive descent parser.
>
> I believe a recursive descent parser can handle any grammar; it just
> depends on how pure you want it to be.
>
> --
> Ben Size
[EMAIL PROTECTED] wrote:
> I'm a compiler newbie and was curious if Python's language/grammar
> can be handled by a recursive descent parser.
I believe a recursive descent parser can handle any grammar; it just
depends on how pure you want it to be.
--
Ben Sizer
--
http://mail.python.org/mailm
I'm a compiler newbie and was curious if Python's language/grammar
can be handled by a recursive descent parser.
Well?
Chris
--
http://mail.python.org/mailman/listinfo/python-list