CS-Notes/docs/_style/prism-master/components/prism-apl.min.js

1 line
757 B
Java
Raw Normal View History

2018-12-19 14:09:39 +08:00
Prism.languages.apl={comment:/(?:|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\d+(?:e[+¯]?\d+)?|¯|)(?:j¯?(?:\d*\.?\d+(?:e[+¯]?\d+)?|¯|))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/[A-Z]+/i,alias:"function"},constant:/[#]/,"function":/[-+×÷|?*!<=>~,¤]/,"monadic-operator":{pattern:/[\\\/¨&]/,alias:"operator"},"dyadic-operator":{pattern:/[.@]/,alias:"operator"},assignment:{pattern://,alias:"keyword"},punctuation:/[\[;\]()]/,dfn:{pattern:/[{}:]/,alias:"builtin"}};