programming-2022
rust-jmdict
programming-2022 | rust-jmdict | |
---|---|---|
3 | 1 | |
11 | 12 | |
- | - | |
0.0 | 0.0 | |
about 2 years ago | 3 months ago | |
HTML | Rust | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
programming-2022
-
Math notation library for CojureScript
The latest thing the system can do is run interactive 3d mathematical visualizations. Here are some physics examples: https://twitter.com/sritchie/status/1503220063264026629, with code living here: https://github.com/sritchie/programming-2022
-
Literate programming is much more than just commenting code
- multiple stories about the same piece of code, but all with the ability to IMPORT the story as a library
I've been writing sicmutils[0] as a "literate library"; see the automatic differentiation implementation as an example[1].
A talk I gave yesterday at ELS demos a much more powerful host that uses Nextjournal's Clerk to power physics animations, TeX rendering etc, but all derived from a piece of Clojure source that you can pull in as a library, ignoring all of these presentation effects.
Code should perform itself, and it would be great if when people thought "LP" they imagined the full range of media through which that performance could happen.
[0] sicmutils: https://github.com/sicmutils/sicmutils
[1] autodiff namespace: https://github.com/sicmutils/sicmutils/blob/main/src/sicmuti...
[2] Talk code: https://github.com/sritchie/programming-2022
[3] Clerk: https://github.com/nextjournal/clerk
-
Physics in Clojure: Elliptical Paths
Yes, for these examples SICMUtils is handling the state updates and gives new coordinates to Mathbox to render.
The library works in both JS and the JVM, so I was able to generate an unevaluated code form for the equations of motion (simplified, optimized!), which clerk sends over the wire for the JS build of sicmutils to run.
Here is the code for that demo: https://github.com/sritchie/programming-2022/blob/main/src/p...
The api is settling, of course this is all quite playful! I will add instructions on how to get this building when I’m back at the keyboard.
Another way this will all get more powerful is via the in-progress https://github.com/ChristopherChudzicki/mathbox-react project. When that’s settled we can send a data structure representing a full scene across the wire, and build stuff like www.math3d.org , but with the full power of Clojure augmenting the UI equation editor. Dreamy stuff!
rust-jmdict
-
Literate programming is much more than just commenting code
I had an instance of this where I built up a rather contrived data structure over time and ended up putting what is basically a blog post into the repo to explain the history of that data structure: https://github.com/majewsky/rust-jmdict/blob/main/CONTRIBUTI...
What are some alternatives?
sicmutils - Computer Algebra, Physics and Differential Geometry in Clojure.
nbdev - Create delightful software with Jupyter Notebooks
clerk - ⚡️ Moldable Live Programming for Clojure
usql - Universal command-line interface for SQL databases
srcweave - A literate programming system for any language.
cannon-es-debugger - Wireframe debugger for use with cannon-es https://github.com/react-spring/cannon-es
zx - A tool for writing better scripts