Re:Forscape – A Language and Editor for Scientific Computation
by narcraft on Thursday October 17, 2024 @02:26AM
(#41866945)
Here's a matrix-focused DSL that compiles to LaTeX, MATLAB, Python/NumPy or C++/Eigen:
Not exactly wysiwyg typeset coding, but a close concept, compiling relatively more legible equations to code
Re:Forscape – A Language and Editor for Scientific Computation
by wiz21c on Thursday October 17, 2024 @08:36AM
(#41869067)
I get that, sure. But the language forscape proposes will soon need to be a general one if one wants to do big projects with it.
(And I'd love to rewrite my simulation code with something like forscape, because then the math code would appear as such and not as a mubojumbo of numpy operations)...
Re:Forscape – A Language and Editor for Scientific Computation
by cryptonector on Thursday October 17, 2024 @11:15AM
(#41870439)
Yes. I've a feeling that something like Forscape + something like Jupyter, and maybe something like LyX, might make the right combo.
So then you have two options:
Forscape is a third option, perhaps more akin to a Jupyter-style notebook, where you write equations and text but you can "run" those equations. Literate programming isn't quite this, not unless you automatically get codegen from your equations.