Commit Graph

275 Commits

Author SHA1 Message Date
sforman 9ca9239738 Minor work on the new site.
I'm moving away from OSDN, there have been a few technical issues
recently.
2023-07-26 20:47:57 -07:00
sforman 7cd5943d89 Minor edits. 2023-07-24 11:28:45 -07:00
Simon Forman 1256fb47d8 A start on styling notebooks.
I'd like the website to have some consistency.
2023-02-15 13:43:22 -08:00
Simon Forman 610de03e0b Minor updates to README file.
Removed setup.py until Python folks stabilize packaging and
distribution.  Just put the joy script in your PATH, eh?
2023-02-15 10:05:25 -08:00
Simon Forman 19890e5695 Minor edits. 2023-02-14 07:56:27 -08:00
Simon Forman ca54198e58 Updating the README a little. 2023-02-14 07:55:58 -08:00
Simon Forman 4330c26cef Minor cleanup. 2023-02-12 16:00:45 -08:00
Simon Forman 9a74b91d04 minor cleanup 2023-02-12 08:22:16 -08:00
Simon Forman 75591f36ba minor cleanup 2023-02-10 08:09:31 -08:00
Simon Forman d2048a3846 Some notebooks. 2023-02-01 14:54:07 -08:00
Simon Forman ec5036bf63 This and that. 2022-10-15 20:04:27 -07:00
Simon Forman 74f936efa0 Cleanup and refactoring.
Bug when subtracting identical numbers.  It gives

    [false 0]

When it should be

    [false]

or better yet

    [true]

eh?
2022-10-15 11:05:17 -07:00
Simon Forman 062b01da55 That seems to work: addition and subtraction. 2022-10-15 09:52:58 -07:00
Simon Forman c130026895 Mostly done with addition and subtraction. 2022-10-14 21:01:18 -07:00
Simon Forman 0b4b79f884 Not quite as smooth as I'd hoped. 2022-10-14 20:36:50 -07:00
Simon Forman 6ade65ef0c Subtraction seems to work now. 2022-10-14 17:52:31 -07:00
Simon Forman 9ba9d055ac Progress. 2022-10-13 23:10:41 -07:00
Simon Forman 8bedb77462 Adding like-sign bigints in Joy. 2022-10-11 11:37:38 -07:00
Simon Forman 5b852e7964 Minor cleanup. 2022-10-10 22:23:19 -07:00
Simon Forman b48419ec1a Add two lists of digits. 2022-10-10 20:32:57 -07:00
Simon Forman 756e1829d9 I think I got it.
Whew!  Think slow and steady FTW.  Don't get ahead of yourself.  Put the
non-recursive parts in the non-recursive branch, duh.
2022-10-10 20:26:59 -07:00
Simon Forman 2cf2b56751 Dang it... 2022-10-10 18:39:35 -07:00
Simon Forman 151c580721 Minor cleanup. 2022-10-04 11:21:07 -07:00
Simon Forman 9ccc92d04c Fix import. 2022-10-04 11:20:55 -07:00
Simon Forman 263ed2ee87 Initial outline for a talk on Joy. 2022-09-28 18:16:45 -07:00
Simon Forman 283832c649 Minor cleanup. 2022-09-20 10:20:58 -07:00
Simon Forman a6ff9857d2 Add trace word back in.
Remove pretty_print module.

Still to do: update Nim implementation with a trace function. ;)
2022-09-20 10:19:45 -07:00
Simon Forman 668040f6c6 Add a flowchart for the interpreter.
Using PlantUML.
2022-09-19 13:22:31 -07:00
Simon Forman b2a1f40155 Fixed bug in appN
while updating some Jupyter notebooks with the Joypy kernel.
2022-09-16 20:49:46 -07:00
Simon Forman 3d1dc6232e Remove old docs. 2022-09-16 17:54:42 -07:00
Simon Forman 466bf3d79b A bit more docs. 2022-09-16 12:28:13 -07:00
Simon Forman dbcbf16bc9 Got back the LI for lower-cased title notebooks.
Not sure what went wrong there.
2022-09-16 11:27:00 -07:00
Simon Forman 406740bbd6 Whence fun_with_scan and with_sympy? 2022-09-16 11:06:30 -07:00
Simon Forman 9de71c84bf Cleaning up docs.
Kinda...
2022-09-16 09:03:42 -07:00
Simon Forman 7a25eee481 The (crude) site.
It's funny that I'm using nbconvert, markdown, pandoc, tidy, and of
course python, all to make a simple static website...

"There's got to be a better way!"
2022-09-16 07:36:28 -07:00
Simon Forman b67fc46291 Function Reference 2022-09-16 07:35:11 -07:00
Simon Forman ea52cd7bfb bits and pieces 2022-09-15 19:17:56 -07:00
Simon Forman fe6567fd9e Rework docs, simpler (no Sphinx.) 2022-09-15 18:14:01 -07:00
Simon Forman 68838155dc delete all the extra notebook conversions 2022-09-15 18:11:16 -07:00
Simon Forman 69cb7febf6 That doesn't go there. 2022-09-07 21:15:09 -07:00
Simon Forman d6818620e3 Misc cruft. 2022-09-07 09:28:30 -07:00
Simon Forman b386549226 Simple Joy 2022-09-07 09:23:02 -07:00
Simon Forman d3f25affd5 Remove psaces from some filenames. 2022-09-06 14:33:51 -07:00
Simon Forman 4a5716d8b2 Rebuild HTML docs. 2022-08-16 15:26:07 -07:00
Simon Forman f70a941be3 A good talk. 2022-08-15 17:33:34 -07:00
Simon Forman 3883cac99a Minor edits. 2022-08-15 16:20:59 -07:00
Simon Forman 6eff23b191 Rebuild HTML docs. 2022-03-31 10:10:22 -07:00
Simon Forman 4be45098a3 Sidebar links should be a little farther apart. 2022-03-30 12:12:19 -07:00
Simon Forman b5178dce9b I want to override some CSS.
The links on the sidebar are too close together.
2022-03-30 12:11:20 -07:00
Simon Forman 60d18fd389 And the rest.
Whew!  Glad that's done.
2022-03-29 15:11:19 -07:00
Simon Forman a722f90072 T's and U's. 2022-03-29 12:57:41 -07:00
Simon Forman 81f8ade4be The rest of the S's. 2022-03-29 08:50:48 -07:00
Simon Forman dd7374ef81 Q, R's and some S's. 2022-03-28 18:39:42 -07:00
Simon Forman 4613d6a0a8 And there are the P's. 2022-03-27 13:04:42 -07:00
Simon Forman fb2cdff6b9 The O's. 2022-03-27 12:01:37 -07:00
Simon Forman aae78523d3 The N's. 2022-03-27 11:11:20 -07:00
Simon Forman 6bfa06b34c Covered by EXCLAMATION-MARK•HYPHEN-MINUS.md 2022-03-27 11:03:57 -07:00
Simon Forman c39d6123a9 The M's. 2022-03-27 10:52:17 -07:00
Simon Forman 7863ba8856 More misc. ref docs. 2022-03-26 13:12:16 -07:00
Simon Forman 0ac20424e8 Two L's. 2022-03-26 12:17:31 -07:00
Simon Forman b59c7a303d The I's are done. 2022-03-25 17:41:31 -07:00
Simon Forman 7403b1a07e i and ii 2022-03-25 15:16:30 -07:00
Simon Forman 1b1fe5f5bb The H's. 2022-03-25 14:46:56 -07:00
Simon Forman 3a71d4669e The rest of the G's. 2022-03-25 14:16:37 -07:00
Simon Forman 463d7eb9ae Most of the G's. 2022-03-25 12:39:03 -07:00
Simon Forman 4e7c0e3c04 That is the F's done. 2022-03-25 11:12:48 -07:00
Simon Forman a2541e644b Minor cleanup. 2022-03-24 20:28:37 -07:00
Simon Forman 90aa426bbd Only two E's. 2022-03-24 20:27:22 -07:00
Simon Forman 14554527b4 There go the D's!
This is a slog, but it's great to be getting it done.
2022-03-24 20:11:16 -07:00
Simon Forman 6a71bfb003 The rest of the C's. 2022-03-24 13:35:37 -07:00
Simon Forman 9057e3b347 Most of the C's. 2022-03-24 12:33:20 -07:00
Simon Forman 43649685ac Ref docs B's. 2022-03-24 11:15:25 -07:00
Simon Forman e9a5fbdb51 Got through the A's. 2022-03-24 09:45:29 -07:00
Simon Forman b13832b792 Update some ref docs. 2022-03-23 21:25:22 -07:00
Simon Forman b3ddc52f9e Update some ref docs. 2022-03-23 14:22:53 -07:00
Simon Forman 6a3576e9ef Minor cleanup. 2022-03-23 13:47:58 -07:00
Simon Forman cde292e24b Use the right files. 2022-03-23 13:43:18 -07:00
Simon Forman cdb05c6c68 Move the build stuff to its own dir.
Now Joypy/docs/reference/*.md are just the individual function
documents.
2022-03-23 13:40:20 -07:00
Simon Forman a3b3b840e1 It woulda looked like this,
if I hadda not had to manually tweak it.
2022-03-23 13:06:32 -07:00
Simon Forman 188f6e42c7 Goodness, that was brutal.
The `!-` name doesn't work as a title for the conversion from ReST to
Markdown.  Maybe that's a bug in Pandoc, but more likely it's a legit
syntax gotcha in Mearkdown itself.

    !-
    ^^^^

In ReST turns into:

    !-\^\^\^\^

In the Markdown.  :(

It should be:

    # !-

Instead.
2022-03-23 13:02:19 -07:00
Simon Forman 18b7c1f6a9 How hard can it be to concatenate files with newlines between them?
This hard.

Now add '#'s to those headers...
2022-03-23 11:45:36 -07:00
Simon Forman 0e79ba480f MD in the yow dir. Why not? 2022-03-23 11:44:38 -07:00
Simon Forman 2297204280 This is some janky Rube Goldberg shtuff. 2022-03-23 10:59:23 -07:00
Simon Forman b609f9a2c7 And rebuild the HTML to see how it looks. 2022-03-23 10:53:29 -07:00
Simon Forman 7048dd6017 Now pile all the ref docs into the refs dir. 2022-03-23 10:52:58 -07:00
Simon Forman 88f8723454 Pandoc!?
<p>if basis</p>
    <h2 id="discussion-60">Discussion</h2>
    <h2 id="crosslinks-59">## Crosslinks</h2>
    <h1 id="drop">drop</h1>
    <p>Basis Function Combinator</p>
2022-03-23 10:50:32 -07:00
Simon Forman 8f0f733ca3 Move the MD files into the reference dir. 2022-03-23 10:40:04 -07:00
Simon Forman 58e97aa124 And there we are, Markdown stubs for each function.
I hate filenames, Git hates Bullet • symbol, SNAFU.
I have no idea how to properly escape gnarly filenames.  I don't want to
restrict Joy function names (any non-space, non-[] Unicode) so I just
did the quick and dirty thing to make filenames.
2022-03-23 10:36:30 -07:00
Simon Forman dc76b4da2e Way overthinking this.
I want stub Markdown files for each (as yet undocumented) function.
The functions have docstrings but they are in ReST format.  Using the
`wrod.py` script I can fins all the functions that don't yet have doc
files and write their docstrings into a ReST template.  Then I use Make
and Pandoc to convert the ReST files to Markdown.
2022-03-23 10:33:02 -07:00
Simon Forman 6d9c4f14dc D'oh! Forgot to add HEADER.md file. 2022-03-22 21:50:52 -07:00
Simon Forman 9173e6de44 Make Functor-Reference from individual pages.
This is a little clunky, for example, see "!-" aka "not negative".
2022-03-22 21:47:23 -07:00
Simon Forman c5b59e1549 Minor cleanup. 2022-03-22 21:42:24 -07:00
Simon Forman 75faaf3acf Move some misc docs. 2022-03-22 21:28:39 -07:00
Simon Forman 7dbb3c69ed Working to clean up docs. 2022-03-22 21:22:57 -07:00
Simon Forman 4ac8fd5f4c Sphinx confused by `•`.
When building the HTML docs with Sphinx v4.3.0 the bullet symbol in
backticks quotes causes this warning message:

    .../Joypy/implementations/Python/joy/utils/pretty_print.py:docstring of joy.utils.pretty_print:15: WARNING: Inline interpreted text or phrase reference start-string without end-string.
2022-02-19 07:39:07 -08:00
Simon Forman 2b15f88c29 Move Jupyter kernel into notebooks dir. 2022-02-19 07:31:11 -08:00
Simon Forman 1553ba0a59 Adding in some old notes. 2022-02-19 07:30:26 -08:00
Simon Forman c467393bb7 Move notebooks to own dir. 2022-02-19 07:28:27 -08:00
Simon Forman b05f13fc90 WIP docs update 2022-01-15 15:22:17 -08:00
Simon Forman 2cc0ea0548 Some work on docs. 2021-12-23 19:08:30 -08:00