sicmutils
leo-editor
Our great sponsors
sicmutils | leo-editor | |
---|---|---|
13 | 16 | |
750 | 1,451 | |
0.0% | 0.7% | |
0.0 | 10.0 | |
about 1 year ago | about 13 hours ago | |
Clojure | Python | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
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.
sicmutils
- Sicmutils: Computer Algebra, Physics and Differential Geometry in Clojure
-
mentat-collective/emmy: The Emmy Computer Algebra System.
They seem to be in the middle of transitioning from the old repo.
-
Ask HN: What Is the SICP of Physics?
There are some good resources here including some nicely formatted HTML versions of the book: https://github.com/sicmutils/sicmutils/wiki/SICM-and-FDG-Lea...
^ The Github repo contains a Clojure version of the Scheme library used by the book.
-
Space Math
If you want to try this out, give the sicmutils Computer Algebra System a go (I’m the maintainer). Repo lives here: https://github.com/sicmutils/sicmutils
The library works in the browser as well, so interactive TeX rendering from Clojure symbolic expressions and functions is available at the quickstart page here: https://nextjournal.com/try/samritchie/sicmutils
-
Math notation library for CojureScript
I am the maintainer of the "sicmutils" computer algebra system in Clojure, and I think that you'll find it very nice for your project: https://github.com/sicmutils/sicmutils
-
A, perhaps, naive question on (Common) Lisp
https://github.com/sicmutils/sicmutils is a really interesting development in the direction(s) you stated in b. Since terms can be rendered in various ways (latex, js, etc.), they can be embedded in documents, web pages, etc. You can go from symbolic expressions to animated dynamic systems with relevant formulae.
-
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
Hey, so fun to see this here! These demos feature work from https://github.com/sicmutils/sicmutils and the newly maintained-by-me Mathbox library.
I’m around and happy to answer any questions about the library, future plans, etc.
-
Neural network capable of solving university-level Mathematics problems at scale
Give my SICMUtils computer algebra system a look as well, if you like Lisp / Clojure: https://github.com/sicmutils/sicmutils
Works on the web too, which is a big boost for sharing work.
-
MIT Scheme on Apple Silicon
It is good enough! Almost all code forms from the book live in the tests (see the FDG directory[0], for example), and there are a few nice environments like Nextjournal[1] where everything from the books works in the browser.
The Clojure port is quite fast, faster than the original for all benchmarks GJS has sent me, and more fleshed out. (That will change, as I've been pushing bugfixes and performance improvements back upstream as I go, as a meager gift to GJS for making this huge, amazing library in the first place.)
I actually wrote to GJS this morning asking for instructions on how to compile the original "scmutils", since I have the same problem. He responded saying he'll get back to me this afternoon, so I'll post here once I have details.
If you are still interested in getting the books going with MIT-Scheme, I put a decent amount of work into the exercises using the original codebase here[2], including a dockerized version of mit-scheme[3] and the scmutils package[4] that might be useful.
- [0] https://github.com/sicmutils/sicmutils/tree/main/test/sicmut...
- [1] https://nextjournal.com/try/samritchie/sicmutils/
- [2] https://github.com/sicmutils/sicm-exercises
leo-editor
- something with collapsible sections in the text part?
-
Ask HN: What do you think about literate programming for handover/legacy code?
What are your experiences with literate programming for handover of code?
I am thinking of tools like noweb (https://en.wikipedia.org/wiki/Noweb), LEO (http://leoeditor.com/) org-mode (http://cachestocaches.com/2018/6/org-literate-programming/), scribble/lp2 (https://docs.racket-lang.org/scribble/lp.html#%28part._scribble_lp2_.Language%29),
My experience so far is that it can be a fantastic tool for documenting and handing over complex algorithms to successor developers. I use extensively use ersonal wikis (sometimes MoinMoin, sometimes Zim Wiki, in the last time often a combination of github with reStructuredText) for work. That might also be sufficient when handing over boring code.
-
How to hoist the current method/function?
I know what folding is, that's just not what I want. I want to completely hide everything that is not related to the current function. For a while, I used http://leoeditor.com/ where I could have every function/method as a node in a tree, with the node body containing just that. Looking for a way to achieve the same in vim if possible.
-
Organice: An implementation of Org mode without the dependency of Emacs
The lack of good node/graph based APIs for Org Mode is my beef as well. When you compare it with the APIs of the Leo Editor[1], Org pales in comparison. Manipulation that is trivial in the Leo Editor can be quite a pain in Org mode.
-
Obsidian Dataview: Turn Obsidian Vault into a database which you can query from
> What outliners do you know which allow end-users to feed their data into formulas for processing it without using general-purpose programming languages?
Bit of a pointless constraint, the talk is about outliners, not no-code-datamangment. Which tool today does this even offer on a useful level?
But you can look at leo editor (https://leoeditor.com), which is active for 20+ years, fully scriptable and extendable. Though, it's a hot piece of garbage for laymen. It's offers a bunch of features and plugins even for non-coders, but I'm not sure it would satisfy you for this area, if you can't code.
But I'm not sure if there ever is a tool which will satisfy everyone with just a no-code-approach.
- LeoVue
- Leo – cross-platform PIM, IDE, and outliner
-
Why LSP?
Hmm maybe you mean:
- Programming based on fragments, not documents (e.g. LEO https://leoeditor.com/)
- Live programming (e.g. smalltalk environments)
- ... where certain actions are not available, e.g. a PL geared towards speech recognition may not support "hover"
-
Is it bad practice to start with Jupyter Notebooks?
There's also https://leoeditor.com/ where you can have a tree of nodes and execute any of them.
-
The project with a single 11,000-line code file
I had this problem until I found an editor that had outlining as it's core design paradigm. Now, with the outline always visible, it's _really_ easy to navigate any length file.
Unfortunately, at one point I got so used to navigating with the outline that I ended up making a 1500 line function in C (I was an even worse C programmer then than I am now). Because of the outline, I could read and follow it easily, but anyone with a different editor was royally screwed :-(
If you're interested, the editor is LEO (http://leoeditor.com/) it's been mentioned on HN a few times
What are some alternatives?
sicm-scheme-exercises - Exercises and notes on Structure and Interpretation of Classical Mechanics.
treesheets - TreeSheets : Free Form Data Organizer (see strlen.com/treesheets)
clerk - ⚡️ Moldable Live Programming for Clojure
obsidian-alfred - Alfred workflow for Obsidian note-taking app. Open vaults and files in Obsidian.
ChezScheme - Chez Scheme
clj-maxima - Maxima as a clojure library
leointeg - Leo Editor Integration with VS Code
programming-2022 - Talks at the <Programming> 2022 Conference in Porto, Portugal
obsidian-minimal - A distraction-free and highly customizable theme for Obsidian.
Algebird - Abstract Algebra for Scala
brick - A declarative Unix terminal UI library written in Haskell