Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] A difficult parser problem (new parser)

Date2011-09-13 18:40
FromJohn ff
SubjectRe: [Cs-dev] A difficult parser problem (new parser)
Thanks Steven -- that gives me enough

1:  It seems that the old parser does not allow a space before the
colon, and I have retained that (but should we?)

2:  By noticing that labels must be at the start of a line I changed
the pattern for LABEL to ^[ \t]*[a-zA-Z0-9_}+:

Seems to pass the tests now
==John ffitch

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-09-14 12:48
FromSteven Yi
SubjectRe: [Cs-dev] A difficult parser problem (new parser)
Glad to hear you got through!  I'm having a strange internet setup
here as I can't login to the university internet until I'm registered,
and registration happens next week.  I'm tethering to my cell phone in
the meantime so I'm only online in short bursts.  I'll spend the next
week trying to go through the latest parser code to get it back in my
head.

Thanks!
steven

On Tue, Sep 13, 2011 at 6:40 PM, John ff  wrote:
> Thanks Steven -- that gives me enough
>
> 1:  It seems that the old parser does not allow a space before the
> colon, and I have retained that (but should we?)
>
> 2:  By noticing that labels must be at the start of a line I changed
> the pattern for LABEL to ^[ \t]*[a-zA-Z0-9_}+:
>
> Seems to pass the tests now
> ==John ffitch
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> Learn about the latest advances in developing for the
> BlackBerry® mobile platform with sessions, labs & more.
> See new tools and technologies. Register for BlackBerry® DevCon today!
> http://p.sf.net/sfu/rim-devcon-copy1
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net