1 |
- import{g as f}from"./index-b2e76ed2.js";function m(r,s){for(var e=0;e<s.length;e++){const t=s[e];if(typeof t!="string"&&!Array.isArray(t)){for(const o in t)if(o!=="default"&&!(o in r)){const i=Object.getOwnPropertyDescriptor(t,o);i&&Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:()=>t[o]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(r,s){ace.define("ace/mode/lisp_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,o){var i=e("../lib/oop"),l=e("./text_highlight_rules").TextHighlightRules,a=function(){var n="case|do|let|loop|if|else|when",u="eq|neq|and|or",g="null|nil",d="cons|car|cdr|cond|lambda|format|setq|setf|quote|eval|append|list|listp|memberp|t|load|progn",h=this.createKeywordMapper({"keyword.control":n,"keyword.operator":u,"constant.language":g,"support.function":d},"identifier",!0);this.$rules={start:[{token:"comment",regex:";.*$"},{token:["storage.type.function-type.lisp","text","entity.name.function.lisp"],regex:"(?:\\b(?:(defun|defmethod|defmacro))\\b)(\\s+)((?:\\w|\\-|\\!|\\?)*)"},{token:["punctuation.definition.constant.character.lisp","constant.character.lisp"],regex:`(#)((?:\\w|[\\\\+-=<>'"&#])+)`},{token:["punctuation.definition.variable.lisp","variable.other.global.lisp","punctuation.definition.variable.lisp"],regex:"(\\*)(\\S*)(\\*)"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+(?:L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?(?:L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\\b"},{token:h,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"string",regex:'"(?=.)',next:"qqstring"}],qqstring:[{token:"constant.character.escape.lisp",regex:"\\\\."},{token:"string",regex:'[^"\\\\]+'},{token:"string",regex:"\\\\$",next:"qqstring"},{token:"string",regex:'"|$',next:"start"}]}};i.inherits(a,l),t.LispHighlightRules=a}),ace.define("ace/mode/lisp",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/lisp_highlight_rules"],function(e,t,o){var i=e("../lib/oop"),l=e("./text").Mode,a=e("./lisp_highlight_rules").LispHighlightRules,n=function(){this.HighlightRules=a,this.$behaviour=this.$defaultBehaviour};i.inherits(n,l),function(){this.lineCommentStart=";",this.$id="ace/mode/lisp"}.call(n.prototype),t.Mode=n}),function(){ace.require(["ace/mode/lisp"],function(e){r&&(r.exports=e)})}()})(p);var c=p.exports;const x=f(c),v=m({__proto__:null,default:x},[c]);export{v as m};
|