Csound Csound-dev Csound-tekno Search About

[Csnd] Messages from new parser

Date2010-12-23 13:02
Fromjohn ffitch
Subject[Csnd] Messages from new parser
>> Hi all,
>> just a curiosity, is there a way to understand the output messages by the
>> parser?

This is the new parser which is not yet at a standard for general
use.  In the CVS it is made default to encourage bug-finding and
oddities.  The next release will have the old parser back as default.
  That being said, i will try to elucidate....

>> For example, i had this:
>> 
>> ********************
>> * USING NEW PARSER *
>> ********************

As it said!

>> Type confusion for cent (296,289), replacing
>> Type confusion for octave (296,289), replacing
>> Type confusion for semitone (296,289), replacing

There is a problem, explained on the developer list, with functions
and their type.  This message is to remind me to check this and decide
what is the correct thing to do.  I think it is benign.
296 is FUNCTION and 289 is OPCODE (see Engine/csound_orcparse.h)

>> END OF INPUT
>> Parsing successful!
>> SETTING 0DBFS: 1.000000
>> Unknown TREE node of type 289 found in root.
>> Unknown TREE node of type 289 found in root.
>> 

There is a semantic scan of the internal tree representation and that
program does not know about FUNCTION.  I suspect that is an oversight;
will look

>> what it means Type confusion, and what is the TREE node of type 289 in root?
>> Where can i go to see the means of this message?
>> Ok, probably i could not understand anyway, but i would like to try to ...
>> 
>> Thanks and ciao,
>> francesco.
>> 

Hope that is helpful and not too confusing

==John ffitch


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-12-23 14:03
Fromfrancesco
Subject[Csnd] Re: Messages from new parser
Thank You Mr. Ffitch,
i think i have understand a bit ...
It was really clear to me remembering some discussions about it on dev list.
And i will try to know somethings more looking at the code.

Only for my personal pleasure,
and then thanks.

ciao,
francesco.