emmy VS debug-trace-var

Compare emmy vs debug-trace-var and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
emmy debug-trace-var
14 1
353 3
24.9% -
5.2 0.0
5 days ago almost 6 years ago
Clojure Haskell
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

emmy

Posts with mentions or reviews of emmy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-28.
  • Ask HN: Any interactive math tutorials that use a computational algebra system?
    1 project | news.ycombinator.com | 5 Mar 2024
    I'm a senior level programmer who recently became interested in furthering my math education.

    I also just became aware of computational algebra systems like emmy: https://github.com/mentat-collective/emmy

    My question is: is there an interactive math curriculum/textbook/etc that uses such a system to teach the math? I would find that a lot more engaging than learning math the old way!

  • The Emmy Computer Algebra System
    2 projects | news.ycombinator.com | 28 Feb 2024
  • Pure Programming Language
    2 projects | news.ycombinator.com | 27 Feb 2024
    This library bring these capabilities to Clojure:

    https://github.com/mentat-collective/emmy

    It's based on an older library for Scheme, by Sussman.

  • Emmy A powerful computer algebra system written in Clojure(Script)
    1 project | news.ycombinator.com | 5 Sep 2023
  • Learn Physics with Functional Programming
    3 projects | news.ycombinator.com | 5 Sep 2023
    Of course! And referencing your other comment, during the ~2 year period I've been working on Emmy (on top of work by Colin Smith), I was keen to make the implementation more accessible and well-documented than the original.

    There's still not a great map of the project (from primitives to general relativity), but many of the namespaces are written as literate programming explorations: https://emmy.mentat.org/#explore-the-project

    Here's the automatic differentiation implementation/essay, for example: https://sritchie.github.io/emmy/src/emmy/differential.html

    A rough sketch of the tower is:

    - `emmy.value` and `emmy.generic` implement the extensible generic operations

    - `emmy.ratio`, `emmy.complex` and `emmy.numbers` fleshes out the numeric tower

    - `emmy.expression` and `emmy.abstract.number` add support for symbolic literals

    Next we need an algebraic simplifier...

    - `emmy.pattern.{match,rule,syntax} give us a pattern matching language

    - `emmy.simplify.rules` adds a ton of simplification rules, out of which

    - `emmy.simplify` builds a simplification engine

    Actually the simplifier has three parts... the first two start in `emmy.rational-function` and `emmy.polynomial` and involve converting an expression into either a polynomial or a rational function and then back out, putting them into "canonical form" in the process. That will send you down the rabbit hole of polynomial GCD etc...

    And on and on! I'm happy to facilitate any code reading journey you go on or chat about Emmy or the original scmutils, feel free to write at sam [at] mentat.org, or else visit the Discord I run for the project at https://discord.gg/hsRBqGEeQ4.

  • Moldable Live Programming for Clojure
    2 projects | news.ycombinator.com | 18 Jun 2023
  • Looking for a partial application macro that can apply parameters out of order by name
    1 project | /r/Clojure | 13 Jun 2023
  • Emmy: A powerful computer algebra system written in Clojure(Script)
    1 project | news.ycombinator.com | 1 Jun 2023
  • I think Zig is hard but worth it
    9 projects | news.ycombinator.com | 1 Jun 2023
    > You can get a feel for how unergonomic this is by avoiding the use of all arithmetic operators in your code and instead forcing yourself to use user defined plus(a,b), minus(a,b), assign(a,b), etc, or programming directly with the C blas api.

    You've dramatically overstated your case, since that's true of every Lisp-like language.

    Lisp is a perfectly suitable language for developing mathematics in, see SICM [0] for details.

    If you want to see SICM in action, Emmy [1] is a Clojure project that ported SICM to both Clojure and Clerk notebooks (like Jupyter notebooks, but better for programmers).

    [0] https://mitpress.mit.edu/9780262028967/structure-and-interpr...

    [1] https://emmy.mentat.org/

  • Polynomial Interpolation
    1 project | news.ycombinator.com | 8 Feb 2023
    Here's some Clojure code I wrote for the Emmy computer algebra system that implements polynomial interpolation with a few different algorithms described in Numerical Recipes:

    https://github.com/mentat-collective/emmy/blob/main/src/emmy...

    I discovered while writing this that I could express each of these algorithms as folds that consumed a stream of points, accumulating a progressively higher order polynomial.

    Here's the same sort of thing but for rational function interpolation: https://github.com/mentat-collective/emmy/blob/main/src/emmy...

debug-trace-var

Posts with mentions or reviews of debug-trace-var. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-01.
  • I think Zig is hard but worth it
    9 projects | news.ycombinator.com | 1 Jun 2023
    > Can you give me an example of a Haskell expression which isn't reverentially transparent (without unsafePerformIO)?

    Yes: https://github.com/ncaq/debug-trace-var The trick, however, is not unsafePerformIO (destructive mutability has nothing to do with referential transparency in general) but with TemplateHaskell, as quoting has everything to do with referential transparency.

    > But the bog standard FP definition is a real and useful concept.

    Actually, it's rather tautological. It defines FP circularly (see my comment here: https://news.ycombinator.com/item?id=36152488). It says nothing more than the far more useful explanation: "the meaning of every expression is a value".

What are some alternatives?

When comparing emmy and debug-trace-var you can also consider the following projects:

clerk - ⚡️ Moldable Live Programming for Clojure

print-debugger - Prints lines with IDE friendly stack traces in Haskell.

locus - A specialised computer algebra system for topos theory.

Hoed - Hoed - A Lightweight Haskell Tracer and Debugger

sicmutils - Computer Algebra, Physics and Differential Geometry in Clojure.

vacuum

htrace - Hierarchical tracing for debugging lazy evaluation in Haskell

hood - Hood debugger, based on the idea of observing functions and structures as they are evaluated.

ap-reflect - Partial evaluation reflection a la simple-reflect.

asn1dump - ASN.1 debug tool

todo - Wrapping development symbols in Warnings to make sure you don't miss them

linux-perf - Haskell library for reading perf.data files from the linux performance events tool.