Clone project into source-dir
and configure init.el
(use-package wolfram-mode :ensure nil
:load-path "source-dir"
:mode ("\\.m\\'" . wolfram-mode)
:init (lambda ()
(org-babel-do-load-languages 'org-babel-load-languages
(append org-babel-load-languages '((wolfram . t))))
(setq wolfram-program "/usr/local/bin/math"
wolfram-path "~/.WolframEngine/Applications"))
:config (require 'ob-wolfram))
Evaluate source blocks with org babel
Solve[2x + 1 == 5, x]
{{x -> 2}}