Csound Csound-dev Csound-tekno Search About

[Cs-dev] text format

Date2012-01-27 10:38
FromTito Latini
Subject[Cs-dev] text format
AttachmentsNone  

Date2012-01-27 11:10
FromVictor Lazzarini
SubjectRe: [Cs-dev] text format
Tito,

it looks like we need option 2).

Regards

Victor
On 27 Jan 2012, at 10:38, Tito Latini wrote:

> I have noticed that the text format where the lines finish
> only with CR (\r) doesn't work well with the preprocessor
> in the new parser, because
> 
>  "\r" { }
> 
> and
> 
>  while ((c = input(yyscanner)) != '\n'); // for skip
> 
> However the old parser and the score (sread.c) consider the eol with only CR.
> 
> We have 2 possibilities:
> 
>  1 - only the text formats that finish with CR LF or LF are correct
>  2 - to correct the preprocessor
> 
> tito
> 
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-01-27 12:05
FromAndres Cabrera
SubjectRe: [Cs-dev] text format
Hi,

I agree with Victor. There are many old orchestras produced in
MacCsound that end in \r, so it's worth keeping compatibility with
those.

Cheers,
Andrés

On Fri, Jan 27, 2012 at 11:10 AM, Victor Lazzarini
 wrote:
> Tito,
>
> it looks like we need option 2).
>
> Regards
>
> Victor
> On 27 Jan 2012, at 10:38, Tito Latini wrote:
>
>> I have noticed that the text format where the lines finish
>> only with CR (\r) doesn't work well with the preprocessor
>> in the new parser, because
>>
>>  "\r" { }
>>
>> and
>>
>>  while ((c = input(yyscanner)) != '\n'); // for skip
>>
>> However the old parser and the score (sread.c) consider the eol with only CR.
>>
>> We have 2 possibilities:
>>
>>  1 - only the text formats that finish with CR LF or LF are correct
>>  2 - to correct the preprocessor
>>
>> tito
>>
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-deve

Date2012-01-27 13:15
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] text format
I guess so -- strange who no one seemed to care when I made these changes,
but now it is assumed.


> Hi,
>
> I agree with Victor. There are many old orchestras produced in
> MacCsound that end in \r, so it's worth keeping compatibility with
> those.
>
> Cheers,
> Andrés
>
> On Fri, Jan 27, 2012 at 11:10 AM, Victor Lazzarini
>  wrote:
>> Tito,
>>
>> it looks like we need option 2).
>>
>> Regards
>>
>> Victor
>> On 27 Jan 2012, at 10:38, Tito Latini wrote:
>>
>>> I have noticed that the text format where the lines finish
>>> only with CR (\r) doesn't work well with the preprocessor
>>> in the new parser, because
>>>
>>>  "\r" { }
>>>
>>> and
>>>
>>>  while ((c = input(yyscanner)) != '\n'); // for skip
>>>
>>> However the old parser and the score (sread.c) consider the eol with
>>> only CR.
>>>
>>> We have 2 possibilities:
>>>
>>>  1 - only the text formats that finish with CR LF or LF are correct
>>>  2 - to correct the preprocessor
>>>
>>> tito
>>>
>>> ------------------------------------------------------------------------------
>>> Try before you buy = See our experts in action!
>>> The most comprehensive online learning library for Microsoft developers
>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
>>> MVC3,
>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>> http://p.sf.net/sfu/learndevnow-dev2
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-01-27 15:02
FromTito Latini
SubjectRe: [Cs-dev] text format
AttachmentsNone  

Date2012-01-27 15:05
FromTito Latini
SubjectRe: [Cs-dev] text format
AttachmentsNone  

Date2012-01-27 17:49
FromTito Latini
SubjectRe: [Cs-dev] text format
AttachmentsNone  

Date2012-01-27 18:02
Fromjpff@cs.bath.ac.uk
SubjectRe: [Cs-dev] text format
were the changes for \r in the lexer or preprocessor?

> I have modified the `comment' function because there was a
> segfault with the comments in an included file; now it seems ok
>
> tito
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>



------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2012-01-27 18:07
FromTito Latini
SubjectRe: [Cs-dev] text format
AttachmentsNone