Skip to content

Instantly share code, notes, and snippets.

@luxbock luxbock/el-conf.el
Last active Aug 29, 2015

Embed
What would you like to do?
(setq org-publish-project-alist
'(
("incise-org"
:base-directory "~/Development/clojure/incise-org-parser/resources/org/"
:base-extension "org"
:publishing-directory "~/Development/clojure/incise-org-parser/public/"
:recursive t
:publishing-function org-html-publish-to-html
:headline-levels 2
:auto-preamble t)
("incise-static"
:base-directory "~/Development/clojure/incise-org-parser/resources/org/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/Development/clojure/incise-org-parser/public/"
:recursive t
:publishing-function org-publish-attachment)
("incise-further"
:base-directory "~/Development/clojure/incise-org-parser/resources/org/"
:base-extension "org"
:publishing-directory "~/Development/clojure/incise-org-parser/org/html/"
:publishing-function org-html-publish-to-html
:headline-levels 2)
("incise"
:components "blah")))
opalist = lp 'setq org-publish-project-alist' ws+ <"'"> lp ws+ projects rp ws* rp
<lp> = <'('>
<rp> = <')'>
<ws> = #"\s"
projects = project+
project = ws* lp name ws+ (kw ws+ val)+ rp ws*
name = <'"'> #"[^ ]+" <'"'>
kw = <':'> #"[^ ]+"
val = #"[^ ]+"
user> (def elconf (slurp (file "resources/el-conf.el")))
#'user/elconf
user> (def elp (insta/parser (file "resources/elparse")))
#'user/elp
user> (elp elconf)
Parse error at line 27, column 1:
^
Expected:
"("
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.