Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 673 Bytes

README.org

File metadata and controls

28 lines (21 loc) · 673 Bytes

wolfram-mode

wolfram-mode.el

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))

ob-wolfram.el

Evaluate source blocks with org babel

Solve[2x + 1 == 5, x]
{{x -> 2}}