Re: Web meeting series: data visualization and literate programming

2019-09-01 Thread Daniel Slutsky
out > interactive data visualization and literate programming with Hanami&Saite: > > 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

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&Saite: https://twitter.com/scicloj/status/1164887113680281600 On Sat, 10 Aug 2019 at 21:39, Daniel Slutsky wrote: > Here is the video of yesterd

Re: Web meeting series: data visualization and literate programming

2019-08-10 Thread Daniel Slutsky
er.com/scicloj/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 &

Re: Web meeting series: data visualization and literate programming

2019-08-03 Thread Daniel Slutsky
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/metasoarous/oz>. > > > If you are interested in this series

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 B8

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: http://stardiviner.git

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: [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 >>

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,

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 th

Re: Heidegger, literate programming, and communication

2014-05-22 Thread Andy Fingerhut
On Thu, May 22, 2014 at 11:05 AM, Tim Daly 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 > >available from

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

2014-05-22 Thread Gary Johnson
t ourselves what tools or references we are finding useful in our journey. Clearly some folks (Gregg included) 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

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 ne

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", most

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

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: Intege

Re: Heidegger, literate programming, and communication

2014-05-22 Thread Andy Fingerhut
On Wed, May 21, 2014 at 11:16 PM, u1204 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 organization necessary

Re: Heidegger, literate programming, and communication

2014-05-22 Thread Gregg Reynolds
Howdy Tim, On Thu, May 22, 2014 at 1:16 AM, u1204 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 philosophers never agree. Dis

Re: Heidegger, literate programming, and communication

2014-05-21 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* don

Re: Heidegger, literate programming, and communication

2014-05-21 Thread Gregg Reynolds
off between the desire to see a lot of code at once, > without a lot of text cluttering it up, and understanding what 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 > au

Re: Heidegger, literate programming, and communication

2014-05-21 Thread Mars0i
ng. 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 but slightly complex bi

Re: Heidegger, literate programming, and communication

2014-05-21 Thread Mars0i
t; is that we have learned, > rather painfully, to be aware of the machinery of the process at every > step of the way. This focus on the machinery becomes the expected way > of communicating with the machine. Scratch any programmer, interview at > any company, listen to any ta

Re: Heidegger, literate programming, and communication

2014-05-21 Thread Gregg Reynolds
ay. This focus on the machinery becomes the expected way > of communicating with the machine. Scratch any programmer, interview at > any company, listen to any talk, and you find "machinery". > How could it be otherwise? Programming is machine construction. > > But co

Heidegger, literate programming, and communication

2014-05-21 Thread daly
er, 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 is, to what aud

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 u1204
comments, but no other explanatory 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

Re: Rethinking Literate Programming

2014-05-10 Thread Mars0i
text 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

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 t

Re: Rethinking Literate Programming

2014-05-09 Thread Gary Johnson
modelled 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 choic

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 n

Re: Rethinking Literate Programming

2014-05-09 Thread Gregg Reynolds
On Fri, May 9, 2014 at 8:33 AM, Erlis Vidal 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 > with that docu

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 porti

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 wrote: > On Thu, May 8, 2014 at 11:02 AM, Mark Engelberg > wrote: > >> In fact, Clojure has a number of features tha

Re: Rethinking Literate Programming

2014-05-08 Thread Mark Engelberg
On Thu, May 8, 2014 at 11:02 AM, Mark Engelberg wrote: > 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 more, I'm sure others c

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, b

Re: Rethinking Literate Programming

2014-05-08 Thread u1204
tant part. The problem is that we missed the "why". Sure, we have immutable, log32, red-black trees (ILRB trees). Yes, we documented what the arguments mean. But you'll notice that nowhere in the github tree is there any answer to "why?". A "literate programming style&qu

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

Re: Rethinking Literate Programming

2014-05-08 Thread Gregg Reynolds
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 > . >

Rethinking Literate Programming

2014-05-08 Thread Gregg Reynolds
mes coming up with the right terminology makes all the difference (see "lambda abstraction"). * Speaking of which, Knuth himself admitted that his choice of "literate programming" as the name of his "new method" was tongue in cheek, since it makes anybody who doesn't u

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 Wednes

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 nam

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

2012-09-12 Thread Ben Mabey
appears to be tangling. I'm using Emacs 24 and the only org specific code I have is applying your provided patch after requiring ob-clojure. Thanks again for the example, Ben On 9/11/12 2:13 PM, Gary Johnson wrote: I just put together a simple example repo on GitHub, containing a lite

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

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

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 su

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 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 (o

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 (

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 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 (o

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 emacs - any experience?

2012-03-22 Thread Michael O'Keefe
me code 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 l

Re: Literate programming in emacs - any experience?

2012-03-22 Thread daly
es, but they are more based around > the theory rather than actual use. 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 thin

Re: Literate programming in emacs - any experience?

2012-03-21 Thread martin_clausen
3:14:09 AM 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 w

Re: Literate programming in emacs - any experience?

2012-03-20 Thread Tim Dysinger
day, January 23, 2012 3:14:09 AM 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 re

Re: Literate programming in emacs - any experience?

2012-03-18 Thread daly
request. Note 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

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Hugo Duncan
Fogus 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 "Clojure" group. 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
Mark Engelberg writes: > On Wed, Feb 1, 2012 at 5:38 AM, Hugo Duncan 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'

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Mark Engelberg
On Wed, Feb 1, 2012 at 5:38 AM, Hugo Duncan 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 in a literate progra

Re: Literate programming in emacs - any experience?

2012-02-01 Thread Hugo Duncan
Colin Yates 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],

Re: Literate programming in emacs - any experience?

2012-02-01 Thread daly
a marvelous thing by forcing alter to require dosync. It eliminates a whole class of errors. When I find a mistake I still try to find 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 "

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. Wri

Re: Literate programming in emacs - any experience?

2012-01-30 Thread daly
t least 21 uncaught errors lurking in those equations. So before I attempt to generate the images I will examine 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 an

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-28 Thread Colin Yates
w 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

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

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 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 > > vid cast of

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

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 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-24 Thread Colin Yates
Thanks Stuart. On 24 January 2012 14:18, Stuart Sierra 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 clojure-mode. My > .emacs has the

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
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 wrote: > > > > For Eclipse I suppose we

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Cedric Greevey
d 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 is literate Clojure > under Eclipse, I felt I needed to set up some kind of > solution. I try t

Re: Literate programming in emacs - any experience?

2012-01-23 Thread daly
lugin.html > > That would make Clojure 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 volun

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Cedric Greevey
On Mon, Jan 23, 2012 at 6:23 PM, daly wrote: > On Mon, 2012-01-23 at 16:17 -0500, Cedric Greevey wrote: >> On Mon, Jan 23, 2012 at 11:19 AM, daly wrote: >> > It accepts either noweb syntax for chunks, as in: >> >    <>= >> >      (this is lisp code) >> >    @ >> >> A rather unfortunate choice of

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 wrote: > > It accepts either noweb syntax for chunks, as in: > ><>= > > (this is lisp code) > >@ > > A rather unfortunate choice of delimiter if you wanted to use this > with Clojure cod

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 Cedric Greevey
On Mon, Jan 23, 2012 at 11:19 AM, daly wrote: > It accepts either noweb syntax for chunks, as in: >    <>= >      (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 @-signs for other purposes.

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 gro

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Mark Engelberg
On Mon, Jan 23, 2012 at 5:14 AM, Colin Yates 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

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 lo

Re: Literate programming in emacs - any experience?

2012-01-23 Thread daly
d 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've been using literate programming for years in Axiom. Basically I write in a buffer con

Re: Literate programming in emacs - any experience?

2012-01-23 Thread Sam Ritchie
round 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 > the clojure "fragments" when using org.babel for example? > > Finall

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

Re: Literate Programming in Emacs?

2012-01-13 Thread Phil Hagelberg
Andrew 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 `slime-eval-region' > suffice?

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

Re: Literate Programming in Emacs?

2012-01-12 Thread Phil Hagelberg
Andrew 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 in the wild depe

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". "ht

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 sho

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. &g

Re: Literate Programming

2011-12-24 Thread daly
scuss the issue in the text as though you were talking to someone other than yourself. Odds are good this is where a design mistake (e.g. in the database schema) or a program bug lurks. The meta-issue is distinguishing "communication" from "documentation". Literate programming i

Literate Programming

2011-12-23 Thread daly
wledge 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

Re: Literate programming

2011-12-23 Thread Adam Getchell
tence means. 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 th

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 pro

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 t

Re: Literate programming

2011-12-22 Thread Cedric Greevey
On Thu, Dec 22, 2011 at 11:59 PM, nchurch wrote: > What I really want you to notice is how we are faced with a choice: > either we improve the library code (presumably by making split > optionally return an array of separators matched by the regex for > later reassembly by join, perhaps in metadat

Re: Literate programming

2011-12-22 Thread nchurch
to me this fits well with Github's always-fork philosophy. I do think there is only one way to write a good library function, but it may be that there will need to be a proliferation of alternativeseach making its own argument and tradeoffs across various levels of abstraction, to return to the

  1   2   3   >