Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs for Clojure devs #109

Merged
merged 16 commits into from
Sep 27, 2024
Merged

Docs for Clojure devs #109

merged 16 commits into from
Sep 27, 2024

Conversation

holyjak
Copy link
Member

@holyjak holyjak commented Sep 4, 2024

Add Understanding Wolframite after the quickstart, and for devs: Brief introduction into Wolfram Language for Clojure developers + Wolframite for developers. Few improvements (help! supports :links, Entity[Property] is displayed better and supports round-trips, added wl/wolfram-expr).

Pls see individual commits.

Review tips: Skip anything in docs, look at changes in the existing notebooks + browse through the built site (e.g. running a local http server, such as cd docs; python3 -m http.server 8000.

It may be a good idea to delete docs/ and run clojure -T:build build-site to ensure it runs outside my PC too.

@holyjak holyjak marked this pull request as draft September 4, 2024 06:50
@holyjak holyjak added the documentation Improvements or additions to documentation label Sep 4, 2024
@holyjak

This comment was marked as resolved.

@holyjak holyjak force-pushed the docs-wolf4devs branch 3 times, most recently from 90448c3 to 9194ace Compare September 13, 2024 21:20
@holyjak

This comment was marked as resolved.

@holyjak holyjak force-pushed the docs-wolf4devs branch 2 times, most recently from 24a6e6b to 8d3964c Compare September 14, 2024 19:48
@holyjak holyjak marked this pull request as ready for review September 14, 2024 19:48
@light-matters

This comment was marked as outdated.

@holyjak holyjak force-pushed the docs-wolf4devs branch 3 times, most recently from 782798c to 7847f4e Compare September 27, 2024 12:53
Added `wl/wolfram-expr` to make it easier to embed raw Wolfram inside a bigger Wolframite expression.

Wrote "understanding-wolframite" to follow after the quick start for a deeper dive.
Issue: Before, we read these as keywords, and there was no support for translating them back to Wolfram. That made using them less convenient, we'd sometimes need to assign them an alias in Wolfram...

Fix: Parse them into records + add corresponding convert. For nice display, the single key of each such record has the same name as the type, so that they display as e.g. `{:Entity ["City" ...]}`.
* Understanding Wolframite: mention built-in doc helpers
* wolfram-for-clojurians: Link to Wolfram syntax page too
* + h.help!: Add support also for `:links` in add. to `:return-links` (easier to remember 😅)
…dvanced: syntax quote, move aliases further down.
as it prevents round-trips, i.e. using the value returned in next call (unless at the top level) and I can see no value in doing anything special here.
@holyjak holyjak merged commit 66b53d5 into main Sep 27, 2024
@holyjak holyjak deleted the docs-wolf4devs branch September 27, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants