Re: Web meeting series: data visualization and literate programming

2019-09-01 Thread Daniel Slutsky
e data visualization and literate programming with Hanami: > > https://twitter.com/scicloj/status/1164887113680281600 > > On Sat, 10 Aug 2019 at 21:39, Daniel Slutsky > wrote: > >> Here is the video of yesterday's meeting, with Christopher Small's talk >> about Oz: >>

Re: Web meeting series: data visualization and literate programming

2019-08-23 Thread Daniel Slutsky
Preparing to the meeting next week, with Jon Anthony 's talk about interactive data visualization and literate programming with Hanami: https://twitter.com/scicloj/status/1164887113680281600 On Sat, 10 Aug 2019 at 21:39, Daniel Slutsky wrote: > Here is the video of yesterday's meet

Re: Web meeting series: data visualization and literate programming

2019-08-10 Thread Daniel Slutsky
status/1157646172770721798 > > On Fri, 19 Jul 2019 at 23:28, Daniel Slutsky > wrote: > >> Hi. >> >> In August, the Scicloj <https://twitter.com/scicloj> community will >> begin a series of web meetings about data visualization and literate >> program

Re: Web meeting series: data visualization and literate programming

2019-08-03 Thread Daniel Slutsky
eetings about data visualization and literate programming > in Clojure. > > > On the first meeting, Friday, Aug 9th, 5pm-7pm UTC, @Christopher_Smallwill > talk > about Oz <https://github.com/metasoarous/oz>. > > > If you are interested in this series, it

Web meeting series: data visualization and literate programming

2019-07-19 Thread Daniel Slutsky
Hi. In August, the Scicloj <https://twitter.com/scicloj> community will begin a series of web meetings about data visualization and literate programming in Clojure. On the first meeting, Friday, Aug 9th, 5pm-7pm UTC, @Christopher_Smallwill talk about Oz <https://github.com/metas

Re: I created a package ob-clojure-literate for Clojure Literate Programming in Org-mode

2018-01-04 Thread numbch...@gmail.com
After @bbatsov's explaination. I think he is right. I'm considering to improve my solution. Might will be available soon. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4

Re: I created a package ob-clojure-literate for Clojure Literate Programming in Org-mode

2018-01-04 Thread numbch...@gmail.com
If you got any problem after use and test, GitHub issues and PR welcome. Thanks. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog:

Re: I created a package ob-clojure-literate for Clojure Literate Programming in Org-mode

2018-01-04 Thread numbch...@gmail.com
No, I asked Clojure ML, and posted an issue on clojure-mode GitHub issues. I need to find a workaround on myself. You can check out the discussion here https://github.com/clojure-emacs/clojure-mode/pull/465. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner

I created a package ob-clojure-literate for Clojure Literate Programming in Org-mode

2018-01-04 Thread numbch...@gmail.com
I created a package ob-clojure-literate for Clojure Literate Programming in Org-mode. Welcome to use it and add PR. https://github.com/stardiviner/ob-clojure-literate I still have two features not implemented. Hope someone will PR. Thanks very much. [stardiviner] GPG key ID

Re: Heidegger, literate programming, and communication

2014-05-22 Thread u1204
Gregg and Gary, I understand where you are coming from. Indeed, Maturana [0] is on your side of the debate. Since even the philosophers can't agree, I doubt we will find a common ground. Unfortunately, I've decided to take on the task of documenting the Clojure internals because, yaknow, *I*

Re: Heidegger, literate programming, and communication

2014-05-22 Thread Gregg Reynolds
Howdy Tim, On Thu, May 22, 2014 at 1:16 AM, u1204 d...@axiom-developer.org wrote: Gregg and Gary, I understand where you are coming from. Indeed, Maturana [0] is on your side of the debate. Since even the philosophers can't agree, I doubt we will find a common ground. Ah, but

Re: Heidegger, literate programming, and communication

2014-05-22 Thread Andy Fingerhut
On Wed, May 21, 2014 at 11:16 PM, u1204 d...@axiom-developer.org wrote: Heck, it is only 4 lines of C++. Why bother? *I* can read C++. I can even reverse engineer it (probably by inventing the diagram in Figure 2.7 on a napkin). Maybe it lives in the src/SamRecon/StratSam, which is all the

Re: Heidegger, literate programming, and communication

2014-05-22 Thread Tim Daly
Forward from Ralf Hemmecke: On 05/22/2014 11:21 AM, Gregg Reynolds wrote: I can tell you I would rather maintain the four lines of C++ without the largely useless commentary. That's a simple AXIOM program, but I'm sure one can easily translate it into any programming language. foo(a:

Re: Heidegger, literate programming, and communication

2014-05-22 Thread Tim Daly
Tim, as someone already mentioned, the multi-page Java code you posted from the Clojure core is actually one file from the Java ASM library, copied into the Clojure Github repository from one version of that library available from here: Hmmm, I didn't see that in the documentation :-) Thanks for

Re: [Axiom-developer] Heidegger, literate programming, and communication

2014-05-22 Thread Tim Daly
PS I have many chunks of code that I wrote 20-30 years ago and I have no idea why and what the code was written for even after reading each line of the code This is what got me interested in literate programming. Axiom was written at IBM as research code, mostly by people trying to get

Re: Heidegger, literate programming, and communication

2014-05-22 Thread Mars0i
Tim, Your project of LP'ing the Clojure internals is not at all inconsistent with my view. That is code that would benefit from being widely understood, even by people who won't maintain it. I learned a lot from reading the Lions book on an early version of Unix, even though I probably

Re: [Axiom-developer] Heidegger, literate programming, and communication

2014-05-22 Thread Gary Johnson
) are churning out some pretty neat looking tools to make LP easier to do in the Clojure world. I for one would love to see more lively discussion around that and not feel like we're just bear-baiting whenever we mention the forbidden paradigm of Literate Programming. My 2c, ~ (the actual

Re: Heidegger, literate programming, and communication

2014-05-22 Thread Andy Fingerhut
On Thu, May 22, 2014 at 11:05 AM, Tim Daly d...@axiom-developer.org wrote: Tim, as someone already mentioned, the multi-page Java code you posted from the Clojure core is actually one file from the Java ASM library, copied into the Clojure Github repository from one version of that library

Re: Heidegger, literate programming, and communication

2014-05-22 Thread daly
I know Clojure doesn't have all the documentation many would like, but Tim, this bit of info is in readme.txt, and the first 3 lines of every source file from the library :-) Touche! +2 points to you! I love it when my oh-so-noisy self gets skewered by facts! :-) Tim Daly -- You received this

Re: [Axiom-developer] Heidegger, literate programming, and communication

2014-05-22 Thread Mars0i
On Thursday, May 22, 2014 4:05:58 PM UTC-5, Gary Johnson wrote: Hi folks, I suspect I'm the Gary that Tim thought he was referring to since I've posted on several of his other LP-related threads (though not this one until now). I cede the name Gary to Gary. But really, at the

Re: [Axiom-developer] Heidegger, literate programming, and communication

2014-05-22 Thread Gary Johnson
On Thursday, May 22, 2014 6:20:39 PM UTC-4, Mars0i wrote: On Thursday, May 22, 2014 4:05:58 PM UTC-5, Gary Johnson wrote: Hi folks, I suspect I'm the Gary that Tim thought he was referring to since I've posted on several of his other LP-related threads (though not this one until now).

Heidegger, literate programming, and communication

2014-05-21 Thread daly
the author to the audience is the underlying theme of literate programming. Knuth's point is about communication, not about the machinery of communication. The question is, to what audience, not how. Discussions seem to get lost in a debate about the machinery rather than the goal. We focus our

Re: Heidegger, literate programming, and communication

2014-05-21 Thread Gregg Reynolds
is the underlying theme of literate programming. Knuth's point is about communication, not about the machinery of communication. The question is, to what audience, not how. I'm not sure what machinery of communication means. It's not something I ever think about when I'm programming; in fact I never

Re: Heidegger, literate programming, and communication

2014-05-21 Thread Mars0i
with the machine. Scratch any programmer, interview at any company, listen to any talk, and you find machinery. But communication from the author to the audience is the underlying theme of literate programming. Knuth's point is about communication, not about the machinery of communication. The question

Re: Heidegger, literate programming, and communication

2014-05-21 Thread Mars0i
the former but can help the latter. The same thing goes for literate programming, but--it depends on your goals and your human audience. 4. Two examples to convey the context-dependence of appropriate configuration schemes: A. One time I wrote a small but slightly complex bit of code (in Perl

Re: Heidegger, literate programming, and communication

2014-05-21 Thread Gregg Reynolds
the code is doing. Comments hurt the former but can help the latter. The same thing goes for literate programming, but--it depends on your goals and your human audience. 4. Two examples to convey the context-dependence of appropriate configuration schemes: A. One time I wrote a small

Re: Rethinking Literate Programming

2014-05-11 Thread Gary Johnson
Emacs org-mode provides a markdown-like language, which can be organized into a foldable outline (e.g., chapters, sections, subsections, subsubsections). Syntax is provided for headers, ordered/unordered lists, tables, inline images/figures, hyperlinks, footnotes, and (most importantly for LP)

Re: Rethinking Literate Programming

2014-05-10 Thread Mars0i
anywhere. (b) Literate programming. Of course long chunks of text are needed to explain algorithms, motivation, paths not taken, etc. Literate programming requires that those chunks be inserted into the source file, and that you have to run the source file through a filter to get rid of them

Re: Rethinking Literate Programming

2014-05-10 Thread u1204
text anywhere. (b) Literate programming. Actually, lisp has a long tradition of semicolon-style comments where Chapter ;;; Section ;; Subsection ;Paragraph or inline With some Emacs hacking it would be possible to fold/unfold these comments. I worked on a Transputer editor that had

Re: Rethinking Literate Programming

2014-05-09 Thread Erlis Vidal
Guys, you really are into the Literate part, those emails are huge! let me catch up and then I'll reply... Interesting discussion! On Thu, May 8, 2014 at 4:59 PM, Mark Engelberg mark.engelb...@gmail.comwrote: On Thu, May 8, 2014 at 11:02 AM, Mark Engelberg mark.engelb...@gmail.comwrote:

Re: Rethinking Literate Programming

2014-05-09 Thread Erlis Vidal
In the past I've used a java tool to write acceptance tests. Concordion [ http://concordion.org/]. The idea is simple yet effective. You write your documentation in HTML, and later you can run your code that will interact with that documentation and generate a new documentation, marking the

Re: Rethinking Literate Programming

2014-05-09 Thread Gregg Reynolds
On Fri, May 9, 2014 at 8:33 AM, Erlis Vidal er...@erlisvidal.com wrote: In the past I've used a java tool to write acceptance tests. Concordion [ http://concordion.org/]. The idea is simple yet effective. You write your documentation in HTML, and later you can run your code that will interact

Re: Rethinking Literate Programming

2014-05-09 Thread Erlis Vidal
I've always seen this to document what the system does, as a way to gather requirements. And the name used is similar to what you propose. Live Specification or Specification by Example among other names. It never occurred to me that this could be used for API documentation, and I'm a completely

Re: Rethinking Literate Programming

2014-05-09 Thread Gary Johnson
outputs. A literate programming style not only helps me to organize my thoughts better (both hierarchically and sequentially), but it provides me with a living (tangled) document that I can share with my non-programmer colleagues to get their domain-specific feedback about my choice of model

Re: Rethinking Literate Programming

2014-05-09 Thread u1204
With respect to documentation of open source software... You keep using that word. I don't think it means what you think it means. -- The Princess Bride The notion that reading the code is the ultimate truth for documentation is based on a misunderstanding at so many levels it is hard to

Rethinking Literate Programming

2014-05-08 Thread Gregg Reynolds
that his choice of literate programming as the name of his new method was tongue in cheek, since it makes anybody who doesn't use it an illiterate programmer. (The citation is in one of the essays in his book Literate Programming.) So maybe we should stop using it and come up with a more accurate name

Re: Rethinking Literate Programming

2014-05-08 Thread Gregg Reynolds
started ( https://groups.google.com/forum/?hl=en#!topic/clojure/oh_bWL9_jI0) is getting a little long so I'm starting a related one specific to litprog. I've made a start on rethinking LP at https://github.com/mobileink/codegenres/wiki/Rethinking-Literate-Programming . A few key points

Re: Rethinking Literate Programming

2014-05-08 Thread Mark Engelberg
Greg, I can tell by the amount of work you've put into this document that this is an earnest attempt at analysis and not trolling, so I'm going to give you my earnest response: you are wrong on so many levels. First, you seem to have several misconceptions about literate programming in general

Re: Rethinking Literate Programming

2014-05-08 Thread u1204
is there any answer to why?. A literate programming style isn't really the issue. The loss of why? is the issue. Answering why? means that you have to build up the background problem so people can understand why? the code is a solution. In other words, you need to communicate the ideas in some linear

Re: Rethinking Literate Programming

2014-05-08 Thread u1204
For example, did you know that the book/literate program Physically Based Rendering recently won a Scientific and Technical Academy Award? (Yes, that's right, a literate program won an Academy Award -- the Hollywood movie kind.) An awesome book, by the

Re: Rethinking Literate Programming

2014-05-08 Thread Mark Engelberg
On Thu, May 8, 2014 at 11:02 AM, Mark Engelberg mark.engelb...@gmail.comwrote: In fact, Clojure has a number of features that actively hurt its expressiveness relative to other modern languages: BTW, that list was by no means exhaustive. In the past couple of hours I've thought of a couple

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-14 Thread Gary Johnson
Yep. Thanks for the patch, Ben. I had set org-babel-default-header-args:clojure to '((:noweb . tangle)) in my .emacs, so I was getting the benefit of automatic noweb expansion when tangling (but not weaving). It's all fun and games until you break someone else's setup! ;) ~Gary On

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-12 Thread Denis Labaye
On Tue, Sep 11, 2012 at 10:13 PM, Gary Johnson gwjoh...@uvm.edu wrote: I just put together a simple example repo on GitHub, containing a literate programming solution to the Potter Kata ( http://codingdojo.org/cgi-bin/wiki.pl?KataPotter) using Emacs' org-babel mode. You can check it out here

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-12 Thread Ben Mabey
a literate programming solution to the Potter Kata (http://codingdojo.org/cgi-bin/wiki.pl?KataPotter) using Emacs' org-babel mode. You can check it out here: https://github.com/lambdatronic/org-babel-example Also be sure to take a look at the canonical online org-babel docs: http://orgmode.org

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-12 Thread Ben Mabey
On 9/12/12 9:29 PM, Ben Mabey wrote: Thanks for the great example Gary! I've been meaning to try org-babel out for a while but never got around to it. I just tried your example and when I run org-babel-tangle the code blocks are not expanded into the source file, but rather the code block

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-11 Thread Gary Johnson
I just put together a simple example repo on GitHub, containing a literate programming solution to the Potter Kata (http://codingdojo.org/cgi-bin/wiki.pl?KataPotter) using Emacs' org-babel mode. You can check it out here: https://github.com/lambdatronic/org-babel-example Also be sure

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-11 Thread Giorgio Valoti
Il giorno 07/set/2012, alle ore 15:45, lambdatronic ha scritto: Thanks, Tim. This looks great. For those of you who don't want to go digging through the thread, here's the summary: Step 1. Download nrepl-0.1.4-preview from Marmalade or MELPA (depends on clojure-mode 1.11). Step 2.

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-08 Thread Denis Labaye
On Thu, Sep 6, 2012 at 6:42 PM, lambdatronic gwjoh...@uvm.edu wrote: For those people (like myself) who do a lot of Literate Programming in Emacs using Clojure and org-babel, migrating to nrepl and nrepl.el is somewhat non-trivial. This is because the existing Clojure support in org-babel (ob

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-07 Thread lambdatronic
Thanks, Tim. This looks great. For those of you who don't want to go digging through the thread, here's the summary: Step 1. Download nrepl-0.1.4-preview from Marmalade or MELPA (depends on clojure-mode 1.11). Step 2. Add this code to your .emacs file: ;; Patch ob-clojure to work with nrepl

Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-06 Thread lambdatronic
For those people (like myself) who do a lot of Literate Programming in Emacs using Clojure and org-babel, migrating to nrepl and nrepl.el is somewhat non-trivial. This is because the existing Clojure support in org-babel (ob-clojure.el) relies on slime and swank-clojure when running org-babel

Re: Literate Programming in org-babel (ob-clojure.el) is broken under nrepl.el

2012-09-06 Thread Tim King
On Thu, Sep 6, 2012 at 9:42 AM, lambdatronic gwjoh...@uvm.edu wrote: For those people (like myself) who do a lot of Literate Programming in Emacs using Clojure and org-babel, migrating to nrepl and nrepl.el is somewhat non-trivial. This is because the existing Clojure support in org-babel (ob

Re: Literate programming in emacs - any experience?

2012-03-22 Thread daly
. You might find this of interest: Literate Programming example with Clojure http://youtu.be/mDlzE9yy1mk It is a quick video of my normal literate programming workflow (ignoring the usual git commits) It shows 3 things: 1) Extracting Clojure from the book and rebuilding the book PDF 2) adding

Re: Literate programming in emacs - any experience?

2012-03-22 Thread Michael O'Keefe
to extract source from a literate file. I had always been intrigued by literate programming and your post especially inspired me to try it out. I've now written a substantial amount of my project in Clojure in the literate style. I'm using the HTML version of the literate syntax + markdown and writing

Re: Literate programming in emacs - any experience?

2012-03-21 Thread martin_clausen
excellent resources on this mailing list regarding literate resources, but they are more based around the theory rather than actual use. Has anybody got any real world usage reports regarding using literate programming in emacs? In particular, does paredit and slime work inside

Re: Literate programming in emacs - any experience?

2012-03-20 Thread Tim Dysinger
UTC-10, Colin Yates wrote: Hi all, There are some excellent resources on this mailing list regarding literate resources, but they are more based around the theory rather than actual use. Has anybody got any real world usage reports regarding using literate programming in emacs

Re: Literate programming in emacs - any experience?

2012-03-18 Thread daly
that the source and PDF are at: src: http://daly.axiom-developer.org/clojure.pamphlet pdf: http://daly.axiom-developer.org/clojure.pdf I have a quick video of my normal literate programming workflow (ignoring the usual git commits). It shows 3 things: 1) Extracting Clojure from the book and rebuilding

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Sam Aaron
On 30 Jan 2012, at 17:07, daly wrote: The key result was that I discovered what I call my personal irreducible error rate. If I do 100 things I will make 3 errors. This was independent of the task. So typing 100 characters has 3 wrong letters which were mostly caught while typing. Writing

Re: Literate programming in emacs - any experience?

2012-02-01 Thread daly
the root cause. Then I try to change what I do so the mistake cannot exist. This changes the type of possible errors but the 3% is still there. I just make more sophisticated, higher level errors. I am hoping that Literate Programming will raise my errors to truly epic proportions :-) One of my

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Hugo Duncan
Colin Yates colin.ya...@gmail.com writes: Has anybody got any real world usage reports regarding using literate programming in emacs? In particular, does paredit and slime work inside the clojure fragments when using org.babel for example? For the update in Pallet docs [1], we've been

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Mark Engelberg
On Wed, Feb 1, 2012 at 5:38 AM, Hugo Duncan duncan.h...@gmail.com wrote: SLIME works fully within the code blocks. For example C-x C-e can be used to evaluate expressions. Paredit also works. My understanding is that unless you use C-c C-k to evaluate the entire file (which I don't think works

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Hugo Duncan
Mark Engelberg mark.engelb...@gmail.com writes: On Wed, Feb 1, 2012 at 5:38 AM, Hugo Duncan duncan.h...@gmail.com wrote: SLIME works fully within the code blocks. For example C-x C-e can be used to evaluate expressions. Paredit also works. My understanding is that unless you use C-c C-k to

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Fogus
I would love to see your .emacs setup around these tools. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Hugo Duncan
Fogus mefo...@gmail.com writes: I would love to see your .emacs setup around these tools. I'll put together a blog post - my .emacs files could do with a cleanup, so this sounds like a good excuse to get it done. -- You received this message because you are subscribed to the Google Groups

Re: Literate programming in emacs - any experience?

2012-01-30 Thread daly
them in detail with an eye toward finding what I know is there. Literate programming is both a source of errors and a help. It is a source of errors because I have more typing to do and will generate bad latex and meaningless sentences, as well as the standard coding errors. So in some sense I

Re: Literate programming in emacs - any experience?

2012-01-28 Thread Ulises
Here's a paper that might be interesting to folk discussing in this thread: http://www.jstatsoft.org/v46/i03/paper Cheers U -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts

Re: Literate programming in emacs - any experience?

2012-01-28 Thread Folcon
Hi Tim, Personally if you have done or would be interested in doing a quick vid cast of how you progress through your workflow, I think that would be very interesting. Regards, Folcon -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Re: Literate programming in emacs - any experience?

2012-01-28 Thread daly
On Sat, 2012-01-28 at 06:51 -0800, Folcon wrote: Hi Tim, Personally if you have done or would be interested in doing a quick vid cast of how you progress through your workflow, I think that would be very interesting. Sort of extreme pair programming with everybody? :-) There is no such

Re: Literate programming in emacs - any experience?

2012-01-28 Thread Colin Yates
I know I would find it incredibly helpful, and would consider paying a token sum of money (£5?)... On 28 January 2012 15:04, daly d...@axiom-developer.org wrote: On Sat, 2012-01-28 at 06:51 -0800, Folcon wrote: Hi Tim, Personally if you have done or would be interested in doing a quick

Re: Literate programming in emacs - any experience?

2012-01-28 Thread daly
On Sat, 2012-01-28 at 15:27 +, Colin Yates wrote: I know I would find it incredibly helpful, and would consider paying a token sum of money (£5?)... An amusing thought but no thanks. Buy yourself a pint and swear you'll at least try to write your next program in some form of literate

Re: Literate programming in emacs - any experience?

2012-01-28 Thread Colin Yates
: I know I would find it incredibly helpful, and would consider paying a token sum of money (£5?)... An amusing thought but no thanks. Buy yourself a pint and swear you'll at least try to write your next program in some form of literate programming. At the next conj I'll buy you a pint

Re: Literate programming in emacs - any experience?

2012-01-28 Thread Folcon
I think I could live with that :)... -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe

Re: Literate programming in emacs - any experience?

2012-01-24 Thread Colin Yates
The topic is literate programming in emacs, not eclipse ;). The trivial amount of Clojure I have done so far has all been in emacs and letting go of paredit, slime, and emacs in general is already pretty hard! On 24 January 2012 03:06, daly d...@axiom-developer.org wrote: For Eclipse I

Re: Literate programming in emacs - any experience?

2012-01-24 Thread Stuart Sierra
With a little hacking, org-babel works with Clojure editing evaluation in SLIME. I've been using it to write Clojure training materials. You need the latest versions of org-mode, SLIME, and clojure-mode. My .emacs has the relevant elisp snippets. http://github.com/stuartsierra/dotfiles -S

Re: Literate programming in emacs - any experience?

2012-01-24 Thread Colin Yates
Thanks Stuart. On 24 January 2012 14:18, Stuart Sierra the.stuart.sie...@gmail.com wrote: With a little hacking, org-babel works with Clojure editing evaluation in SLIME. I've been using it to write Clojure training materials. You need the latest versions of org-mode, SLIME, and

Literate programming in emacs - any experience?

2012-01-23 Thread Colin Yates
Hi all, There are some excellent resources on this mailing list regarding literate resources, but they are more based around the theory rather than actual use. Has anybody got any real world usage reports regarding using literate programming in emacs? In particular, does paredit and slime

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Sam Ritchie
use. Has anybody got any real world usage reports regarding using literate programming in emacs? In particular, does paredit and slime work inside the clojure fragments when using org.babel for example? Finally - how are people finding practising TDD with literate programming? I imagine

Re: Literate programming in emacs - any experience?

2012-01-23 Thread daly
programming in emacs? In particular, does paredit and slime work inside the clojure fragments when using org.babel for example? I've been using literate programming for years in Axiom. Basically I write in a buffer containing latex, my literate tool of choice. I have a *shell* buffer open running

Re: Literate programming in emacs - any experience?

2012-01-23 Thread daly
On Mon, 2012-01-23 at 07:18 -0800, Sam Ritchie wrote: I've been wondering this as well -- I'm specifically curious about how one might jump back and forth between literate source like this and the REPL. I know you can evaluate code snippets into the repl; I'm thinking of early steps like

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Mark Engelberg
On Mon, Jan 23, 2012 at 5:14 AM, Colin Yates colin.ya...@gmail.com wrote: Has anybody got any real world usage reports regarding using literate programming in emacs?  In particular, does paredit and slime work inside the clojure fragments when using org.babel for example? I had major problems

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Colin Yates
Excellent - very nice! -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Cedric Greevey
On Mon, Jan 23, 2012 at 11:19 AM, daly d...@axiom-developer.org wrote: It accepts either noweb syntax for chunks, as in:    chunkname=      (this is lisp code)    @ A rather unfortunate choice of delimiter if you wanted to use this with Clojure code, since Clojure code frequently has internal

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Andy Fingerhut
I've only briefly scanned what I think is the relevant code in tangle.lisp posted by Tim Daly, but it appears that the @ must be the first character on a line, which with indenting I've never seen in a Clojure source file. It would be a tiny change to make the @ required to be on a line by itself,

Re: Literate programming in emacs - any experience?

2012-01-23 Thread daly
On Mon, 2012-01-23 at 16:17 -0500, Cedric Greevey wrote: On Mon, Jan 23, 2012 at 11:19 AM, daly d...@axiom-developer.org wrote: It accepts either noweb syntax for chunks, as in: chunkname= (this is lisp code) @ A rather unfortunate choice of delimiter if you wanted to use

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Cedric Greevey
On Mon, Jan 23, 2012 at 6:23 PM, daly d...@axiom-developer.org wrote: On Mon, 2012-01-23 at 16:17 -0500, Cedric Greevey wrote: On Mon, Jan 23, 2012 at 11:19 AM, daly d...@axiom-developer.org wrote: It accepts either noweb syntax for chunks, as in:    chunkname=      (this is lisp code)  

Re: Literate programming in emacs - any experience?

2012-01-23 Thread daly
and Literate much more useful to Eclipse users. Based on CCW, or a de novo effort? Ah. I was unaware of CCW although it has been mentioned here. I don't use Eclipse. I was just following the principle that advocacy is volunteering and, since I'm advocating doing literate programming and the topic

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Cedric Greevey
and, since I'm advocating doing literate programming and the topic is literate Clojure under Eclipse, I felt I needed to set up some kind of solution. I try to implement what I advocate (e.g. showing tangle for lisp code and HTML code). Otherwise I'd be expecting someone else to do stuff I

Re: Literate Programming in Emacs?

2012-01-13 Thread Stuart Sierra
I was able to get org-babel evaluation working with Clojure. Requires latest versions of Clojure mode, Org mode, and Lein. Check out my dotfiles repo for examples. https://github.com/stuartsierra/dotfiles -S -- You received this message because you are subscribed to the Google Groups Clojure

Re: Literate Programming in Emacs?

2012-01-13 Thread Phil Hagelberg
Andrew ache...@gmail.com writes: Eric asks: The only function ob-clojure uses from swank-clojure is swank:interactive-eval-region' (used with `slime-eval') in the org-babel-execute:clojure' function. Which function would now be used to evaluate a region of clojure code? Would

Re: Literate Programming in Emacs?

2012-01-12 Thread Andrew
I found [1] from Eric Schulte which says to add certain package archives such that ELPA finds swank-clojure... But what about the swank-clojure elisp package being deprecated? (By the way, I do get further now... the clojure code evaluates) (setq package-archives '((original.

Re: Literate Programming in Emacs?

2012-01-12 Thread Phil Hagelberg
Andrew ache...@gmail.com writes: I found [1] from Eric Schulte which says to add certain package archives such that ELPA finds swank-clojure... But what about the swank-clojure elisp package being deprecated? swank-clojure.el is definitely deprecated, but there could still be code out there

Re: Literate Programming in Emacs?

2012-01-12 Thread Andrew
Eric asks: The only function ob-clojure uses from swank-clojure is `swank:interactive-eval-region' (used with `slime-eval') in the `org-babel-execute:clojure' function. Which function would now be used to evaluate a region of clojure code? Would `slime-eval-region' suffice? -- You received

Re: Literate Programming in Emacs?

2012-01-11 Thread Andrew
As you know, now I get org-babel-execute:clojure:Cannot open load file: swank-clojure The method org-babel-execute:clojure in my .emacs.d/elpa/org-2029/ob-clojure.el file says (require 'swank-clojure). Given that the swank-clojure elisp package is deprecated and should not be used what

Re: Literate programming

2011-12-26 Thread Jay Edwards
fine for a Clojure project. J. On Dec 22, 2011, at 10:14 PM, daly wrote: On Thu, 2011-12-22 at 17:53 -0800, nchurch wrote: Firstly, there really needs to be something like a Github for literate programming. What a great idea! I'll see what I can do. Tim Daly -- You received

Re: Literate Programming

2011-12-24 Thread daly
. in the database schema) or a program bug lurks. The meta-issue is distinguishing communication from documentation. Literate programming is about communication, not documentation. Write with your audience in mind and assume that the audience is NOT your shower committee (a shower committee

Re: Literate programming

2011-12-23 Thread daly
On Thu, 2011-12-22 at 20:19 -0800, nchurch wrote: I'll do everything I can to help. I have tons of thoughts (as you might guess); but I haven't demonstrated myself to be a great coder, yet. I feel like I'm a coder who needs something like literate programming to be great, so it's kind

Re: Literate programming

2011-12-23 Thread daly
I'll do everything I can to help. I have tons of thoughts (as you might guess); but I haven't demonstrated myself to be a great coder, yet. I feel like I'm a coder who needs something like literate programming to be great, so it's kind of a chicken-and-egg problem. I'm already partway

Re: Literate programming

2011-12-23 Thread Adam Getchell
. The .tex files ARE the literate program. By analogy, you seem to be asking something like Please allow me to elucidate. In the literate programming tool I mentioned, marginalia, the output is, in fact, raw HTML. A very kind gentlemen involved with the project pointed me to the source code

Literate Programming

2011-12-23 Thread daly
or insight with which I had not formerly possessed in the moments prior? For in truth I have not been able to discern its helpfulness thereby. Methinks thou hast conflated the spirit of literate programming, intended as a communication medium between fellow traveling souls on this dark road

Re: Literate programming

2011-12-22 Thread Adam Getchell
On Fri, Oct 28, 2011 at 2:45 PM, Damion Junk jun...@gmail.com wrote: I have also been using Emacs/Org-mode/Babel/R lately, mostly as a way to have easily modifiable write up and source code for assignments in statistics courses. I suppose this is one valid use, but I'm using it less to

Literate programming/TDD with Leiningen + midje + marginalia

2011-12-22 Thread Adam Getchell
Thanks for all the replies! I'm trying midje first (keeping expectations in mind for later) as it seems to support writing tests and then code (i.e. top down testing). (This video https://github.com/marick/Midje/wiki/Top-down-testing was useful, thanks for making it!) In generating

  1   2   3   >