Skip to content
/ pyth Public
forked from isaacg1/pyth

Pyth, an extremely concise language. Try it here:

License

Notifications You must be signed in to change notification settings

Magnus167/pyth

This branch is up to date with isaacg1/pyth:master.

Folders and files

NameName
Last commit message
Last commit date
May 28, 2017
Oct 17, 2015
Dec 19, 2015
Oct 24, 2016
Jul 1, 2014
Dec 31, 2014
Nov 26, 2017
Oct 15, 2016
Dec 30, 2016
Oct 13, 2017
Aug 3, 2017
Dec 23, 2014
Sep 25, 2014
Dec 26, 2015
Jun 4, 2017
May 9, 2019
Jun 4, 2017
Nov 26, 2017
Jun 18, 2015
Nov 26, 2017
Dec 31, 2014
Apr 26, 2016
Nov 26, 2017
Apr 26, 2016

Repository files navigation

Pyth

Pyth, an extremely concise language.

Try it here.

Tutorial here.


Recent changes:

11/26/17

  • = and ~ now allow an implicit Q if they are not followed by any variables for the rest of the program.
    • For instance, in the program mQ=h, the = assigns the result of h, which expands to hQ to Q. Thus, with an input of 2, the output is [3, 3, 3].

8/20/17

  • J and K now define assignment expressions until an assignment expression is complete, since the associated variables are not defined until that point.
    • For instance, in the program J+J4*J3J, the first J defines an assignment expression. + is part of that expression, J is part of that expression and defines another assignment expression. That inner assignment gives J the value 4. Now, J is defined, and so it is treated as a variable in the expression *J3. Then, the final J is an expression of its own, and prints out J's new value at this point, 16.

About

Pyth, an extremely concise language. Try it here:

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.8%
  • HTML 6.2%