Git Product home page Git Product logo

Comments (5)

1MLightyears avatar 1MLightyears commented on April 28, 2024

hmmmm...
I have to say they have some similar functions, but are implemented in totally different approaches and used in no situations in common at all.

from latexify_py.

odashi avatar odashi commented on April 28, 2024

Hi, thanks to notifying!

Yes I knew your project (which is quite nice πŸ˜ƒ ). I understood that is oriented for scratching math on Jupyter, using Python as a "math language."

This project is in contrast oriented to generate LaTeX from usual Python code which are possibly written already somewhere, with keeping (most) original functionality.

These are developed for different use-cases I guess, but the functionality on Jupyter is somewhat similar.

from latexify_py.

connorferster avatar connorferster commented on April 28, 2024

Thanks! I like Latexify-py, too. I plugged it on a Reddit thread last week.

handcalcs also has a function decorator interface to be used in non-Jupyter environments. I think the key difference is that Latexify-py is more focussed on theoretically representing the whole body of a function symbolically whereas handcalcs is focussed primarily on tracing computation by a) only rendering the happy path through branched conditionals and b) by showing all numeric substitutions to the symbolic form.

Plus, Latexify-py has more sophisticated code by working directly on the ast (~200 lines of code: amazing!). handcalcs is over 2000 lines of code and is operating on nested lists generated from pyparsing.

from latexify_py.

odashi avatar odashi commented on April 28, 2024

Yeah that's the point!

I also guess we can possibly have some cooperation on similar functionalities. I am roughly thinking of separating LaTeX code generator and its printer on Jupyter from the current AST parser to increase portability. It may be worthy for other tools relying on LaTeX too. (ironically it may increase LOCs from 200 πŸ™ƒ )

from latexify_py.

odashi avatar odashi commented on April 28, 2024

This is a general discussion, would like to close it for now.

from latexify_py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.