Permalink
Browse files

Backport changes from lisppaste 2.3. (i.e. haskell, erlang, python, etc)

  • Loading branch information...
1 parent d471483 commit 499e33ecc0b9c8dd366998c6c0a062f38d313133 @kingcons committed Aug 27, 2012
Showing with 708 additions and 37 deletions.
  1. +3 −2 clhs-lookup.lisp
  2. +13 −0 coloring-css.lisp
  3. +678 −23 coloring-types.lisp
  4. +12 −10 colorize.lisp
  5. +1 −1 elisp-lookup.lisp
  6. +1 −1 r5rs-lookup.lisp
View
@@ -15,7 +15,8 @@
;;; AMOP.
(defparameter *mop-map-file*
- (merge-pathnames "Mop_Sym.txt" #.*compile-file-pathname*))
+ (merge-pathnames "Mop_Sym.txt"
+ (or #.*compile-file-truename* *default-pathname-defaults*)))
(defparameter *mop-root* "http://www.alu.org/mop/")
@@ -30,7 +31,7 @@
(defvar *read-macro-table* (make-hash-table :test 'equalp))
(defvar *populated-p* nil)
-
+
(defun add-clhs-section-to-table (&rest numbers)
(let ((key (format nil "~{~d~^.~}" numbers))
(target (concatenate 'string *hyperspec-root* (format nil "Body/~2,'0d_~(~{~36r~}~).htm" (car numbers) (mapcar #'(lambda (x) (+ x 9)) (cdr numbers))))))
View
@@ -12,13 +12,26 @@ a.symbol:hover { color : #229955; background-color : transparent; text-decoratio
.keyword { color : #770000; background-color : inherit; }
.comment { color : #007777; background-color : inherit; }
.string { color : #777777; background-color : inherit; }
+.atom { color : #314F4F; background-color : inherit; }
+.macro { color : #FF5000; background-color : inherit; }
+.variable { color : #36648B; background-color : inherit; }
+.function { color : #8B4789; background-color : inherit; }
+.attribute { color : #FF5000; background-color : inherit; }
.character { color : #0055AA; background-color : inherit; }
.syntaxerror { color : #FF0000; background-color : inherit; }
+.diff-deleted { color : #5F2121; background-color : inherit; }
+.diff-added { color : #215F21; background-color : inherit; }
+span.paren1 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
span.paren1:hover { color : inherit; background-color : #BAFFFF; }
+span.paren2 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
span.paren2:hover { color : inherit; background-color : #FFCACA; }
+span.paren3 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
span.paren3:hover { color : inherit; background-color : #FFFFBA; }
+span.paren4 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
span.paren4:hover { color : inherit; background-color : #CACAFF; }
+span.paren5 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
span.paren5:hover { color : inherit; background-color : #CAFFCA; }
+span.paren6 { background-color : inherit; -webkit-transition: background-color 0.2s linear; }
span.paren6:hover { color : inherit; background-color : #FFBAFF; }
")
Oops, something went wrong.

0 comments on commit 499e33e

Please sign in to comment.