isaacg1 / pyth

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

Tutorial uses old else notation #175

Closed Tenchi2xh closed 8 years ago

Tenchi2xh commented 8 years ago

In the tutorial, the example uses the old notation for if-then-else: I and E instead of I and .?

vendethiel commented 8 years ago

Yep, I just got bit by this :/

vendethiel commented 8 years ago

The link here ("the documentation is on github") is broken as well.

isaacg1 commented 8 years ago

Both have been fixed, thanks.

vendethiel commented 8 years ago

Thanks! :+1: Learning Pyth has been far easier than one would guess upfront.

isaacg1 commented 8 years ago

I'm really glad!

vendethiel commented 8 years ago

not fixed, btw:

and an else statement, E

vendethiel commented 8 years ago

This page: https://pyth.readthedocs.org/en/latest/spec_control.html uses 100.T, which it seems used to be equivalent to 100.0 then T. It doesn't seem to be anymore, and thus is parsed 100 then .T.

isaacg1 commented 8 years ago

Fixed, both.

vendethiel commented 8 years ago

Cool, thanks! :)

JJ-Atkinson commented 8 years ago

@vendethiel I just got bit as well ;) See here: https://pyth.readthedocs.org/en/latest/spec_control.html#e-the-else-statement

image