Looking for parser for Csound Score Expressions

View: New views
3 Messages — Rating Filter:   Alert me  

Looking for parser for Csound Score Expressions

by Steven Yi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I'm currently looking for a parser or expression evaluation engine
that is modifiable that will be able to parse Csound Score Expressions
as listed at:

http://www.csounds.com/manual/html/ScoreEval.html

A small calculator parser that handles -, +, *, /, and parenthesis
should be fine and easy to modify too.  If anyone happens to know of
one or has coded one and it is GPL, please contact me as I am looking
to add evaluation of score expressions to blue which I need to do to
get generate an accurate mixer instrument note statement.  I am
looking for a hand coded parser in particular as I am not particularly
interested at this time to add Antlr or JavaCC or JCup parsers to
blue's build system nor add them as runtime library dependencies,
which they require for running parsers generated by them.

Also, in general, if anyone has any experience with parser generators
as in the above and could comment on the above, please do. =)  I've
experimented with Antlr a few times and am going to take a look at
JavaCC I think sometime this week.

Thanks,
steven


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Bluemusic-devel mailing list
Bluemusic-devel@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-devel

Re: Looking for parser for Csound Score Expressions

by Michael Bechard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That could get pretty sticky, given that those kinds
of evaluations also accept input from macros. How do
you intend to handle that?

Michael Bechard

--- Steven Yi <stevenyi@...> wrote:

> Hi All,
>
> I'm currently looking for a parser or expression
> evaluation engine
> that is modifiable that will be able to parse Csound
> Score Expressions
> as listed at:
>
> http://www.csounds.com/manual/html/ScoreEval.html
>
> A small calculator parser that handles -, +, *, /,
> and parenthesis
> should be fine and easy to modify too.  If anyone
> happens to know of
> one or has coded one and it is GPL, please contact
> me as I am looking
> to add evaluation of score expressions to blue which
> I need to do to
> get generate an accurate mixer instrument note
> statement.  I am
> looking for a hand coded parser in particular as I
> am not particularly
> interested at this time to add Antlr or JavaCC or
> JCup parsers to
> blue's build system nor add them as runtime library
> dependencies,
> which they require for running parsers generated by
> them.
>
> Also, in general, if anyone has any experience with
> parser generators
> as in the above and could comment on the above,
> please do. =)  I've
> experimented with Antlr a few times and am going to
> take a look at
> JavaCC I think sometime this week.
>
> Thanks,
> steven
>
>
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems?  Stop!  Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the
> web.  DOWNLOAD SPLUNK!
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Bluemusic-devel mailing list
> Bluemusic-devel@...
>
https://lists.sourceforge.net/lists/listinfo/bluemusic-devel
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluemusic-devel mailing list
Bluemusic-devel@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-devel

Re: Looking for parser for Csound Score Expressions

by Steven Yi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was going to ignore macros as I don't support their usage in general
in blue (at least, haven't made any effort or have had any desire to
do so).  Without macros, it's not so bad I think.

steven

On 2/6/06, Michael Bechard <gothmagog@...> wrote:

> That could get pretty sticky, given that those kinds
> of evaluations also accept input from macros. How do
> you intend to handle that?
>
> Michael Bechard
>
> --- Steven Yi <stevenyi@...> wrote:
>
> > Hi All,
> >
> > I'm currently looking for a parser or expression
> > evaluation engine
> > that is modifiable that will be able to parse Csound
> > Score Expressions
> > as listed at:
> >
> > http://www.csounds.com/manual/html/ScoreEval.html
> >
> > A small calculator parser that handles -, +, *, /,
> > and parenthesis
> > should be fine and easy to modify too.  If anyone
> > happens to know of
> > one or has coded one and it is GPL, please contact
> > me as I am looking
> > to add evaluation of score expressions to blue which
> > I need to do to
> > get generate an accurate mixer instrument note
> > statement.  I am
> > looking for a hand coded parser in particular as I
> > am not particularly
> > interested at this time to add Antlr or JavaCC or
> > JCup parsers to
> > blue's build system nor add them as runtime library
> > dependencies,
> > which they require for running parsers generated by
> > them.
> >
> > Also, in general, if anyone has any experience with
> > parser generators
> > as in the above and could comment on the above,
> > please do. =)  I've
> > experimented with Antlr a few times and am going to
> > take a look at
> > JavaCC I think sometime this week.
> >
> > Thanks,
> > steven
> >
> >
> >
> -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do
> > you grep through log files
> > for problems?  Stop!  Download the new AJAX search
> > engine that makes
> > searching your log files as easy as surfing the
> > web.  DOWNLOAD SPLUNK!
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> > _______________________________________________
> > Bluemusic-devel mailing list
> > Bluemusic-devel@...
> >
> https://lists.sourceforge.net/lists/listinfo/bluemusic-devel
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Bluemusic-devel mailing list
> Bluemusic-devel@...
> https://lists.sourceforge.net/lists/listinfo/bluemusic-devel
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Bluemusic-devel mailing list
Bluemusic-devel@...
https://lists.sourceforge.net/lists/listinfo/bluemusic-devel