Commit Graph

18 Commits

Author SHA1 Message Date
Simon Forman 6fc77a9a4a Simplify tokenizing, raise Unknown errors.
This brings the behaviour of Python Joy into congruence with Nim Joy.
2021-04-06 12:40:04 -07:00
Simon Forman c00c6a4e32 Add a "quiet" mode.
This brings the Python Joy interpreter into better congruence with the
Nim interpreter for ease of automated testing.
2021-04-06 11:28:30 -07:00
Simon Forman 1cf82b8bcb Don't let module imports have side-effects.
The pretty printer module was inscribing the trace command as a side-
effect of importing it.
2020-12-19 23:53:04 -08:00
Simon Forman 9d9fad6dc9 Fix a typo. 2020-11-23 09:06:36 -08:00
Simon Forman 5a91f04f1a Hmm... 2020-11-23 08:59:20 -08:00
Simon Forman 7017f6b6d1 Fix a typo. 2020-11-23 08:44:33 -08:00
Simon Forman ba0c24c39b Minor cleanup. 2020-05-20 15:34:30 -07:00
Simon Forman ddf063973c Trace command.
Don't print trace by default, instead a new `trace` combinator wirks like `i` and prints a trace.
2020-04-28 15:28:43 -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 53d886a492 read text from REPL, don't eval 2020-04-24 00:03:32 -07:00
Simon Forman e758d7d2be futurize stage2 core 2020-04-23 23:28:24 -07:00
Simon Forman 57446a1179 Minor docs update. 2019-12-02 14:13:50 -08:00
Simon Forman b27adb7e1c Remove some trailing blankspace. 2018-11-28 13:00:03 -08: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 beb7155b4a Initial move of code from git repo. 2018-04-14 18:13:13 -07:00