←back to thread

105 points faresahmed | 1 comments | | HN request time: 0.204s | source
Show context
wiz21c ◴[] No.41856874[source]
Why a new language ? Honest question ? Couldn't it be done on top of say, Julia ? The typography thing is really cool, but having to code in yet another MatLab-clone is a bit annoying (or maybe I'm missing the point)
replies(1): >>41859557 #
cryptonector ◴[] No.41859557[source]
If you have a very complex equation then it will be a lot easier to read it and think about it if it's typeset correctly than if it's written in monospaced ASCII in Julia/Python/Java/C++/Rust/Haskell/Whatever.

So then you have two options:

  - compile the typeset equation to code

  - hand-code the equation
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.
replies(2): >>41866945 #>>41869067 #
1. narcraft ◴[] No.41866945[source]
Here's a matrix-focused DSL that compiles to LaTeX, MATLAB, Python/NumPy or C++/Eigen:

https://iheartla.github.io/

Not exactly wysiwyg typeset coding, but a close concept, compiling relatively more legible equations to code