Csound Csound-dev Csound-tekno Search About

[Cs-dev] New parser

Date2009-05-02 22:02
Fromjpff
Subject[Cs-dev] New parser
I have (I believe) fixed the label/opcode problem and also noticed
that the new parser required a newline after a label.  That is fixed
as well.,  Victor's "hommage.csd" not compiles
==John ffitch

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-02 22:22
Fromvictor
SubjectRe: [Cs-dev] New parser
Perfect, just tested it and it's grand.
Well done.

Victor
----- Original Message ----- 
From: "jpff" 
To: 
Sent: Saturday, May 02, 2009 10:02 PM
Subject: [Cs-dev] New parser


>I have (I believe) fixed the label/opcode problem and also noticed
> that the new parser required a newline after a label.  That is fixed
> as well.,  Victor's "hommage.csd" not compiles
> ==John ffitch
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-02 22:28
Fromvictor
SubjectRe: [Cs-dev] New parser
Sorry, I was being hasty. There is one oddity:

--With the old parser, this bit of code runs without errors

if isrc == 1 goto noise
asig diskin "sound.wav", 1, 0, 1
asig = asig/2000
goto next
noise: asig rand 1

--With the new parser, Csound complains it can't find 'sound.wav'.
The old parser skips the diskin line completely, but not the new parser.
Which one is right?

Victo

----- Original Message ----- 
From: "victor" 
To: "Developer discussions" 
Sent: Saturday, May 02, 2009 10:22 PM
Subject: Re: [Cs-dev] New parser


> Perfect, just tested it and it's grand.
> Well done.
>
> Victor
> ----- Original Message ----- 
> From: "jpff" 
> To: 
> Sent: Saturday, May 02, 2009 10:02 PM
> Subject: [Cs-dev] New parser
>
>
>>I have (I believe) fixed the label/opcode problem and also noticed
>> that the new parser required a newline after a label.  That is fixed
>> as well.,  Victor's "hommage.csd" not compiles
>> ==John ffitch
>>
>> ------------------------------------------------------------------------------
>> Register Now & Save for Velocity, the Web Performance & Operations
>> Conference from O'Reilly Media. Velocity features a full day of
>> expert-led, hands-on workshops and two days of sessions from industry
>> leaders in dedicated Performance & Operations tracks. Use code vel09scf
>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-02 22:46
FromSteven Yi
SubjectRe: [Cs-dev] New parser
I think the new parser does not check rates correctly when handling
if's. I haven't checked it in a long while, but they may be using
krate if's by default. My guess is that this may be the bug.

On Sat, May 2, 2009 at 5:28 PM, victor  wrote:
> Sorry, I was being hasty. There is one oddity:
>
> --With the old parser, this bit of code runs without errors
>
> if isrc == 1 goto noise
> asig diskin "sound.wav", 1, 0, 1
> asig = asig/2000
> goto next
> noise: asig rand 1
>
> --With the new parser, Csound complains it can't find 'sound.wav'.
> The old parser skips the diskin line completely, but not the new parser.
> Which one is right?
>
> Victo
>
> ----- Original Message -----
> From: "victor" 
> To: "Developer discussions" 
> Sent: Saturday, May 02, 2009 10:22 PM
> Subject: Re: [Cs-dev] New parser
>
>
>> Perfect, just tested it and it's grand.
>> Well done.
>>
>> Victor
>> ----- Original Message -----
>> From: "jpff" 
>> To: 
>> Sent: Saturday, May 02, 2009 10:02 PM
>> Subject: [Cs-dev] New parser
>>
>>
>>>I have (I believe) fixed the label/opcode problem and also noticed
>>> that the new parser required a newline after a label.  That is fixed
>>> as well.,  Victor's "hommage.csd" not compiles
>>> ==John ffitch
>>>
>>> ------------------------------------------------------------------------------
>>> Register Now & Save for Velocity, the Web Performance & Operations
>>> Conference from O'Reilly Media. Velocity features a full day of
>>> expert-led, hands-on workshops and two days of sessions from industry
>>> leaders in dedicated Performance & Operations tracks. Use code vel09scf
>>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Register Now & Save for Velocity, the Web Performance & Operations
>> Conference from O'Reilly Media. Velocity features a full day of
>> expert-led, hands-on workshops and two days of sessions from industry
>> leaders in dedicated Performance & Operations tracks. Use code vel09scf
>> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net