Closed firmart closed 3 years ago
Thanks for the kind words!
(comment ...)
is indeed no longer available in Alda 2. It was only available in Alda 1 "by accident," because it was provided by the Clojure runtime. At one point, I was recommending that folks who wanted a long comment syntax could use (comment ...)
instead, but that was never something that I intended to support long term. In Alda 2, if you want to comment out many lines, the only way to do it is to prepend each line with #
.
I think this is rather a documentation issue: what is the comment syntax ?
Excellent point! Let's keep this issue open until there is easy-to-find documentation about the comment syntax. I think it would make sense to add a short doc/comments.md
to the docs folder.
@daveyarwood Thanks for addressing this issue that fast. I'm glad to hear my scores again and to see Alda evolve.
I've added documentation about comments here: https://github.com/alda-lang/alda/blob/master/doc/comments.md
I noticed the new release of Alda 2 through Dave's blogpost and upgraded Alda from v1.4.2 to v2.0.0. I tried to play old scores I grabbed from Internet last year, but it seems that the syntax
(comment "content")
is no longer supported in Alda 2.To reproduce
test.alda
alda play -f test.alda
. It will error out:Alda doctor
Environment
Ubuntu 20.04.2 with Alda 2.0.0
Notes
Thanks for all the good work.