HEX
Server: Apache
System: Linux webm010.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: iestorre (46869)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/i/e/s/iestorre/informatica/media/editors/codemirror/mode/yacas/yacas.min.js
!(function(a){"object"==typeof exports&&"object"==typeof module?a(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],a):a(CodeMirror)})((function(a){"use strict";a.defineMode("yacas",(function(b,c){function d(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b}function e(a,b){var c;if(c=a.next(),'"'===c)return b.tokenize=f,b.tokenize(a,b);if("/"===c){if(a.eat("*"))return b.tokenize=g,b.tokenize(a,b);if(a.eat("/"))return a.skipToEnd(),"comment"}a.backUp(1);var d=a.match(/^(\w+)\s*\(/,!1);null!==d&&i.hasOwnProperty(d[1])&&b.scopes.push("bodied");var e=h(b);if("bodied"===e&&"["===c&&b.scopes.pop(),"["!==c&&"{"!==c&&"("!==c||b.scopes.push(c),e=h(b),("["===e&&"]"===c||"{"===e&&"}"===c||"("===e&&")"===c)&&b.scopes.pop(),";"===c)for(;"bodied"===e;)b.scopes.pop(),e=h(b);return a.match(/\d+ *#/,!0,!1)?"qualifier":a.match(l,!0,!1)?"number":a.match(n,!0,!1)?"variable-3":a.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":a.match(o,!0,!1)?(a.backUp(1),"variable"):a.match(m,!0,!1)?"variable-2":a.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function f(a,b){for(var c,d=!1,f=!1;null!=(c=a.next());){if('"'===c&&!f){d=!0;break}f=!f&&"\\"===c}return d&&!f&&(b.tokenize=e),"string"}function g(a,b){for(var c,d;null!=(d=a.next());){if("*"===c&&"/"===d){b.tokenize=e;break}c=d}return"comment"}function h(a){var b=null;return a.scopes.length>0&&(b=a.scopes[a.scopes.length-1]),b}var i=d("Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While"),j="(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)",k="(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)",l=new RegExp(j),m=new RegExp(k),n=new RegExp(k+"?_"+k),o=new RegExp(k+"\\s*\\(");return{startState:function(){return{tokenize:e,scopes:[]}},token:function(a,b){return a.eatSpace()?null:b.tokenize(a,b)},indent:function(c,d){if(c.tokenize!==e&&null!==c.tokenize)return a.Pass;var f=0;return"]"!==d&&"];"!==d&&"}"!==d&&"};"!==d&&");"!==d||(f=-1),(c.scopes.length+f)*b.indentUnit},electricChars:"{}[]();",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}})),a.defineMIME("text/x-yacas",{name:"yacas"})}));