emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Help with tangling a table into a source-code representation of


From: Grant Rettke
Subject: Re: [O] Help with tangling a table into a source-code representation of the data contained within
Date: Tue, 25 Feb 2014 23:21:26 -0600

This seems like a fine option:

#+name: mode_data
| mode       | paredit | auto-save |
|------------+---------+-----------|
| scheme     | TRUE    | TRUE      |
| emacs-lisp | TRUE    | TRUE      |
| ielm       | TRUE    | FALSE     |

#+begin_src emacs-lisp :var data="" :exports results :file modes.json
  (require 'json)
  (json-encode data)
#+end_src

JSON because I will probably use it a few different ways, and most langs today handle JSON just fine.


On Tue, Feb 25, 2014 at 10:41 PM, Grant Rettke <address@hidden> wrote:
Thanks everyone.

My tentative plan is to run some elisp that will dump the table to an
intermediate file and then dependent files may load it themselves.



--
Grant Rettke | ACM, AMA, COG, IEEE
address@hidden | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]