Tue Apr 5 05:32:35 2011, original submission:
ASk <alexsh@gmail.com> writes, on Sat, 2 Feb 2008 22:45:56 +0200:
Hello,
I was surprised to not find the Maple language definition.
I've whipped a quickie (does not take various Maple protected names into account - though neither does Maple color them)
%%
%% Maple definitions (c) 2008 Alexander Shapiro
%%
\lst@definelanguage{Maple}%
{morekeywords={and,assuming,break,by,catch,description,do,done,%
elif,else,end,error,export,fi,finally,for,from,global,if,%
implies,in,intersect,local,minus,mod,module,next,not,od,%
option,options,or,proc,quit,read,return,save,stop,subset,then,%
to,try,union,use,uses,while,xor},%
sensitive=true,%
morecomment=[l]\#,%
morestring=[b]",%
morestring=[d]"%
}[keywords,comments,strings]%
Hope you find it useful - I did.
Alex
|