isaacg1 / pyth

Pyth, an extremely concise language. Try it here:
https://pyth.herokuapp.com/
MIT License
264 stars 57 forks source link

What is arity X, S, and |? #131

Closed winny- closed 9 years ago

winny- commented 9 years ago

I'm not sure if there is a better place to ask general questions about Pyth, so I'm creating an issue.

I noticed in the doc.txt there isn't any discussion about what arities X, S, and | mean. Is there documentation elsewhere that discusses these arities?

isaacg1 commented 9 years ago

There isn't any documentation for those, thanks for pointing it out. I'll add the documentation to doc.txt. X means exceptional, it means that the character doesn't fit in the arity system. S means statement, because statements can have bodies of any length. I means infinite, or in other words unbounded. | isn't used. Please note that that part of the documentation may be somewhat inconsistent, as it is not well maintained.