I thought I should start some posts on features of parser3 which is part of Csound 7. There are several new things that Steven has made available which you might find interesting to use. Since there is not yet any documentation, I thought I should start discussing these and then we can see to making pages about it.
In this post, I'll introduce explicit typing. We can now give variables any names by specifying their types on declaration.
The syntax for this is:
Hello Victor!
Feb 8 2022, Victor Lazzarini has written:
...
In this post, I'll introduce explicit typing.
...
left:a,right:a = diskin"trololo\.wav"
...
Personally, I don't know which of these two features gives me more
pleasure to see. I think it might be the assignment for multiple
outputs. I occasionally found myself doing that without thinking. I
am looking forward to parser3. I expect there will be other tricks up
its sleeve.
yes, I find these features very nice too. Note that it's all working already in the version we have in the develop branch. Another thing about parser3 is that it seems much easier to maintain and extend.
Thanks Victor. I am very excited about the features offered by the new parser, especially structs and the new UDO syntax.
Steven's thesis (particularly chapters 2.4 and 3.3) is very interesting in that regard.
Are dictionaries/hash tables also scheduled for the next release?