Giter Club home page Giter Club logo

ob-elm's Introduction

ob-elm

License: GPL v3 MELPA

This is an Emacs library that adds Org-Babel support for evaluating Elm code. Use of Elm > 0.19 is recommended.

Evaluating Elm

Installation

You can download ob-elm from MELPA by running:

M-x package-install RET ob-elm RET

You could use the GitHub repository:

git clone https://github.com/BonfaceKilz/ob-elm

Add (elm . t) to your org-babel-do-load-languages:

(org-babel-do-load-languages
   'org-babel-load-languages
   '((elm . t)))

ob-elm's People

Contributors

bonfacekilz avatar sturgman avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ob-elm's Issues

Is it possible?

Hi, This is Alexander from Ghana,

is it possible to embed a full elm executable code, and compile it as Js and Html in Org-mode?

what available approaches do you suggest?

Fix package-lint errors/ warnings

Here are the errors/ warnings:

22 issues found:

1:0: error: package.el cannot parse this buffer: Search failed: ";;; ob-elm.el ends here"
6:3: warning: You should include standard keywords: see the variable `finder-known-keywords'.
37:10: error: You should depend on (emacs "24.1") if you need `ob'.
50:0: error: "org-babel-elm-eoe" doesn't start with package's prefix "ob-template".
58:15: error: You should depend on (emacs "24.3") if you need `setq-local'.
62:21: error: You should depend on (emacs "24.1") if you need `org-babel-expand-body:generic'.
68:15: error: You should depend on (emacs "24.1") if you need `org-babel-comint-with-output'.
78:7: error: You should depend on (emacs "24.4") if you need `org-babel-result-cond'.
79:16: error: You should depend on (emacs "24.1") if you need `org-babel-script-escape'.
81:5: error: You should depend on (emacs "24.1") if you need `org-babel-reassemble-table'.
83:13: error: You should depend on (emacs "24.1") if you need `pcase'.
86:8: error: You should depend on (emacs "24.4") if you need `org-babel-result-cond'.
87:17: error: You should depend on (emacs "24.1") if you need `org-babel-script-escape'.
88:6: error: You should depend on (emacs "24.1") if you need `org-babel-pick-name'.
90:6: error: You should depend on (emacs "24.1") if you need `org-babel-pick-name'.
100:11: error: You should depend on (emacs "26.1") if you need `org-babel--get-vars'.
102:0: error: "org-babel-elm-initiate-session" doesn't start with package's prefix "ob-template".
109:0: error: "org-babel-load-session:elm" doesn't start with package's prefix "ob-template".
109:0: error: `org-babel-load-session:elm' contains a non-standard separator `:', use hyphens instead (see Elisp Coding Conventions).
113:31: error: You should depend on (emacs "24.1") if you need `org-babel-temp-file'.
124:7: error: You should depend on (emacs "24.1") if you need `org-babel-comint-in-buffer'.
131:0: error: "org-babel-elm-var-to-elm" doesn't start with package's prefix "ob-template".

Use standard keywords

Address this warning raised when running M-x package-lint-current-buffer

6:3: warning: You should include standard keywords: see the variable `finder-known-keywords'.
<snip>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.