Server IP : 1.179.227.78 / Your IP : 10.104.4.41 Web Server : Apache System : Linux afdc-mdu34 5.4.0-153-generic #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 User : www ( 1001) PHP Version : 7.4.30 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/afdc-mdu34.rtarf.mi.th/joomla/media/editors/codemirror/mode/yacas/ |
Upload File : |
!(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,b){var c;if('"'===(c=a.next()))return b.tokenize=e,b.tokenize(a,b);if("/"===c){if(a.eat("*"))return b.tokenize=f,b.tokenize(a,b);if(a.eat("/"))return a.skipToEnd(),"comment"}a.backUp(1);var d=a.match(/^(\w+)\s*\(/,!1);null!==d&&h.hasOwnProperty(d[1])&&b.scopes.push("bodied");var i=g(b);if("bodied"===i&&"["===c&&b.scopes.pop(),"["!==c&&"{"!==c&&"("!==c||b.scopes.push(c),i=g(b),("["===i&&"]"===c||"{"===i&&"}"===c||"("===i&&")"===c)&&b.scopes.pop(),";"===c)for(;"bodied"===i;)b.scopes.pop(),i=g(b);return a.match(/\d+ *#/,!0,!1)?"qualifier":a.match(j,!0,!1)?"number":a.match(l,!0,!1)?"variable-3":a.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":a.match(m,!0,!1)?(a.backUp(1),"variable"):a.match(k,!0,!1)?"variable-2":a.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function e(a,b){for(var c,e=!1,f=!1;null!=(c=a.next());){if('"'===c&&!f){e=!0;break}f=!f&&"\\"===c}return e&&!f&&(b.tokenize=d),"string"}function f(a,b){for(var c,e;null!=(e=a.next());){if("*"===c&&"/"===e){b.tokenize=d;break}c=e}return"comment"}function g(a){var b=null;return a.scopes.length>0&&(b=a.scopes[a.scopes.length-1]),b}var h=(function(a){for(var b={},c=a.split(" "),d=0;d<c.length;++d)b[c[d]]=!0;return b})("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"),i="(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)",j=new RegExp("(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)"),k=new RegExp(i),l=new RegExp(i+"?_"+i),m=new RegExp(i+"\\s*\\(");return{startState:function(){return{tokenize:d,scopes:[]}},token:function(a,b){return a.eatSpace()?null:b.tokenize(a,b)},indent:function(c,e){if(c.tokenize!==d&&null!==c.tokenize)return a.Pass;var f=0;return"]"!==e&&"];"!==e&&"}"!==e&&"};"!==e&&");"!==e||(f=-1),(c.scopes.length+f)*b.indentUnit},electricChars:"{}[]();",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}})),a.defineMIME("text/x-yacas",{name:"yacas"})}));