Re:Black Hole Tech?
by davesque on Tuesday February 23, 2016 @05:52PM
(#11163018)
I agree. I actually love Mathematica and the Wolfram Language but its main problem is the lack of any convenient ways to package it, track it in git, edit it in vim, etc. I spent some time investigating how to do that but it all just seemed really opaque and complicated. That's one of the risks of using proprietary software, I suppose.
[ Parent
| on HN ]
You can do that with packages but not (at least not easily and conveniently) with notebooks. So basically your functions can reside in a package, but your computation has to reside inside notebooks.
It is possible to write notebooks directly in a text editor and then have them run. That just gave me an idea for a weekend project...
I'm sure it's possible, but is it straight-forward how you're supposed to do this properly? And is there any way to access the Wolfram kernel from the command-line (like a python executable)?
Update: I guess I owe the Wolfram Language another look.
Yes, you can use the kernel from the command line:
https://reference.wolfram.com/language/tutorial/UsingATextBa...
https://reference.wolfram.com/language/tutorial/WolframLangu...