masak / alma

ALgoloid with MAcros -- a language with Algol-family syntax where macros take center stage
Artistic License 2.0
139 stars 15 forks source link

Make prompt() take 0..* arguments too #513

Closed masak closed 5 years ago

masak commented 5 years ago

After sampling the wonderful results of #361, now I want the same for the prompt built-in. Just found this bit of code in nicomachus.007:

prompt("Your number divided by " ~ n ~ " has a remainder of: ");

And this surrounded by nice calls to say with commas instead of ~.

This cannot stand.