alda-lang / alda

A music programming language for musicians. :notes:
https://alda.io
Eclipse Public License 2.0
5.58k stars 282 forks source link

Issue #348 - :parts #419

Closed n-makim closed 2 years ago

n-makim commented 2 years ago

Hello Dave,

I added the ":parts" command mentioned within the REPL feature suggestions of issue #348.

I referenced other repl command handlers, especially that for ":score," to safely parse the score data and access the map of instruments.

Please let me know if there are any changes you would like to see (or anywhere that I can add tests). I also wanted to ask about the grouping of instruments; as of now, the command simply prints out all instruments within the current score, but the original description mentions a format that 'shows if the instruments are in a group'.

daveyarwood commented 2 years ago

Hi @n-makim , thanks for the PR! I'm a little busy this week, but I will review it as soon as I can.

daveyarwood commented 2 years ago

This looks good - thanks for the contribution!

I'm going to make a couple of small tweaks after merging, and then get this into a release soon!