File manager - Edit - /home/opticamezl/www/newok/scheme.tar
Back
scheme.min.js 0000644 00000014721 15175151500 0007135 0 ustar 00 (function(c){typeof exports=="object"&&typeof module=="object"?c(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],c):c(CodeMirror)})(function(c){"use strict";c.defineMode("scheme",function(){var S="builtin",l="comment",m="string",h="symbol",o="atom",b="number",x="bracket",q=2;function g(e){for(var i={},n=e.split(" "),t=0;t<n.length;++t)i[n[t]]=!0;return i}var v=g("\u03BB case-lambda call/cc class cond-expand define-class define-values exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax define-macro defmacro delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),M=g("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function C(e,i,n){this.indent=e,this.type=i,this.prev=n}function d(e,i,n){e.indentStack=new C(i,n,e.indentStack)}function N(e){e.indentStack=e.indentStack.prev}var Q=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),I=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),R=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),B=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function $(e){return e.match(Q)}function O(e){return e.match(I)}function f(e,i){return i===!0&&e.backUp(1),e.match(B)}function U(e){return e.match(R)}function y(e,i){for(var n,t=!1;(n=e.next())!=null;){if(n==i.token&&!t){i.state.mode=!1;break}t=!t&&n=="\\"}}return{startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,i){if(i.indentStack==null&&e.sol()&&(i.indentation=e.indentation()),e.eatSpace())return null;var n=null;switch(i.mode){case"string":y(e,{token:'"',state:i}),n=m;break;case"symbol":y(e,{token:"|",state:i}),n=h;break;case"comment":for(var t,k=!1;(t=e.next())!=null;){if(t=="#"&&k){i.mode=!1;break}k=t=="|"}n=l;break;case"s-expr-comment":if(i.mode=!1,e.peek()=="("||e.peek()=="[")i.sExprComment=0;else{e.eatWhile(/[^\s\(\)\[\]]/),n=l;break}default:var r=e.next();if(r=='"')i.mode="string",n=m;else if(r=="'")e.peek()=="("||e.peek()=="["?(typeof i.sExprQuote!="number"&&(i.sExprQuote=0),n=o):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),n=o);else if(r=="|")i.mode="symbol",n=h;else if(r=="#")if(e.eat("|"))i.mode="comment",n=l;else if(e.eat(/[tf]/i))n=o;else if(e.eat(";"))i.mode="s-expr-comment",n=l;else{var a=null,s=!1,w=!0;e.eat(/[ei]/i)?s=!0:e.backUp(1),e.match(/^#b/i)?a=$:e.match(/^#o/i)?a=O:e.match(/^#x/i)?a=U:e.match(/^#d/i)?a=f:e.match(/^[-+0-9.]/,!1)?(w=!1,a=f):s||e.eat("#"),a!=null&&(w&&!s&&e.match(/^#[ei]/i),a(e)&&(n=b))}else if(/^[-+0-9.]/.test(r)&&f(e,!0))n=b;else if(r==";")e.skipToEnd(),n=l;else if(r=="("||r=="["){for(var u="",p=e.column(),E;(E=e.eat(/[^\s\(\[\;\)\]]/))!=null;)u+=E;u.length>0&&M.propertyIsEnumerable(u)?d(i,p+q,r):(e.eatSpace(),e.eol()||e.peek()==";"?d(i,p+1,r):d(i,p+e.current().length,r)),e.backUp(e.current().length-1),typeof i.sExprComment=="number"&&i.sExprComment++,typeof i.sExprQuote=="number"&&i.sExprQuote++,n=x}else r==")"||r=="]"?(n=x,i.indentStack!=null&&i.indentStack.type==(r==")"?"(":"[")&&(N(i),typeof i.sExprComment=="number"&&--i.sExprComment==0&&(n=l,i.sExprComment=!1),typeof i.sExprQuote=="number"&&--i.sExprQuote==0&&(n=o,i.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),v&&v.propertyIsEnumerable(e.current())?n=S:n="variable")}return typeof i.sExprComment=="number"?l:typeof i.sExprQuote=="number"?o:n},indent:function(e){return e.indentStack==null?e.indentation:e.indentStack.indent},fold:"brace-paren",closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),c.defineMIME("text/x-scheme","scheme")}); scheme.min.js.gz 0000644 00000004661 15175151500 0007556 0 ustar 00 � �]s�6�~�"&%������$�<��6˹�ȕ�3� (˵u��f���ig����b�� �d���I���=��̊��6�5�S��/��ǑS��Up`�Ebᾕ:�L'����iaJ����R�fQ����(�MH��@�����ܜVs�lV$�M =��Y2��� ��YY8:/&A�GSBB�bдΞ�O�.[���4U���@;�V�������ZESép���S�VK�4�q����G�{��y7Y'��V�&8��O�Ts�4��.�����NO������7�������܂k�&r��[�N袽���w� dJT�R�B(5- R(�4�0��`W]�@g���P-4v�e�K��$��� sM�ހ���.��DD�{өP�� Rɝ��Ԯ3�l�ZY��qP8|o=�.�,�-* �p�w�26k�;r����L>i�t�F�I�4 y&�m:�%���q�<�h���h'u+|�l��]W0 �� � �@Ǡv��SF��5�t���4�|Ԣ�E� uI@5@�_ņ���S�|�}��^�B_�51��m4D," ��� ��k�%��#��D4�)�y��-Nh�4F��9)�����}1騱& TR�e|�6���^�b#lv���0��X��E����:Ю`�J�CzS������m����(#�������6�AS�":��Q�̉��P��:��!�-PLU+��XN�x��P,���%hSI-����M��f��v���V(|ms[�lA�v�p|�5�;r�"+e�Ų,��l b���w�(d#����9�Yͮ0 �V�����Jk4�Y�����G�l�dW��Fd��� 8!��r��(�2kR����-�T���(ah�pB�۞'�p�_�zl��ǖTR��� k��r��A�����*u�r��ޑ�z2X�5S�915����p] r��ZH���.�T��`VmMek!'��h�}k��S�y�;,���`���� G('*!u �قm�X�ꒄ-5���E�7�GV��Iso�q ��ʧ�CB�z4l��Y�B�8 xH�:B��;x%�uH,Ȉa�E0������=�0_?YN�v�y�=�#�99s;��B7�����ju�"�Յp@b���^1� E$z1�(�ޣa��� �7l��D��.>C���䔥�x�ø{���M���������џ;�7ۣ�����\@��L�>�T��=��l&X��qH=�'T.\[�r����N��''�;�ၼOd��#:;~���c�#���x?zm?��zW'��I>���o�3>o..o���$�l1�0�+?�{�������<Kr~��E3��ϯ�T��Ë�d�( �`��ܷ/1_��:�ּ'|��%���V==z���G��րoj�|���Ŏ>�{��$���Ey~v���go��b�(� 8A�'1��fU�[o�r����h���ퟠ�ϰ�g.��X�_ǡ���~?]aR Wl����� m?Br�G�1L�����N.Y�I�H�|B�O�c��}������<��q ;�06�xr��'�J4�r����x�ؓ�4N8�T��[Zw{�Gn<֜�ł�a��� ���lp����?���@�'��E��g�˴���}����� 7]�7�&W�<�e�?�ƨ���=���oB"X�a�>�gN�X��X�N� 1��G�=�GRwK2�?�^�ש��L�Y�y"6��U�p<}�G�7��ݍ̬K�K�|����9����0o����|�{�ՑIxgb�~&�(���� �&�y��P&'�\�9~�?�P�{#$ӛϋf�,��fq{;E���V�Un�>�ޗ�\%����5�6�PHe��ה�d\��+�h�/�Qo�+��h�a��������_�o�YLg�����+��L6�3L�p�er�Hp|/�_�a�:�0nz�V�Sɘ���T|��^����D�S���k�n��;o��bv��L?�-q��f� ���]��<�����n��쟓�i:�dy�& �b�3��:�,������x��R�F�S� .m͗���f�8h\b�x�}ut�1\%d�E���_�Z� ;���ueC����唦5�IaT[鄥���w! %��/�/�~}��z��Ϋ��㤶��?4���x� iY^&2���S�UdlMا������8>�0�7' ��ַ����%K��L����s~��Xd'�{��y��.� C�bhoi�h�K�x��#b�F�I��iBg���8�>����,��w��G�_�G_��+�z]�4��:�d���x�=]�|�\�O3��VX�L��K��\�^�*73����`��-��b�tv�q�}�2���� /V@��_�?4�'��if�vs����>�;��@�s�߳��I����:ع�.�~��~�`{6����\e� scheme.js 0000644 00000035642 15175151500 0006360 0 ustar 00 // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE /** * Author: Koh Zi Han, based on implementation by Koh Zi Chun * Improved by: Jakub T. Jankiewicz */ (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use strict"; CodeMirror.defineMode("scheme", function () { var BUILTIN = "builtin", COMMENT = "comment", STRING = "string", SYMBOL = "symbol", ATOM = "atom", NUMBER = "number", BRACKET = "bracket"; var INDENT_WORD_SKIP = 2; function makeKeywords(str) { var obj = {}, words = str.split(" "); for (var i = 0; i < words.length; ++i) obj[words[i]] = true; return obj; } var keywords = makeKeywords("λ case-lambda call/cc class cond-expand define-class define-values exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax define-macro defmacro delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"); var indentKeys = makeKeywords("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless"); function stateStack(indent, type, prev) { // represents a state stack object this.indent = indent; this.type = type; this.prev = prev; } function pushStack(state, indent, type) { state.indentStack = new stateStack(indent, type, state.indentStack); } function popStack(state) { state.indentStack = state.indentStack.prev; } var binaryMatcher = new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i); var octalMatcher = new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i); var hexMatcher = new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i); var decimalMatcher = new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i); function isBinaryNumber (stream) { return stream.match(binaryMatcher); } function isOctalNumber (stream) { return stream.match(octalMatcher); } function isDecimalNumber (stream, backup) { if (backup === true) { stream.backUp(1); } return stream.match(decimalMatcher); } function isHexNumber (stream) { return stream.match(hexMatcher); } function processEscapedSequence(stream, options) { var next, escaped = false; while ((next = stream.next()) != null) { if (next == options.token && !escaped) { options.state.mode = false; break; } escaped = !escaped && next == "\\"; } } return { startState: function () { return { indentStack: null, indentation: 0, mode: false, sExprComment: false, sExprQuote: false }; }, token: function (stream, state) { if (state.indentStack == null && stream.sol()) { // update indentation, but only if indentStack is empty state.indentation = stream.indentation(); } // skip spaces if (stream.eatSpace()) { return null; } var returnType = null; switch(state.mode){ case "string": // multi-line string parsing mode processEscapedSequence(stream, { token: "\"", state: state }); returnType = STRING; // continue on in scheme-string mode break; case "symbol": // escape symbol processEscapedSequence(stream, { token: "|", state: state }); returnType = SYMBOL; // continue on in scheme-symbol mode break; case "comment": // comment parsing mode var next, maybeEnd = false; while ((next = stream.next()) != null) { if (next == "#" && maybeEnd) { state.mode = false; break; } maybeEnd = (next == "|"); } returnType = COMMENT; break; case "s-expr-comment": // s-expr commenting mode state.mode = false; if(stream.peek() == "(" || stream.peek() == "["){ // actually start scheme s-expr commenting mode state.sExprComment = 0; }else{ // if not we just comment the entire of the next token stream.eatWhile(/[^\s\(\)\[\]]/); // eat symbol atom returnType = COMMENT; break; } default: // default parsing mode var ch = stream.next(); if (ch == "\"") { state.mode = "string"; returnType = STRING; } else if (ch == "'") { if (stream.peek() == "(" || stream.peek() == "["){ if (typeof state.sExprQuote != "number") { state.sExprQuote = 0; } // else already in a quoted expression returnType = ATOM; } else { stream.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/); returnType = ATOM; } } else if (ch == '|') { state.mode = "symbol"; returnType = SYMBOL; } else if (ch == '#') { if (stream.eat("|")) { // Multi-line comment state.mode = "comment"; // toggle to comment mode returnType = COMMENT; } else if (stream.eat(/[tf]/i)) { // #t/#f (atom) returnType = ATOM; } else if (stream.eat(';')) { // S-Expr comment state.mode = "s-expr-comment"; returnType = COMMENT; } else { var numTest = null, hasExactness = false, hasRadix = true; if (stream.eat(/[ei]/i)) { hasExactness = true; } else { stream.backUp(1); // must be radix specifier } if (stream.match(/^#b/i)) { numTest = isBinaryNumber; } else if (stream.match(/^#o/i)) { numTest = isOctalNumber; } else if (stream.match(/^#x/i)) { numTest = isHexNumber; } else if (stream.match(/^#d/i)) { numTest = isDecimalNumber; } else if (stream.match(/^[-+0-9.]/, false)) { hasRadix = false; numTest = isDecimalNumber; // re-consume the initial # if all matches failed } else if (!hasExactness) { stream.eat('#'); } if (numTest != null) { if (hasRadix && !hasExactness) { // consume optional exactness after radix stream.match(/^#[ei]/i); } if (numTest(stream)) returnType = NUMBER; } } } else if (/^[-+0-9.]/.test(ch) && isDecimalNumber(stream, true)) { // match non-prefixed number, must be decimal returnType = NUMBER; } else if (ch == ";") { // comment stream.skipToEnd(); // rest of the line is a comment returnType = COMMENT; } else if (ch == "(" || ch == "[") { var keyWord = ''; var indentTemp = stream.column(), letter; /** Either (indent-word .. (non-indent-word .. (;something else, bracket, etc. */ while ((letter = stream.eat(/[^\s\(\[\;\)\]]/)) != null) { keyWord += letter; } if (keyWord.length > 0 && indentKeys.propertyIsEnumerable(keyWord)) { // indent-word pushStack(state, indentTemp + INDENT_WORD_SKIP, ch); } else { // non-indent word // we continue eating the spaces stream.eatSpace(); if (stream.eol() || stream.peek() == ";") { // nothing significant after // we restart indentation 1 space after pushStack(state, indentTemp + 1, ch); } else { pushStack(state, indentTemp + stream.current().length, ch); // else we match } } stream.backUp(stream.current().length - 1); // undo all the eating if(typeof state.sExprComment == "number") state.sExprComment++; if(typeof state.sExprQuote == "number") state.sExprQuote++; returnType = BRACKET; } else if (ch == ")" || ch == "]") { returnType = BRACKET; if (state.indentStack != null && state.indentStack.type == (ch == ")" ? "(" : "[")) { popStack(state); if(typeof state.sExprComment == "number"){ if(--state.sExprComment == 0){ returnType = COMMENT; // final closing bracket state.sExprComment = false; // turn off s-expr commenting mode } } if(typeof state.sExprQuote == "number"){ if(--state.sExprQuote == 0){ returnType = ATOM; // final closing bracket state.sExprQuote = false; // turn off s-expr quote mode } } } } else { stream.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/); if (keywords && keywords.propertyIsEnumerable(stream.current())) { returnType = BUILTIN; } else returnType = "variable"; } } return (typeof state.sExprComment == "number") ? COMMENT : ((typeof state.sExprQuote == "number") ? ATOM : returnType); }, indent: function (state) { if (state.indentStack == null) return state.indentation; return state.indentStack.indent; }, fold: "brace-paren", closeBrackets: {pairs: "()[]{}\"\""}, lineComment: ";;" }; }); CodeMirror.defineMIME("text/x-scheme", "scheme"); });
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings