commit
6790b2df4b
6 changed files with 418 additions and 1 deletions
|
|
@ -90,6 +90,7 @@ var docs = {
|
|||
"docs/latex.tex": {name: "LaTeX", wrapped: true},
|
||||
"docs/less.less": "LESS",
|
||||
"docs/lisp.lisp": "Lisp",
|
||||
"docs/scheme.scm": "Scheme",
|
||||
"docs/liquid.liquid": "Liquid",
|
||||
"docs/lua.lua": "Lua",
|
||||
"docs/lucene.lucene": "Lucene",
|
||||
|
|
|
|||
21
demo/kitchen-sink/docs/scheme.scm
Normal file
21
demo/kitchen-sink/docs/scheme.scm
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
(define (prompt-for-cd)
|
||||
"Prompts
|
||||
for CD"
|
||||
(prompt-read "Title" 1.53 1 2/4 1.7 1.7e0 2.9E-4 +42 -7 #b001 #b001/100 #o777 #O777 #xabc55 #c(0 -5.6))
|
||||
(prompt-read "Artist")
|
||||
(or (parse-integer (prompt-read "Rating") #:junk-allowed #t) 0)
|
||||
(if x (format #t "yes") (format #f "no") ;and here comment
|
||||
)
|
||||
;; second line comment
|
||||
'(+ 1 2)
|
||||
(position-if-not char-set:whitespace line #:start beg))
|
||||
(quote (privet 1 2 3))
|
||||
'(hello world)
|
||||
(* 5 7)
|
||||
(1 2 34 5)
|
||||
(#:use "aaaa")
|
||||
(let ((x 10) (y 20))
|
||||
(display (+ x y))
|
||||
)
|
||||
|
||||
"asdad\0eqweqe"
|
||||
|
|
@ -62,7 +62,8 @@ var modesByName = {
|
|||
jsx: ["JSX" , "jsx"],
|
||||
latex: ["LaTeX" , "latex|tex|ltx|bib"],
|
||||
less: ["LESS" , "less"],
|
||||
lisp: ["Lisp" , "lisp|scm|rkt"],
|
||||
lisp: ["Lisp" , "lisp"],
|
||||
scheme: ["Scheme" , "scm|rkt"],
|
||||
liquid: ["Liquid" , "liquid"],
|
||||
lua: ["Lua" , "lua"],
|
||||
luapage: ["LuaPage" , "lp"], // http://keplerproject.github.com/cgilua/manual.html#templates
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue