faust icon indicating copy to clipboard operation
faust copied to clipboard

Docs:Faust Syntax: environment Expression and Access Expression contain non-code in code

Open Asher- opened this issue 2 years ago • 8 comments

Code for environment Expression contains '...' and Access expression contains '....'.

Both should be changed to /* ... */.

Asher- avatar Nov 05 '22 01:11 Asher-

Also, Access expression is missing a ;.

Asher- avatar Nov 05 '22 01:11 Asher-

Additionally, it needs a note that the point of code snippit is to show that environment doesn't have to be named, but that syntax is only valid for the given expression if the value from the access to pi is assigned.

Asher- avatar Nov 05 '22 01:11 Asher-

Better directly fix in the source https://github.com/grame-cncm/faustdoc/blob/master/src/manual/syntax.md and prepare a PR, thanks.

sletz avatar Nov 05 '22 07:11 sletz

Fixed some typos.

it needs a note that the point of code snippit is to show that environment doesn't have to be named

what do you have in mind?

sletz avatar Nov 06 '22 19:11 sletz

I was planning on making some updates as you suggested, just haven't gotten there yet because I'm still working on the parser. Will do that next!

Asher- avatar Nov 07 '22 04:11 Asher-

Any new on this, any PR ? thanks.

sletz avatar Nov 21 '22 16:11 sletz

I'll try to get to it tomorrow

Asher- avatar Nov 23 '22 23:11 Asher-

https://github.com/grame-cncm/faustdoc/pull/2

Asher- avatar Dec 06 '22 18:12 Asher-