Csound Csound-dev Csound-tekno Search About

Re: [Csnd-dev] Score parsing broken for named instruments

Date2017-01-16 13:40
FromNate Whetsell
SubjectRe: [Csnd-dev] Score parsing broken for named instruments
This seems long overdue, and given the regressions from  and , not to mention , I think it would be a good idea to add tests for the orchestra preprocessor as well. They’re in JavaScript, but if it’s any help, here  are my preprocessor tests (linter-csound is MIT-licensed, I use one preprocessor for both orchestras and scores, but the score preprocessor is way behind the orchestra preprocessor).

Here’s a (likely incomplete) list of relatively recent, closed preprocessor issues that could use test coverage:

https://github.com/csound/csound/issues/542 “Compiling orchestra with unterminated macro definition causes crash”

https://github.com/csound/csound/issues/643 “Using function-like macro resets line count”

https://github.com/csound/csound/issues/653 “Compiling orchestra with macro name followed by end-of-file segfaults”

https://github.com/csound/csound/issues/654 “Macros consisting of digits only can be defined but not undefined”

https://github.com/csound/csound/issues/660 “Quoted strings can contain newlines and line continuations”

https://github.com/csound/csound/issues/664 “Using function-like macro with too few arguments segfaults”

https://github.com/csound/csound/issues/681 “Deeply nested #include can segfault”

https://github.com/csound/csound/issues/682 “Recursively expandin

Date2017-01-17 00:39
FromMichael Gogins
SubjectRe: [Csnd-dev] Score parsing broken for named instruments
Score "i" statements with named instruments are working again, thank you.

Regards,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Mon, Jan 16, 2017 at 8:40 AM, Nate Whetsell
 wrote:
> This seems long overdue, and given the regressions from  and , not to mention , I think it would be a good idea to add tests for the orchestra preprocessor as well. They’re in JavaScript, but if it’s any help, here  are my preprocessor tests (linter-csound is MIT-licensed, I use one preprocessor for both orchestras and scores, but the score preprocessor is way behind the orchestra preprocessor).
>
> Here’s a (likely incomplete) list of relatively recent, closed preprocessor issues that could use test coverage:
>
> https://github.com/csound/csound/issues/542 “Compiling orchestra with unterminated macro definition causes crash”
>
> https://github.com/csound/csound/issues/643 “Using function-like macro resets line count”
>
> https://github.com/csound/csound/issues/653 “Compiling orchestra with macro name followed by end-of-file segfaults”
>
> https://github.com/csound/csound/issues/654 “Macros consisting of digits only can be defined but not undefined”
>
> https://github.com/csound/csound/issues/660 “Quoted strings can contain newlines and line continuations”
>
> https://github.com/csound/csound/issues/664 “Using function-like macro with too few arguments segfaults”
>
> https://github.com/csound/csound/issues/681 “Deeply nested #include can segfault”
>
> https://github.com/csound/csound/issues/682 “Recursively expandin