Commit Graph

17 Commits

Author SHA1 Message Date
Simon Forman 49bcab2e91 Correct i combinator. 2021-04-09 17:13:09 -07:00
Simon Forman 65b2b4a7e3 Switch back to spaces for indentation.
For better or worse, Python 3 won.  No need to be shitty about it, eh?
2021-04-09 16:16:34 -07:00
Simon Forman b2c449dd66 Print Boolean values with lowercase intitial letters. 2021-04-06 11:41:39 -07:00
Simon Forman aa43eb6684 Minor cleanup. 2020-12-18 16:10:45 -08:00
Simon Forman 90eef110d1 Drag-n-Drop stack util function. 2020-12-17 21:02:26 -08:00
Simon Forman 548709c87a Format lists properly. 2020-05-10 12:46:33 -07:00
Simon Forman 078f29830d Switch to tabs for indentation.
Instead of a mix of 2- and 4-space tabs just use actual tabs.  ;-P
2020-04-24 12:48:15 -07:00
Simon Forman 29d510eb46 futurize stage2 core 2020-04-23 23:33:23 -07:00
Simon Forman 8d0d0de897 Fixes #38239 rename parameter of stack.pick() 2020-04-23 21:39:29 -07:00
Simon Forman 4406a6620b Type inference of Joy expressions.
More remains to be done but it seems to work.
2018-06-29 13:19:12 -07:00
Simon Forman 33f34dd15b Rename pushback() to concat(). 2018-06-13 10:17:46 -07:00
Simon Forman dbb1fcf4a2 Adding params to the docstrings. 2018-04-30 10:16:04 -07:00
Simon Forman 147641611d Working on the Sphinx docs.
I had to remove the tuples from the args specs, sphinx had kittens.

I see value both in the autodoc for library.py and the library examples
Jupyter notebook (converted to ReST format) so I'm including them both.

Calling the library module autodocs the "Function Reference".
2018-04-24 21:01:16 -07:00
Simon Forman 93b35593d4 Sphinx docs coming along.
It's so pretty!  Make me want to write more docs.  :-)

Some weird bug parsing the library.py module though.  D'oh!
2018-04-22 22:44:49 -07:00
Simon Forman 669c86cbf1 Change project name to Thun.
I waited too long to upload to PyPI and some other bastard snagged the name.  I originally wanted to call it "Thun" as a tribute to Manfred von Thun, but I was concerned that this might seem to violate the thrid clause in the license of the original Joy code, to wit:

3. The name of the author may not be used to endorse or promote products  derived from this software without specific prior written permission.

Since the author is deceased I don't know of whom to ask permission to call this project Thun, but since I am not trying to "endorse or promote" this project with his name it should be alright.  In any event if anyone complains I can rename the project again.
2018-04-21 21:26:41 -07:00
Simon Forman a61dc4c5d9 Efficient and elegant recursive pushback() function.
Can overflow recursion limit (typically 1000.)
2018-04-21 11:41:20 -07:00
Simon Forman beb7155b4a Initial move of code from git repo. 2018-04-14 18:13:13 -07:00