thi-ng / babel Goto Github PK
View Code? Open in Web Editor NEWA Leiningen project template for literate Clojure projects w/ org-mode
A Leiningen project template for literate Clojure projects w/ org-mode
I got the following error:
$ lein new thing-babel bar
Generating fresh literate programming project: bar
generated project dir : bar
artefact group ID :
project url : https://github.com/
project author : B37747
author url :
author email :
author timezone : 8
license : Eclipse Public License
description : FIXME: write description
path for gen sources : babel
project root namespace : bar
Template resource 'leiningen/new/thing_babel/readme.org' not found.
It's with the latest 0.3.1.
It seems that Clojars is not yet updated of 0.3.1 - 2015-08-28
As I could overcome this problem by clone your repository, and then doing:
cd babel
lein install
It would be handy to automate the export process of all org-files to html, after all literate programming would like to be more readable with html from time to time
It would be even better to have all of them to be in one html file, or make them accessible without any manual intervention.
Any readable alternative would be fine.
Thanks!
I got the following error:
B37747@B37747-11 ~/dev/clojurescript
$ lein new thing-babel bar
Generating fresh literate programming project: bar
generated project dir : bar
artefact group ID :
project url : https://github.com/
project author : B37747
author url :
author email :
author timezone : 8
license : Eclipse Public License
description : FIXME: write description
path for gen sources : babel
project root namespace : bar
B37747@B37747-11 ~/dev/clojurescript
$ cd bar
B37747@B37747-11 ~/dev/clojurescript/bar
$ ./tangle-all.sh
2 src blocks added to Library of Babel
Cannot read file "/cygdrive/d/yushen/dev/clojurescript/bar/setup.org"
Cannot read file "/cygdrive/d/yushen/dev/clojurescript/bar/setup.org"
(No changes need to be saved)
Opening output file: no such file or directory, /cygdrive/d/yushen/dev/clojurescript/bar/babel\project.clj
It's with version 0.3.1.
My environment is cygwin with Windows 7.
I suspect that the problem is related to the combination of Winodws and Cygwin.
I can overcome the problem by manually doing the tangling in emacs buffer with README.org.
I found that adding the following noweb-ref would be handy
** Namespace prefix
org.yubrshen.web-audio-study
where org.yubrshen.web-audio-study is the namespace prefix for my project. Your template is capable to generate.
For example,
I can express
Play
instead of hard-code my namespace prefix again.
It would be nice to have it defined in libraryofbabel.org to be accessible to all org files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.