I use some modifications to the original Sparkle syntax (docs.google.com/document/d/1gU…
then like Parclytaxel does.
Otherwise when used with a single command gives
Otherwise, + command.
- Likewise, punctuation omitted in an
- Within a single argument function,
it can be used to reference the argument.
- When an
If ... then ... Otherwise ... token ends at the end of a function,
That's all I would do. is omitted.
Please note that these modifications apply only for readability purposes, and do not alter program flow.
Dear Princess Celestia: I like numbers!
Today I learned how to compute factorials of any number.
I asked anything, then said how to compute factorials using anything.
That's all about how to compute factorials of any number!
Today I learned how to compute factorials using any number.
If it was more than 2 then you get how to compute factorials using any number minus 1.
If it was 0 then you get 1.
Otherwise, you get the number Spike gave me.
That's all about how to compute factorials!
Your faithful student, Oberon.
Okay, that was simple.
Beauties of Sparkle #1: no need for explanations, because code comments itself.