Csound Csound-dev Csound-tekno Search About

[Cs-dev] New Parser: another oddity

Date2009-05-08 18:01
Fromjpff
Subject[Cs-dev] New Parser: another oddity
Just a report for the record:

I cannot compile examples/keys.csd
I am guesing this has to do with the line
0dbfs=2.0
but I have not confirmed that yet.  I could not see how the lexer
would handle 0dbfs but I tried adding it directly to no avail.

==John ffitch

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-08 19:16
FromSteven Yi
SubjectRe: [Cs-dev] New Parser: another oddity
That's an interesting one, since it's a variable thatt starts with a
number which is not really something you see in programming languages.
Never really thought about it!

On 5/8/09, jpff  wrote:
> Just a report for the record:
>
> I cannot compile examples/keys.csd
> I am guesing this has to do with the line
> 0dbfs=2.0
> but I have not confirmed that yet.  I could not see how the lexer
> would handle 0dbfs but I tried adding it directly to no avail.
>
> ==John ffitch
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

-- 
Sent from my mobile device

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-08 19:21
FromRichard Dobson
SubjectRe: [Cs-dev] New Parser: another oddity
Hmm, I hope the fact that I broke every rule in the book in defining a 
name (albeit a global const) starting with a digit, does not cause 
problems. It presumably requires special explicit handling just as 
originally done, before any other attempt is made to parse the name 
character by character.

Richard Dobson

jpff wrote:
> Just a report for the record:
> 
> I cannot compile examples/keys.csd
> I am guesing this has to do with the line
> 0dbfs=2.0
> but I have not confirmed that yet.  I could not see how the lexer
> would handle 0dbfs but I tried adding it directly to no avail.
> 
> ==John ffitch


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-09 03:38
FromSteven Yi
SubjectRe: [Cs-dev] New Parser: another oddity
Well, I'm sure we can find a way around it. If anything, we have to! :D

On Fri, May 8, 2009 at 11:21 AM, Richard Dobson
 wrote:
> Hmm, I hope the fact that I broke every rule in the book in defining a
> name (albeit a global const) starting with a digit, does not cause
> problems. It presumably requires special explicit handling just as
> originally done, before any other attempt is made to parse the name
> character by character.
>
> Richard Dobson
>
> jpff wrote:
>> Just a report for the record:
>>
>> I cannot compile examples/keys.csd
>> I am guesing this has to do with the line
>> 0dbfs=2.0
>> but I have not confirmed that yet.  I could not see how the lexer
>> would handle 0dbfs but I tried adding it directly to no avail.
>>
>> ==John ffitch
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-09 06:45
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] New Parser: another oddity
I can fix the lexing eaily (and have done so locally).  I think the
problem is that the variable is not being recognised like sr and kr are. 
Have slept on the problem and willlook with the first cup of coffee
==John



 Well, I'm sure we can find a way around it. If anything, we have to! :D
>
> On Fri, May 8, 2009 at 11:21 AM, Richard Dobson
>  wrote:
>> Hmm, I hope the fact that I broke every rule in the book in defining a
>> name (albeit a global const) starting with a digit, does not cause
>> problems. It presumably requires special explicit handling just as
>> originally done, before any other attempt is made to parse the name
>> character by character.
>>
>> Richard Dobson
>>
>> jpff wrote:
>>> Just a report for the record:
>>>
>>> I cannot compile examples/keys.csd
>>> I am guesing this has to do with the line
>>> 0dbfs=2.0
>>> but I have not confirmed that yet.  I could not see how the lexer
>>> would handle 0dbfs but I tried adding it directly to no avail.
>>>
>>> ==John ffitch
>>
>>
>> ------------------------------------------------------------------------------
>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
>> production scanning environment may not be a perfect world - but thanks
>> to
>> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
>> i700
>> Series Scanner you'll get full speed at 300 dpi even with all image
>> processing features enabled. http://p.sf.net/sfu/kodak-com
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2009-05-09 07:05
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] New Parser: another oddity
Took less than a cuo; I think the version checked in fixes 0dbfs.  Not
completely tested yet
==John


> I can fix the lexing eaily (and have done so locally).  I think the
> problem is that the variable is not being recognised like sr and kr are.
> Have slept on the problem and willlook with the first cup of coffee
> ==John
>
>


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net