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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: transpiler #54

Open
brysgo opened this issue Dec 19, 2017 · 1 comment
Open

Feature: transpiler #54

brysgo opened this issue Dec 19, 2017 · 1 comment

Comments

@brysgo
Copy link

brysgo commented Dec 19, 2017

These explanations are really cool, thanks for this. It turns something abstract into something tangible that a developer can play with. To build on this, I would love to see a transpiler that leverages these explanations to turn mathematics into executable javascript, and potentially turn executable javascript into mathematical notation. It would go a long way towards demystifying scientific research for the layprogrammer.

@brysgo
Copy link
Author

brysgo commented Dec 19, 2017

You would probably need to use something like LaTeX to write the math part. But I can imagine having an es6 template string tag that parses latex into executable javascript. I can also imagine an editor plugin that renders the LaTeX inline when you unfocus the template string.

I found a project that is parsing LaTeX into a math runtime: https://github.com/viktorstrate/algebra-latex I imagine it can either be expanded using the insights in this project, or a similar approach can be taken to create something new.

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

1 participant