* packages.config: * App.master: * doxy.css: * Edit.aspx: * desert.css: * sunburst.css: * prettify.css: * YavscHelpers.cs: * YavscModel.csproj: * lang-r.js: * UserPosts.aspx: * lang-n.js: * lang-rd.js: * lang-vb.js: * lang-xq.js: * lang-ml.js: * lang-go.js: * lang-hs.js: * lang-tcl.js: * lang-tex.js: * PostActions.ascx: * lang-clj.js: * prettify.js: * lang-css.js: * lang-sql.js: * lang-lua.js: * lang-llvm.js: * HomeController.cs: * lang-yaml.js: * lang-wiki.js: * lang-dart.js: * lang-lisp.js: * lang-vhdl.js: * lang-mumps.js: * lang-scala.js: * lang-basic.js: * MarkdownHelper.cs: * lang-proto.js: * sons-of-obsidian.css: * lang-apollo.js: * lang-matlab.js: * lang-erlang.js: * lang-pascal.js: * run_prettify.js: syntax hilighting in Markdown code blocks * NpgsqlTagInfo.cs: Fixes the photo retreival * TagPanel.ascx: displays the photo * IValueProvider.cs: useless, unused * TestExec.cs: pollution
18 lines
1.4 KiB
JavaScript
18 lines
1.4 KiB
JavaScript
/*
|
|
Copyright (C) 2011 Google Inc.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
var a=null;
|
|
PR.registerLangHandler(PR.createSimpleLexer([["opn",/^[([{]+/,a,"([{"],["clo",/^[)\]}]+/,a,")]}"],["com",/^;[^\n\r]*/,a,";"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \u00a0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:def|if|do|let|quote|var|fn|loop|recur|throw|try|monitor-enter|monitor-exit|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|aset|gen-class|reduce|map|filter|find|nil?|empty?|hash-map|hash-set|vec|vector|seq|flatten|reverse|assoc|dissoc|list|list?|disj|get|union|difference|intersection|extend|extend-type|extend-protocol|prn)\b/,a],
|
|
["typ",/^:[\dA-Za-z-]+/]]),["clj"]);
|