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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Similar to handcalcs? #25

Closed
connorferster opened this issue Aug 26, 2020 · 5 comments
Closed

Similar to handcalcs? #25

connorferster opened this issue Aug 26, 2020 · 5 comments

Comments

@connorferster
Copy link

Hi folks,

It seems we have similar projects! 馃槃

https://github.com/connorferster/handcalcs

@1MLightyears
Copy link
Contributor

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.

@odashi
Copy link
Collaborator

odashi commented Sep 7, 2020

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.

@connorferster
Copy link
Author

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.

@odashi
Copy link
Collaborator

odashi commented Sep 11, 2020

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 馃檭 )

@odashi
Copy link
Collaborator

odashi commented Oct 21, 2022

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

@odashi odashi closed this as not planned Won't fix, can't repro, duplicate, stale Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants