% \iffalse % %<*driver> \documentclass{ltxdoc} \EnableCrossrefs \CodelineIndex \begin{document} \DocInput{lstdrvrs.dtx} \end{document} % % \fi % % % \DoNotIndex{\[,\{,\},\],\1,\2,\3,\4,\5,\6,\7,\8,\9,\0} % \DoNotIndex{\`,\,,\!,\#,\$,\&,\',\(,\),\+,\.,\:,\;,\<,\=,\>,\?,\_} % \DoNotIndex{\askforoverwritefalse,\askforoverwritetrue,\batchfile} % \DoNotIndex{\begin,\def,\else,\@empty,\end,\endpreamble,\expandafter} % \DoNotIndex{\fi,\file,\from,\gdef,\generate,\ifnum,\ifx,\input} % \DoNotIndex{\keepsilent,\lccode,\let,\lowercase,\preamble,\relax} % \DoNotIndex{\undefined} % % % \title{Language, Style and Format drivers\\ for \textsf{Listings 1.1}\\ {\large by Carsten Heinz and individual authors:}} % \author{\InputIfFileExists{lstdrvrs.tmp}{}{}} % \date{} % % \maketitle % % \newwrite\authors \immediate\openout\authors lstdrvrs.tmp\relax % \gdef\lstthanks#1#2#3{#1\global\let\lstthanks\lstthanksb\lstwrite{#1}} % \gdef\lstthanksb#1#2#3{#1\lstwrite{\string\and\space#1}} % \gdef\lstwrite#1{\begingroup\let~\space\def\"{\string\"}\def\'{\string\'}\immediate\write\authors{#1}\endgroup} % % \newcommand*\lsthelper[4]{#1} % % % \section{Installation and configuration} % % \begingroup % \begin{macrocode} %% (w)(c) 1996/1997/1998/1999/2000/2001/2002/2003 Carsten Heinz and/or %% any other author listed elsewhere in this file. %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. %% Either version 1.0 or, at your option, any later version. %% %% This file is completely free and comes without any warranty. %% %% Send comments and ideas on the package, error reports and additional %% programming languages to . %% % \end{macrocode} % \endgroup % % \begingroup % \begin{macrocode} %<*install> \input docstrip \preamble \endpreamble \ifToplevel{ \usedir{tex/latex/listings} \keepsilent \askonceonly } \generate{ \file{lstlang1.sty}{\from{lstdrvrs.dtx}{lang1}} \file{lstlang2.sty}{\from{lstdrvrs.dtx}{lang2}} \file{lstlang3.sty}{\from{lstdrvrs.dtx}{lang3}} } \ifToplevel{ \Msg{*} \Msg{* You probably need to move all created `.sty' and `.cfg'} \Msg{* files into a directory searched by TeX.} \Msg{*} \Msg{* Run `lstdrvrs.dtx' through LaTeX2e to get the documentation.} \Msg{*} } \endbatchfile % % \end{macrocode} % \endgroup % % \begingroup % \begin{macrocode} %<*config> % \end{macrocode} % \endgroup % We mainly define default dialects. % \begin{macrocode} \ProvidesFile{listings.cfg}[2003/08/13 1.1a listings configuration] \def\lstlanguagefiles {lstlang0.sty,lstlang1.sty,lstlang2.sty,lstlang3.sty} \lstset{defaultdialect=[R/3 6.10]ABAP, defaultdialect=[95]Ada, defaultdialect=[68]Algol, defaultdialect=[gnu]Awk, defaultdialect=[ANSI]C, defaultdialect=[light]Caml, defaultdialect=[1985]Cobol, defaultdialect=[ISO]C++, defaultdialect=[95]Fortran, defaultdialect=[3.0]Mathematica, defaultdialect=[OMG]OCL, defaultdialect=[Standard]Pascal, defaultdialect=[67]Simula, defaultdialect=[plain]TeX, defaultdialect=[97]VRML} \lstalias[]{TclTk}[tk]{tcl} % \end{macrocode} % And now some shortcuts for the ABAP versions (provided by Knut Lickert). % I (Knut) think the leading R/2, R/3 is not necessary (The support for R/2 % is finished). The version number with letter is important for the % runtime-system, but the programming language should be the same % for each version. % \begin{macrocode} \lstalias[6.1]{ABAP}[R/3 6.10]{ABAP} \lstalias[3.1]{ABAP}[R/3 3.1C]{ABAP} \lstalias[4.6]{ABAP}[R/3 4.6C]{ABAP} % \end{macrocode} % \begingroup % \begin{macrocode} % % \end{macrocode} % \endgroup % % \begin{macrocode} %<+lang1>\ProvidesFile{lstlang1} %<+lang2>\ProvidesFile{lstlang2} %<+lang3>\ProvidesFile{lstlang3} %<-config> [2003/08/13 1.1a listings language file] % \end{macrocode} % % % \section{Language drivers} % % % \subsection{Abap} % % \lstthanks{Knut Lickert}{knut.lickert@gmx.de}{2000/08/01,2001/12/29,2002/04/11} % added support for Abap.\footnote{In this section `I' is Knut Lickert.} % % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% Abap definition by Knut Lickert %% % \end{macrocode} % % There are some other new commands in release 6.10. % They will follow later, but up to now I don't work % with 6.10. % % \begin{macrocode} \lst@definelanguage[R/3 6.10]{ABAP}[R/3 4.6C]{ABAP}% {morekeywords={try,endtry},% }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} \lst@definelanguage[R/3 4.6C]{ABAP}[R/3 3.1]{ABAP}% {morekeywords={method,ref,class,create,object,% methods,endmethod,private,protected,public,section,% catch,system-exceptions,endcatch,% },% moreprocnamekeys={class},% literate={->}{{$\rightarrow$}}1{=>}{{$\Rightarrow$}}1,% }[keywords,comments,strings,procnames] % \end{macrocode} % Yes there are also some more releases in R/3 (2.1\ldots), but I % know them not really. So let's start with R/3~3.1. % \begin{macrocode} \lst@definelanguage[R/3 3.1]{ABAP}[R/2 5.0]{ABAP}{}% % \end{macrocode} % As I remember all this commands exists in R/2. Many commands are % new in R/2~5.0 (compared with R/2 4.3). But as I am not using % R/2~4.3 any more, I start with R/2~5.0. % \begin{macrocode} \lst@definelanguage[R/2 5.0]{ABAP}% {sensitive=f,% procnamekeys={report,program,form,function,module},% morekeywords={*,add,after,alias,analyzer,and,append,area,assign,at,% authority-check,before,binary,blank,break-point,calendar,call,% case,change,changing,check,clear,cnt,co,collect,commit,common,% component,compute,condense,cos,cp,cs,currency-conversion,% cursor,data,database,dataset,decimals,define,delete,dequeue,% describe,detail,dialog,directory,div,divide,do,documentation,% during,dynpro,else,end-of-page,end-of-selection,endat,endcase,% enddo,endfor,endform,endif,endloop,endmodule,endselect,% endwhile,enqueue,exceptions,exit,exp,export,exporting,extract,% field,field-groups,field-symbols,find,for,form,format,free,% from,function,generating,get,giving,hide,id,if,import,% importing,in,incl,include,initial,initialization,input,insert,% interrupt,into,is,language,leave,like,line,lines,line-count, line-selection,list-processing,load,local,log,logfile,loop,% margin,mark,mask,memory,menue,message,mod,modify,module,move,% move-text,multiply,na,new,new-line,new-page,no-gaps,np,ns,% number,obligatory,occurs,of,on,or,others,output,parameter,% parameters,parts,perform,pf-status,places,position,process,% raise,raising,ranges,read,refresh,refresh-dynpro,reject,remote,% replace,report,reserve,reset,restart,run,screen,scroll,search,% segments,select,select-options,selection-screen,set,shift,sin,% single,sqrt,start-of-selection,statement,structure,submit,% subtract,summary,summing,suppress,system,table,tables,task,% text,time,to,top-of-page,trace,transaction,transfer,% transfer-dynpro,translate,type,unpack,update,user-command,% using,value,when,where,while,window,with,workfile,write,},% morecomment=[l]",% morecomment=[f][0]*,% morestring=[d]'% }[keywords,comments,strings,procnames] % \end{macrocode} % This section for R/2~4.3 is not really maintained. It is just what I remember % of the past. % \begin{macrocode} \lst@definelanguage[R/2 4.3]{ABAP}[R/2 5.0]{ABAP}% {deletekeywords={function,importing,exporting,changing,exceptions,% raise,raising}% }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{ACSL} % % This language was provided by \lstthanks{Andreas~Matthias}{amat@kabsi.at} % {2000/03/21}. I'm sorry for forgetting to add this language for a long time. % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \begin{macrocode} %% %% ACSL definition (c) 2000 by Andreas Matthias %% \lst@definelanguage{ACSL}[90]{Fortran}% {morekeywords={algorithm,cinterval,constant,derivative,discrete,% dynamic,errtag,initial,interval,maxterval,minterval,% merror,xerror,nsteps,procedural,save,schedule,sort,% table,terminal,termt,variable},% sensitive=false,% morecomment=[l]!% }[keywords, comments]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Ada} % % Data come from % \begin{itemize} % \item % \textsc{Barnes, John Gilbert Presslie}: % \textbf{Programming in Ada plus language reference manual}; % {\copyright} 1991 Addison-Wesley Publishing Company, Inc.; % ISBN 0-201-56539-0. % \end{itemize} % \lstthanks{Torsten~Neuer}{tneuer@inwise.de}{1998/11/23} added support for % Ada 95. I changed the definition to reduce the required string memory. % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \begin{macrocode} %% %% Ada 95 definition (c) Torsten Neuer %% \lst@definelanguage[95]{Ada}[83]{Ada}% {morekeywords={abstract,aliased,protected,requeue,tagged,until}}% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[83]{Ada}% {morekeywords={abort,abs,accept,access,all,and,array,at,begin,body,% case,constant,declare,delay,delta,digits,do,else,elsif,end,entry,% exception,exit,for,function,generic,goto,if,in,is,limited,loop,% mod,new,not,null,of,or,others,out,package,pragma,private,% procedure,raise,range,record,rem,renames,return,reverse,select,% separate,subtype,task,terminate,then,type,use,when,while,with,% xor},% sensitive=f,% morecomment=[l]--,% morestring=[m]",% percent not defined as stringizer so far morestring=[m]'% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Algol} % % Data come from % \begin{itemize} % \item % \textsc{Uwe Pape}: % \textbf{Programmieren in ALGOL 60}; % {\copyright} 1973 Carl Hanser Verlag M\"unchen; % ISBN 3-446-11605-2 % \item % \textsc{Frank G.\ Pagan}: % \textbf{A practical guide to ALGOL 68}; % {\copyright} 1976 by John Wiley $\&$ Sohn Ltd.; % ISBN 0-471-65746-8 (Cloth); ISBN 0-471-65747-6 (Pbk). % \end{itemize} % The definition of Algol 68 doesn't support comments enclosed by \rlap{/}c. % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} \lst@definelanguage[68]{Algol}% % ??? should 'i' be a keyword {morekeywords={abs,and,arg,begin,bin,bits,bool,by,bytes,case,channel,% char,co,comment,compl,conj,divab,do,down,elem,elif,else,empty,% end,entier,eq,esac,exit,false,fi,file,flex,for,format,from,ge,% goto,gt,heap,if,im,in,int,is,isnt,le,leng,level,loc,long,lt,lwb,% minusab,mod,modab,mode,ne,nil,not,od,odd,of,op,or,ouse,out,over,% overab,par,plusab,plusto,pr,pragmat,prio,proc,re,real,ref,repr,% round,sema,shl,short,shorten,shr,sign,skip,string,struct,then,% timesab,to,true,union,up,upb,void,while},% sensitive=f,% ??? morecomment=[s]{\#}{\#},% keywordcomment={co,comment}% }[keywords,comments,keywordcomments]% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[60]{Algol}% {morekeywords={array,begin,Boolean,code,comment,div,do,else,end,% false,for,goto,if,integer,label,own,power,procedure,real,step,% string,switch,then,true,until,value,while},% sensitive=f,% ??? keywordcommentsemicolon={end}{else,end}{comment}% }[keywords,keywordcomments]% % % \end{macrocode} % \endgroup % % % \subsection{Assembler} % % Credits go to \lstthanks{Andrew Zabolotny}{zap@cobra.ru}{2002/07/05}. % \begingroup % \begin{macrocode} %<*lang3> %% %% x86masm definition (c) 2002 Andrew Zabolotny %% \lst@definelanguage[x86masm]{Assembler}% {morekeywords={al,ah,ax,eax,bl,bh,bx,ebx,cl,ch,cx,ecx,dl,dh,dx,edx,% si,esi,di,edi,bp,ebp,sp,esp,cs,ds,es,ss,fs,gs,cr0,cr1,cr2,cr3,% db0,db1,db2,db3,db4,db5,db6,db7,tr0,tr1,tr2,tr3,tr4,tr5,tr6,tr7,% st,aaa,aad,aam,aas,adc,add,and,arpl,bound,bsf,bsr,bswap,bt,btc,% btr,bts,call,cbw,cdq,clc,cld,cli,clts,cmc,cmp,cmps,cmpsb,cmpsw,% cmpsd,cmpxchg,cwd,cwde,daa,das,dec,div,enter,hlt,idiv,imul,in,% inc,ins,int,into,invd,invlpg,iret,ja,jae,jb,jbe,jc,jcxz,jecxz,% je,jg,jge,jl,jle,jna,jnae,jnb,jnbe,jnc,jne,jng,jnge,jnl,jnle,% jno,jnp,jns,jnz,jo,jp,jpe,jpo,js,jz,jmp,lahf,lar,lea,leave,lgdt,% lidt,lldt,lmsw,lock,lods,lodsb,lodsw,lodsd,loop,loopz,loopnz,% loope,loopne,lds,les,lfs,lgs,lss,lsl,ltr,mov,movs,movsb,movsw,% movsd,movsx,movzx,mul,neg,nop,not,or,out,outs,pop,popa,popad,% popf,popfd,push,pusha,pushad,pushf,pushfd,rcl,rcr,rep,repe,% repne,repz,repnz,ret,retf,rol,ror,sahf,sal,sar,sbb,scas,seta,% setae,setb,setbe,setc,sete,setg,setge,setl,setle,setna,setnae,% setnb,setnbe,setnc,setne,setng,setnge,setnl,setnle,setno,setnp,% setns,setnz,seto,setp,setpe,setpo,sets,setz,sgdt,shl,shld,shr,% shrd,sidt,sldt,smsw,stc,std,sti,stos,stosb,stosw,stosd,str,sub,% test,verr,verw,wait,wbinvd,xadd,xchg,xlatb,xor,fabs,fadd,fbld,% fbstp,fchs,fclex,fcom,fcos,fdecstp,fdiv,fdivr,ffree,fiadd,ficom,% fidiv,fidivr,fild,fimul,fincstp,finit,fist,fisub,fisubr,fld,fld1,% fldl2e,fldl2t,fldlg2,fldln2,fldpi,fldz,fldcw,fldenv,fmul,fnop,% fpatan,fprem,fprem1,fptan,frndint,frstor,fsave,fscale,fsetpm,% fsin,fsincos,fsqrt,fst,fstcw,fstenv,fstsw,fsub,fsubr,ftst,fucom,% fwait,fxam,fxch,fxtract,fyl2x,fyl2xp1,f2xm1},% morekeywords=[2]{.align,.alpha,assume,byte,code,comm,comment,.const,% .cref,.data,.data?,db,dd,df,dosseg,dq,dt,dw,dword,else,end,endif,% endm,endp,ends,eq,equ,.err,.err1,.err2,.errb,.errdef,.errdif,% .erre,.erridn,.errnb,.errndef,.errnz,event,exitm,extrn,far,% .fardata,.fardata?,fword,ge,group,gt,high,if,if1,if2,ifb,ifdef,% ifdif,ife,ifidn,ifnb,ifndef,include,includelib,irp,irpc,label,% .lall,le,length,.lfcond,.list,local,low,lt,macro,mask,mod,.model,% name,ne,near,offset,org,out,page,proc,ptr,public,purge,qword,.% radix,record,rept,.sall,seg,segment,.seq,.sfcond,short,size,% .stack,struc,subttl,tbyte,.tfcond,this,title,type,.type,width,% word,.xall,.xcref,.xlist},% alsoletter=.,alsodigit=?,% sensitive=f,% morestring=[b]",% morestring=[b]',% morecomment=[l];% }[keywords,comments,strings] % % \end{macrocode} % \endgroup % % % \subsection{Awk} % % Thanks to \lstthanks{Dr.~Christoph~Giess}{Ch.Giess@gmx.de}{2003/07/15} for % providing these definitions. % \begingroup % \begin{macrocode} %<*lang1> %% %% awk definitions (c) Christoph Giess %% \lst@definelanguage[gnu]{Awk}[POSIX]{Awk}% {morekeywords={and,asort,bindtextdomain,compl,dcgettext,gensub,% lshift,mktime,or,rshift,strftime,strtonum,systime,xor,extension}% }% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[POSIX]{Awk}% {keywords={BEGIN,END,close,getline,next,nextfile,print,printf,% system,fflush,atan2,cos,exp,int,log,rand,sin,sqrt,srand,gsub,% index,length,match,split,sprintf,strtonum,sub,substr,tolower,% toupper,if,while,do,for,break,continue,delete,exit,function,% return},% sensitive,% morecomment=[l]\#,% morecomment=[l]//,% morecomment=[s]{/*}{*/},% morestring=[b]"% }[keywords,comments,strings]% % % \end{macrocode} % \endgroup % % % \subsection{Basic} % % Credits go to \lstthanks{Robert Frank}{rf7@ukc.ac.uk}{2002/07/05}. % \begingroup % \begin{macrocode} %<*lang1> %% %% Visual Basic definition (c) 2002 Robert Frank %% \lst@definelanguage[Visual]{Basic} {morekeywords={Abs,Array,Asc,AscB,AscW,Atn,Avg,CBool,CByte,CCur,% CDate,CDbl,Cdec,Choose,Chr,ChrB,ChrW,CInt,CLng,Command,Cos,% Count,CreateObject,CSng,CStr,CurDir,CVar,CVDate,CVErr,Date,% DateAdd,DateDiff,DatePart,DateSerial,DateValue,Day,DDB,Dir,% DoEvents,Environ,EOF,Error,Exp,FileAttr,FileDateTime,FileLen,% Fix,Format,FreeFile,FV,GetAllStrings,GetAttr,% GetAutoServerSettings,GetObject,GetSetting,Hex,Hour,IIf,% IMEStatus,Input,InputB,InputBox,InStr,InstB,Int,Integer,IPmt,% IsArray,IsDate,IsEmpty,IsError,IsMissing,IsNull,IsNumeric,% IsObject,LBound,LCase,Left,LeftB,Len,LenB,LoadPicture,Loc,LOF,% Log,Ltrim,Max,Mid,MidB,Min,Minute,MIRR,Month,MsgBox,Now,NPer,% NPV,Oct,Partition,Pmt,PPmt,PV,QBColor,Rate,RGB,Right,RightB,Rnd,% Rtrim,Second,Seek,Sgn,Shell,Sin,SLN,Space,Spc,Sqr,StDev,StDevP,% Str,StrComp,StrConv,String,Switch,Sum,SYD,Tab,Tan,Time,Timer,% TimeSerial,TimeValue,Trim,TypeName,UBound,Ucase,Val,Var,VarP,% VarType,Weekday,Year},% functions morekeywords=[2]{Accept,Activate,Add,AddCustom,AddFile,AddFromFile,% AddFromTemplate,AddItem,AddNew,AddToAddInToolbar,% AddToolboxProgID,Append,AppendChunk,Arrange,Assert,AsyncRead,% BatchUpdate,BeginTrans,Bind,Cancel,CancelAsyncRead,CancelBatch,% CancelUpdate,CanPropertyChange,CaptureImage,CellText,CellValue,% Circle,Clear,ClearFields,ClearSel,ClearSelCols,Clone,Close,Cls,% ColContaining,ColumnSize,CommitTrans,CompactDatabase,Compose,% Connect,Copy,CopyQueryDef,CreateDatabase,CreateDragImage,% CreateEmbed,CreateField,CreateGroup,CreateIndex,CreateLink,% CreatePreparedStatement,CreatePropery,CreateQuery,% CreateQueryDef,CreateRelation,CreateTableDef,CreateUser,% CreateWorkspace,Customize,Delete,DeleteColumnLabels,% DeleteColumns,DeleteRowLabels,DeleteRows,DoVerb,Drag,Draw,Edit,% EditCopy,EditPaste,EndDoc,EnsureVisible,EstablishConnection,% Execute,ExtractIcon,Fetch,FetchVerbs,Files,FillCache,Find,% FindFirst,FindItem,FindLast,FindNext,FindPrevious,Forward,% GetBookmark,GetChunk,GetClipString,GetData,GetFirstVisible,% GetFormat,GetHeader,GetLineFromChar,GetNumTicks,GetRows,% GetSelectedPart,GetText,GetVisibleCount,GoBack,GoForward,Hide,% HitTest,HoldFields,Idle,InitializeLabels,InsertColumnLabels,% InsertColumns,InsertObjDlg,InsertRowLabels,InsertRows,Item,% KillDoc,Layout,Line,LinkExecute,LinkPoke,LinkRequest,LinkSend,% Listen,LoadFile,LoadResData,LoadResPicture,LoadResString,% LogEvent,MakeCompileFile,MakeReplica,MoreResults,Move,MoveData,% MoveFirst,MoveLast,MoveNext,MovePrevious,NavigateTo,NewPage,% NewPassword,NextRecordset,OLEDrag,OnAddinsUpdate,OnConnection,% OnDisconnection,OnStartupComplete,Open,OpenConnection,% OpenDatabase,OpenQueryDef,OpenRecordset,OpenResultset,OpenURL,% Overlay,PaintPicture,Paste,PastSpecialDlg,PeekData,Play,Point,% PopulatePartial,PopupMenu,Print,PrintForm,PropertyChanged,Pset,% Quit,Raise,RandomDataFill,RandomFillColumns,RandomFillRows,% rdoCreateEnvironment,rdoRegisterDataSource,ReadFromFile,% ReadProperty,Rebind,ReFill,Refresh,RefreshLink,RegisterDatabase,% Reload,Remove,RemoveAddInFromToolbar,RemoveItem,Render,% RepairDatabase,Reply,ReplyAll,Requery,ResetCustom,% ResetCustomLabel,ResolveName,RestoreToolbar,Resync,Rollback,% RollbackTrans,RowBookmark,RowContaining,RowTop,Save,SaveAs,% SaveFile,SaveToFile,SaveToolbar,SaveToOle1File,Scale,ScaleX,% ScaleY,Scroll,Select,SelectAll,SelectPart,SelPrint,Send,% SendData,Set,SetAutoServerSettings,SetData,SetFocus,SetOption,% SetSize,SetText,SetViewport,Show,ShowColor,ShowFont,ShowHelp,% ShowOpen,ShowPrinter,ShowSave,ShowWhatsThis,SignOff,SignOn,Size,% Span,SplitContaining,StartLabelEdit,StartLogging,Stop,% Synchronize,TextHeight,TextWidth,ToDefaults,TwipsToChartPart,% TypeByChartType,Update,UpdateControls,UpdateRecord,UpdateRow,% Upto,WhatsThisMode,WriteProperty,ZOrder},% methods morekeywords=[3]{AccessKeyPress,AfterAddFile,AfterChangeFileName,% AfterCloseFile,AfterColEdit,AfterColUpdate,AfterDelete,% AfterInsert,AfterLabelEdit,AfterRemoveFile,AfterUpdate,% AfterWriteFile,AmbienChanged,ApplyChanges,Associate,% AsyncReadComplete,AxisActivated,AxisLabelActivated,% AxisLabelSelected,AxisLabelUpdated,AxisSelected,% AxisTitleActivated,AxisTitleSelected,AxisTitleUpdated,% AxisUpdated,BeforeClick,BeforeColEdit,BeforeColUpdate,% BeforeConnect,BeforeDelete,BeforeInsert,BeforeLabelEdit,% BeforeLoadFile,BeforeUpdate,ButtonClick,ButtonCompleted,% ButtonGotFocus,ButtonLostFocus,Change,ChartActivated,% ChartSelected,ChartUpdated,Click,ColEdit,Collapse,ColResize,% ColumnClick,Compare,ConfigChageCancelled,ConfigChanged,% ConnectionRequest,DataArrival,DataChanged,DataUpdated,DblClick,% Deactivate,DeviceArrival,DeviceOtherEvent,DeviceQueryRemove,% DeviceQueryRemoveFailed,DeviceRemoveComplete,DeviceRemovePending,% DevModeChange,Disconnect,DisplayChanged,Dissociate,% DoGetNewFileName,Done,DonePainting,DownClick,DragDrop,DragOver,% DropDown,EditProperty,EnterCell,EnterFocus,Event,ExitFocus,% Expand,FootnoteActivated,FootnoteSelected,FootnoteUpdated,% GotFocus,HeadClick,InfoMessage,Initialize,IniProperties,% ItemActivated,ItemAdded,ItemCheck,ItemClick,ItemReloaded,% ItemRemoved,ItemRenamed,ItemSeletected,KeyDown,KeyPress,KeyUp,% LeaveCell,LegendActivated,LegendSelected,LegendUpdated,% LinkClose,LinkError,LinkNotify,LinkOpen,Load,LostFocus,% MouseDown,MouseMove,MouseUp,NodeClick,ObjectMove,% OLECompleteDrag,OLEDragDrop,OLEDragOver,OLEGiveFeedback,% OLESetData,OLEStartDrag,OnAddNew,OnComm,Paint,PanelClick,% PanelDblClick,PathChange,PatternChange,PlotActivated,% PlotSelected,PlotUpdated,PointActivated,PointLabelActivated,% PointLabelSelected,PointLabelUpdated,PointSelected,% PointUpdated,PowerQuerySuspend,PowerResume,PowerStatusChanged,% PowerSuspend,QueryChangeConfig,QueryComplete,QueryCompleted,% QueryTimeout,QueryUnload,ReadProperties,Reposition,% RequestChangeFileName,RequestWriteFile,Resize,ResultsChanged,% RowColChange,RowCurrencyChange,RowResize,RowStatusChanged,% SelChange,SelectionChanged,SendComplete,SendProgress,% SeriesActivated,SeriesSelected,SeriesUpdated,SettingChanged,% SplitChange,StateChanged,StatusUpdate,SysColorsChanged,% Terminate,TimeChanged,TitleActivated,TitleSelected,% TitleActivated,UnboundAddData,UnboundDeleteRow,% UnboundGetRelativeBookmark,UnboundReadData,UnboundWriteData,% Unload,UpClick,Updated,Validate,ValidationError,WillAssociate,% WillChangeData,WillDissociate,WillExecute,WillUpdateRows,% WithEvents,WriteProperties},% VB-events morekeywords=[4]{AppActivate,Base,Beep,Call,Case,ChDir,ChDrive,% Const,Declare,DefBool,DefByte,DefCur,DefDate,DefDbl,DefDec,% DefInt,DefLng,DefObj,DefSng,DefStr,Deftype,DefVar,DeleteSetting,% Dim,Do,Else,ElseIf,End,Enum,Erase,Event,Exit,Explicit,FileCopy,% For,ForEach,Friend,Function,Get,GoSub,GoTo,If,Implements,Kill,% Let,LineInput,Lock,Lset,MkDir,Name,Next,OnError,On,Option,% Private,Property,Public,Put,RaiseEvent,Randomize,ReDim,Rem,% Reset,Resume,Return,RmDir,Rset,SavePicture,SaveSetting,% SendKeys,SetAttr,Static,Sub,Then,Type,Unlock,Wend,While,Width,% With,Write},% statements sensitive=false,% keywordcomment=rem,% MoreSelectCharTable=\def\lst@BeginKC@{% chmod \lst@ResetToken \lst@BeginComment\lst@GPmode{{\lst@commentstyle}% \lst@Lmodetrue\lst@modetrue}\@empty},% morecomment=[l]{'},% morecomment=[s]{/*}{*/},% morestring=[b]",% }[keywords,comments,strings,keywordcomments] % % \end{macrocode} % Thanks to \lsthelper{Jonathan~de~Halleux}{dehalleux@pelikhan.com} % {2002/12/27}{missing comma} for reporting a missing comma after % \texttt{MoreSelectCharTable}, which was the cause of a problem % reported by \lsthelper{Robert~Frank}{rf7@ukc.ac.uk}{2002/10/27} % {indention with language={[Visual]Basic} in optional argument}. % \lsthelper{Martina~Hansel}{Martina.Hansel@fhtw-berlin.de}{2003/05/29} % {missing comma} also found the bug and the fix. % \endgroup % % % \subsection{Clean} % % Thanks to \lstthanks{Jos\'e~Romildo~Malaquias}{romildo@iceb.ufop.br}{2000/08/08}. % \lsthelper{Markus~Pahlow}{pahlowm@mar.dfo-mpo.gc.ca}{2001/10/12}{missing comma} % found a missing comma % \begingroup % \begin{macrocode} %<*lang3> %% %% Clean definition (c) 1999 Jos\'e Romildo Malaquias %% %% Clean 1.3 : some standard functional language: pure, lazy, %% polymorphic type system, modules, type classes, %% garbage collection, functions as first class citizens %% \lst@definelanguage{Clean}% {otherkeywords={:,::,=,:==,=:,=>,->,<-,<-:,\{,\},\{|,|\},\#,\#!,|,\&,% [,],!,.,\\\\,;,_},% morekeywords={from,definition,implementation,import,module,system,% case,code,if,in,let,let!,of,where,with,infix,infixl,infixr},% morendkeywords={True,False,Start,Int,Real,Char,Bool,String,World,% File,ProcId},% sensitive,% morecomment=[l]//,% missing comma: Markus Pahlow morecomment=[n]{/*}{*/},% morestring=[b]"% }[keywords,comments,strings]% % % \end{macrocode} % \endgroup % % % \subsection{Corba IDL} % % This language definition is due to \lstthanks{Jens~T.~Berger~Thielemann} % {jensthi@ifi.uio.no}{1999/11/28}. % \begingroup % \begin{macrocode} %<*lang2> %% %% Corba IDL definition (c) 1999 Jens T. Berger Thielemann %% \lst@definelanguage[CORBA]{IDL}% {morekeywords={any,attribute,boolean,case,char,const,context,default,% double,enum,exception,fixed,float,in,inout,interface,long,module,% native,Object,octet,oneway,out,raises,readonly,sequence,short,% string,struct,switch,typedef,union,unsigned,void,wchar,wstring,% FALSE,TRUE},% sensitive,% moredirectives={define,elif,else,endif,error,if,ifdef,ifndef,line,% include,pragma,undef,warning},% moredelim=*[directive]\#,% morecomment=[l]//,% morecomment=[s]{/*}{*/},% morestring=[b]"% }[keywords,comments,strings]% % % \end{macrocode} % \endgroup % % % \subsection{C, C++, et al} % % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % For compatibility the `ANSI' language is defined in terms of ISO. % \begin{macrocode} \lst@definelanguage[ANSI]{C++}[ISO]{C++}{}% % \end{macrocode} % \lstthanks{Michael Piefel}{piefel@informatik.hu-berlin.de}{2001/11/21} % suggested some more changes and added GNU C++. % \begin{macrocode} \lst@definelanguage[GNU]{C++}[ISO]{C++}% {morekeywords={__attribute__,__extension__,__restrict,__restrict__,% typeof,__typeof__},% }% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[Visual]{C++}[ISO]{C++}% {morekeywords={__asm,__based,__cdecl,__declspec,dllexport,% dllimport,__except,__fastcall,__finally,__inline,__int8,__int16,% __int32,__int64,naked,__stdcall,thread,__try,__leave},% }% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[ISO]{C++}[ANSI]{C}% {morekeywords={and,and_eq,asm,bad_cast,bad_typeid,bitand,bitor,bool,% catch,class,compl,const_cast,delete,dynamic_cast,explicit,export,% false,friend,inline,mutable,namespace,new,not,not_eq,operator,or,% or_eq,private,protected,public,reinterpret_cast,static_cast,% template,this,throw,true,try,typeid,type_info,typename,using,% virtual,wchar_t,xor,xor_eq},% }% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % Objective-C is due to \lstthanks{Detlev~Dr\"oge} %{droege@informatik.uni-koblenz.de}{1997/11/04}. % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \begin{macrocode} %% %% Objective-C definition (c) 1997 Detlev Droege %% \lst@definelanguage[Objective]{C}[ANSI]{C} {morekeywords={bycopy,id,in,inout,oneway,out,self,super,% @class,@defs,@encode,@end,@implementation,@interface,@private,% @protected,@protocol,@public,@selector},% moredirectives={import}% }% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \begin{macrocode} \lst@definelanguage[ANSI]{C}% {morekeywords={auto,break,case,char,const,continue,default,do,double,% else,enum,extern,float,for,goto,if,int,long,register,return,% short,signed,sizeof,static,struct,switch,typedef,union,unsigned,% void,volatile,while},% sensitive,% morecomment=[s]{/*}{*/},% morecomment=[l]//,% nonstandard morestring=[b]",% morestring=[b]',% moredelim=*[directive]\#,% moredirectives={define,elif,else,endif,error,if,ifdef,ifndef,line,% include,pragma,undef,warning}% }[keywords,comments,strings,directives]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % Thanks go to \lstthanks{Martin~Brodbeck}{Martin.Brodbeck@gmx.de}{2002/03/17}. % \begin{macrocode} %% %% C-Sharp definition (c) 2002 Martin Brodbeck %% \lst@definelanguage[Sharp]{C}% {morekeywords={abstract,base,bool,break,byte,case,catch,char,checked,% class,const,continue,decimal,default,delegate,do,double,else,% enum,event,explicit,extern,false,finally,fixed,float,for,foreach,% goto,if,implicit,in,int,interface,internal,is,lock,long,% namespace,new,null,object,operator,out,override,params,private,% protected,public,readonly,ref,return,sbyte,sealed,short,sizeof,% static,string,struct,switch,this,throw,true,try,typeof,uint,% ulong,unchecked,unsafe,ushort,using,virtual,void,while},% sensitive,% morecomment=[s]{/*}{*/},% morecomment=[l]//,% morestring=[b]" }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Caml and Objective Caml} % % \lstthanks{Patrick~Cousot}{Patrick.Cousot@wanadoo.fr}{1999/01/09} mailed me % the definition. \lsthelper{Tom~Hirschowitz}{tom.hirschowitz@inria.fr} % {2003/05/27}{missing keywords: object, ref} added two keywords. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% (Objective) Caml definition (c) 1999 Patrick Cousot %% %% Objective CAML and Caml light are freely available, together with a %% reference manual, at URL ftp.inria.fr/lang/caml-light for the Unix, %% Windows and Macintosh OS operating systems. %% \lst@definelanguage[Objective]{Caml}[light]{Caml} {deletekeywords={not,prefix,value,where},% morekeywords={assert,asr,class,closed,constraint,external,false,% functor,include,inherit,land,lazy,lor,lsl,lsr,lxor,method,mod,% module,new,open,parser,private,sig,struct,true,val,virtual,when,% object,ref},% TH }% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[light]{Caml} {morekeywords={and,as,begin,do,done,downto,else,end,exception,for,% fun,function,if,in,let,match,mutable,not,of,or,prefix,rec,then,% to,try,type,value,where,while,with},% sensitive,% morecomment=[n]{(*}{*)},% morestring=[b]",% moredelim=*[directive]\#,% moredirectives={open,close,include}% }[keywords,comments,strings,directives]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Cobol} % % Keywords are not marked if their names are broken by EOL, for example DEBUG- % CONTENTS. Sometimes portions of a string are not printed as a string. % This happens if the double quote is not doubled to insert a quote, % e.g.~|""bad" cobol"| won't be printed correctly. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} \lst@definelanguage[ibm]{Cobol}[1985]{Cobol}% {morekeywords={ADDRESS,BEGINNING,COMP-3,COMP-4,COMPUTATIONAL,% COMPUTATIONAL-3,COMPUTATIONAL-4,DISPLAY-1,EGCS,EJECT,ENDING,% ENTRY,GOBACK,ID,MORE-LABELS,NULL,NULLS,PASSWORD,RECORDING,% RETURN-CODE,SERVICE,SKIP1,SKIP2,SKIP3,SORT-CONTROL,SORT-RETURN,% SUPPRESS,TITLE,WHEN-COMPILED},% }% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[1985]{Cobol}[1974]{Cobol}% {morekeywords={ALPHABET,ALPHABETIC-LOWER,ALPHABETIC-UPPER,% ALPHANUMERIC,ALPHANUMERIC-EDITED,ANY,CLASS,COMMON,CONTENT,% CONTINUE,DAY-OF-WEEK,END-ADD,END-CALL,END-COMPUTE,END-DELETE,% END-DIVIDE,END-EVALUATE,END-IF,END-MULTIPLY,END-PERFORM,END-READ,% END-RECEIVE,END-RETURN,END-REWRITE,END-SEARCH,END-START,% END-STRING,END-SUBTRACT,END-UNSTRING,END-WRITE,EVALUATE,EXTERNAL,% FALSE,GLOBAL,INITIALIZE,NUMERIC-EDITED,ORDER,OTHER,% PACKED-DECIMAL,PADDING,PURGE,REFERENCE,RELOAD,REPLACE,STANDARD-1,% STANDARD-2,TEST,THEN,TRUE},% }% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[1974]{Cobol}% {morekeywords={ACCEPT,ACCESS,ADD,ADVANCING,AFTER,ALL,ALPHABETIC,ALSO,% ALTER,ALTERNATE,AND,ARE,AREA,AREAS,ASCENDING,ASSIGN,AT,AUTHOR,% BEFORE,BINARY,BLANK,BLOCK,BOTTOM,BY,CALL,CANCEL,CD,CF,CH,% CHARACTER,CHARACTERS,CLOCK-UNITS,CLOSE,COBOL,CODE,CODE-SET,% COLLATING,COLUMN,COMMA,COMMUNICATION,COMP,COMPUTE,CONFIGURATION,% CONTAINS,CONTROL,CONTROLS,CONVERTING,COPY,CORR,CORRESPONDING,% COUNT,CURRENCY,DATA,DATE,DATE-COMPILED,DATE-WRITTEN,DAY,DE,% DEBUG-CONTENTS,DEGUB-ITEM,DEBUG-LINE,DEBUG-NAME,DEBUG-SUB1,% DEBUG-SUB2,DEBUG-SUB3,DEBUGGING,DECIMAL-POINT,DECLARATIVES,% DELETE,DELIMITED,DELIMITER,DEPENDING,DESCENDING,DESTINATION,% DETAIL,DISABLE,DISPLAY,DIVIDE,DIVISION,DOWN,DUPLICATES,DYNAMIC,% EGI,ELSE,EMI,ENABLE,END,END-OF-PAGE,ENTER,ENVIRONMENT,EOP,EQUAL,% ERROR,ESI,EVERY,EXCEPTION,EXIT,EXTEND,FD,FILE,FILE-CONTROL,% FILLER,FINAL,FIRST,FOOTING,FOR,FROM,GENERATE,GIVING,GO,GREATER,% GROUP,HEADING,HIGH-VALUE,HIGH-VALUES,I-O,I-O-CONTROL,% IDENTIFICATION,IF,IN,INDEX,INDEXED,INDICATE,INITIAL,INITIATE,% INPUT,INPUT-OUTPUT,INSPECT,INSTALLATION,INTO,INVALID,IS,JUST,% JUSTIFIED,KEY,LABEL,LAST,LEADING,LEFT,LENGTH,LESS,LIMIT,LIMITS,% LINAGE,LINAGE-COUNTER,LINE,LINE-COUNTER,LINES,LINKAGE,LOCK,% LOW-VALUE,LOW-VALUES,MEMORY,MERGE,MESSAGE,MODE,MODULES,MOVE,% MULTIPLE,MULTIPLY,NATIVE,NEGATIVE,NEXT,NO,NOT,NUMBER,NUMERIC,% OBJECT-COMPUTER,OCCURS,OF,OFF,OMITTED,ON,OPEN,OPTIONAL,OR,% ORGANIZATION,OUTPUT,OVERFLOW,PAGE,PAGE-COUNTER,PERFORM,PF,PH,PIC,% PICTURE,PLUS,POINTER,POSITION,PRINTING,POSITIVE,PRINTING,% PROCEDURE,PROCEDURES,PROCEED,PROGRAM,PROGRAM-ID,QUEUE,QUOTE,% QUOTES,RANDOM,RD,READ,RECEIVE,RECORD,RECORDING,RECORDS,REDEFINES,% REEL,REFERENCES,RELATIVE,RELEASE,REMAINDER,REMOVAL,RENAMES,% REPLACING,REPORT,REPORTING,REPORTS,RERUN,RESERVE,RESET,RETURN,% REVERSED,REWIND,REWRITE,RF,RH,RIGHT,ROUNDED,RUN,SAME,SD,SEARCH,% SECTION,SECURITY,SEGMENT,SEGMENT-LIMIT,SELECT,SEND,SENTENCE,% SEPARATE,SEQUENCE,SEQUENTIAL,SET,SIGN,SIZE,SORT,SORT-MERGE,% SOURCE,SOURCE-COMPUTER,SPACE,SPACES,SPECIAL-NAMES,STANDARD,START,% STATUS,STOP,STRING,SUB-QUEUE-1,SUB-QUEUE-2,SUB-QUEUE-3,SUBTRACT,% SUM,SYMBOLIC,SYNC,SYNCHRONIZED,TABLE,TALLYING,TAPE,TERMINAL,% TERMINATE,TEXT,THAN,THROUGH,THRU,TIME,TIMES,TO,TOP,TRAILING,TYPE,% UNIT,UNSTRING,UNTIL,UP,UPON,USAGE,USE,USING,VALUE,VALUES,VARYING,% WHEN,WITH,WORDS,WORKING-STORAGE,WRITE,ZERO,ZEROES,ZEROS},% alsodigit=-,% sensitive=f,% ??? morecomment=[f][commentstyle][6]*,% morestring=[d]"% ??? doubled }[keywords,comments,strings]% % \end{macrocode} % \texttt{commentstyle} (not the surrounding brackets) have been added after % a bug report by \lsthelper{Stephen Reindl}{Stephen.Reindl@vodafone.de} % {2002/05/28}{no commentstyle in Cobol}. % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Comal 80} % % The data is from % \begin{itemize} % \item % \textsc{Borge R. Christensen}: % \textbf{Strukturierte Programmierung mit COMAL 80} [aus dem % D\"anischen \"ubertragen und bearbeitet von Margarete Kragh]; % 2., verb.\ Auflage -- M\"unchen; Wien: Oldenburg, 1985; % ISBN 3-486-26902-X. % \end{itemize} % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Comal 80}% {morekeywords={AND,AUTO,CASE,DATA,DEL,DIM,DIV,DO,ELSE,ENDCASE,ENDIF,% ENDPROC,ENDWHILE,EOD,EXEC,FALSE,FOR,GOTO,IF,INPUT,INT,LIST,LOAD,% MOD,NEW,NEXT,NOT,OF,OR,PRINT,PROC,RANDOM,RENUM,REPEAT,RND,RUN,% SAVE,SELECT,STOP,TAB,THEN,TRUE,UNTIL,WHILE,ZONE},% sensitive=f,% ??? morecomment=[l]//,% morestring=[d]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{C-Shell} % % This language is from \lstthanks{Kai~Below}{below@tu-harburg.de}{1998/09/21}, % but he pointed out that some keywords are probably missing. % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \begin{macrocode} %% %% csh definition (c) 1998 Kai Below %% \lst@definelanguage{csh} {morekeywords={alias,awk,cat,echo,else,end,endif,endsw,exec,exit,% foreach,glob,goto,history,if,logout,nice,nohup,onintr,repeat,sed,% set,setenv,shift,source,switch,then,time,while,umask,unalias,% unset,wait,while,@,env,argv,child,home,ignoreeof,noclobber,% noglob,nomatch,path,prompt,shell,status,verbose,print,printf,% sqrt,BEGIN,END},% morecomment=[l]\#,% morestring=[d]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Delphi} % % I took the data from Delphi 1.0 (?) online help. % \lstthanks{Christian~Gudrian}{chrigu@kawo1.rwth-aachen.de}{2001/08/16} % provided the `double slash' comment. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Delphi}% {morekeywords={and,as,asm,array,begin,case,class,const,constructor,% destructor,div,do,downto,else,end,except,exports,file,finally,% for,function,goto,if,implementation,in,inherited,inline,% initialization,interface,is,label,library,mod,nil,not,object,of,% or,packed,procedure,program,property,raise,record,repeat,set,% shl,shr,string,then,to,try,type,unit,until,uses,var,while,with,% xor,% absolute,abstract,assembler,at,cdecl,default,dynamic,export,% external,far,forward,index,name,near,nodefault,on,override,% private,protected,public,published,read,resident,storedDir,% virtual,write},% morendkeywords={Abs,AddExitProc,Addr,AllocMem,AnsiCompareStr,% AnsiCompareText,AnsiLowerCase,AnsiUpperCase,Append,AppendStr,% ArcTan,AssignCrt,Assigned,AssignFile,BlockRead,BlockWrite,Break,% ChangeFileExt,ChDir,Chr,CloseFile,ClrEol,ClrScr,Concat,Continue,% Copy,Cos,CSeg,CursorTo,Date,DateTimeToFileDate,DateTimeToStr,% DateTimeToString,DateToStr,DayOfWeek,Dec,DecodeDate,DecodeTime,% Delete,DeleteFile,DiskFree,DiskSize,Dispose,DisposeStr,% DoneWinCrt,DSeg,EncodeDate,EncodeTime,Eof,Eoln,Erase,Exclude,% Exit,Exp,ExpandFileName,ExtractFileExt,ExtractFileName,% ExtractFilePath,FileAge,FileClose,FileDateToDateTime,FileExists,% FileGetAttr,FileGetDate,FileOpen,FilePos,FileRead,FileSearch,% FileSeek,FileSetAttr,FileSetDate,FileSize,FillChar,FindClose,% FindFirst,FindNext,FloatToDecimal,FloatToStrF,FloatToStr,% FloatToText,FloatToTextFmt,Flush,FmtLoadStr,FmtStr,Format,% FormatBuf,FormatDateTime,FormatFloat,Frac,Free,FreeMem,GetDir,% GetMem,GotoXY,Halt,Hi,High,Inc,Include,InitWinCrt,Insert,Int,% IntToHex,IntToStr,IOResult,IsValidIdent,KeyPressed,Length,Ln,Lo,% LoadStr,Low,LowerCase,MaxAvail,MemAvail,MkDir,Move,New,NewStr,% Now,Odd,Ofs,Ord,ParamCount,ParamStr,Pi,Pos,Pred,Ptr,Random,% Randomize,Read,ReadBuf,ReadKey,Readln,ReAllocMem,Rename,% RenameFile,Reset,Rewrite,RmDir,Round,RunError,ScrollTo,Seek,% SeekEof,SeekEoln,Seg,SetTextBuf,Sin,SizeOf,SPtr,Sqr,Sqrt,SSeg,% Str,StrCat,StrComp,StrCopy,StrDispose,StrECopy,StrEnd,StrFmt,% StrLCat,StrIComp,StrLComp,StrLCopy,StrLen,StrLFmt,StrLIComp,% StrLower,StrMove,StrNew,StrPas,StrPCopy,StrPos,StrScan,StrRScan,% StrToDate,StrToDateTime,StrToFloat,StrToInt,StrToIntDef,% StrToTime,StrUpper,Succ,Swap,TextToFloat,Time,TimeToStr,% TrackCursor,Trunc,Truncate,TypeOf,UpCase,UpperCase,Val,WhereX,% WhereY,Write,WriteBuf,WriteChar,Writeln},% sensitive=f,% morecomment=[s]{(*}{*)},% morecomment=[s]{\{}{\}},% morecomment=[l]{//},% 2001 Christian Gudrian morestring=[d]'% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Eiffel} % % Data is from % \begin{itemize} % \item % \textsc{Bertrand Meyer}: \textbf{Eiffel: the language}; % Prentice Hall International (UK) Ldt, 1992; % ISBN 0-13-247925-7. % \end{itemize} % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Eiffel}% {morekeywords={alias,all,and,as,BIT,BOOLEAN,CHARACTER,check,class,% creation,Current,debug,deferred,do,DOUBLE,else,elseif,end,% ensure,expanded,export,external,false,feature,from,frozen,if,% implies,indexing,infix,inherit,inspect,INTEGER,invariant,is,% like,local,loop,NONE,not,obsolete,old,once,or,POINTER,prefix,% REAL,redefine,rename,require,rescue,Result,retry,select,% separate,STRING,strip,then,true,undefine,unique,until,variant,% when,xor},% sensitive,% morecomment=[l]--,% morestring=[d]",% }[keywords,comments,strings]% % \end{macrocode} % The key=value \texttt{stringtest=false} has been removed after a bug % report from \lsthelper{Xavier~Cr\'egut}{cregut@enseeiht.fr}{2002/09/09} % {stringtest no more part of package}. % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Elan} % % The data come from % \begin{itemize} % \item % \textsc{Leo~H.~Klingen, Jochen Liedtke}: % \textbf{Programmieren mit ELAN}; % B.G.\ Teubner, Stuttgart 1983; ISBN 3-519-02507-8. % \end{itemize} % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Elan}% {morekeywords={ABS,AND,BOOL,CAND,CASE,CAT,COLUMNS,CONCR,CONJ,CONST,% COR,DECR,DEFINES,DET,DIV,DOWNTO,ELIF,ELSE,END,ENDIF,ENDOP,% ENDPACKET,ENDPROC,ENDREP,ENDSELECT,FALSE,FI,FILE,FOR,FROM,IF,% INCR,INT,INV,LEAVE,LENGTH,LET,MOD,NOT,OF,OP,OR,OTHERWISE,PACKET,% PROC,REAL,REP,REPEAT,ROW,ROWS,SELECT,SIGN,STRUCT,SUB,TEXT,THEN,% TRANSP,TRUE,TYPE,UNTIL,UPTO,VAR,WHILE,WITH,XOR,% maxint,sign,abs,min,max,random,initializerandom,subtext,code,% replace,text,laenge,pos,compress,change,maxreal,smallreal,floor,% pi,e,ln,log2,log10,sqrt,exp,tan,tand,sin,sind,cos,cosd,arctan,% arctand,int,real,lastconversionok,put,putline,line,page,get,% getline,input,output,sequentialfile,maxlinelaenge,reset,eof,% close,complexzero,complexone,complexi,complex,realpart,imagpart,% dphi,phi,vector,norm,replace,matrix,idn,row,column,sub,% replacerow,replacecolumn,replaceelement,transp,errorsstop,stop},% sensitive,% morestring=[d]"% }[keywords,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Erlang} % % Thanks to \lstthanks{Daniel~Gazard}{gazard_d@epita.fr}{2003/05/31}. % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} %% %% Erlang definition (c) 2003 Daniel Gazard %% \lst@definelanguage{erlang}% {morekeywords={abs,after,and,apply,atom,atom_to_list,band,binary,% binary_to_list,binary_to_term,bor,bsl,bsr,bxor,case,catch,% date,div,element,erase,end,exit,export,float,float_to_list,% get,halt,hash,hd,if,info,import,integer,integer_to_list,% length,link,list,list_to_atom,list_to_float,list_to_integer,% list_to_tuple,module,node,nodes,now,of,or,pid,port,ports,% processes,put,receive,reference,register,registered,rem,% round,self,setelement,size,spawn,throw,time,tl,trace,trunc,% tuple,tuple_to_list,unlink,unregister,whereis,error,false,% infinity,nil,ok,true,undefined,when},% otherkeywords={->,!,[,],\{,\},},% morecomment=[l]\%,% morestring=[b]",% morestring=[b]'% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Euphoria} % % \lstthanks{Detlef~Reimers}{dreimers@aol.com}{1998/08/30} sent me the language % definition. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% Euphoria definition (c) 1998 Detlef Reimers %% \lst@definelanguage{Euphoria}% % for Euphoria 2.0, Rapid Deployment Software, Kanada {morekeywords={abort,and,and_bits,append,arctan,atom,by,call,% call_proc,call_func,c_proc,c_func,clear_screen,close,% command_line,compare,constant,cos,do,date,else,elsif,end,exit,% find,floor,for,function,getc,getenv,get_key,gets,global,% get_pixel,if,include,integer,length,log,match,machine_func,% machine_proc,mem_copy,mem_set,not,not_bits,or,object,open,% or_bits,procedure,puts,position,prepend,print,printf,power,peek,% poke,pixel,poke4,peek4s,peek4u,return,rand,repeat,remainder,% routine_id,sequence,sqrt,sin,system,sprintf,then,type,to,time,% trace,tan,while,with,without,xor,xor_bits},% sensitive,% morecomment=[l]--,% morestring=[d]',% morestring=[d]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Fortran} % % Took things from % \begin{itemize} % \item % \textsc{Karl Hans M\"uller}: % \textbf{Fortran 77: Programmierungsanleitung}; % 3., v\"ollig neu bearb.\ Aufl.\ -- Mannheim; Wien; Z\"urich: % Bibliographisches Institut, 1984; % ISBN 3-411-05804-8 % \item % \textsc{Thomas Michel}: \textbf{Fortran 90: Lehr-- und Handbuch}; % Mannheim; Leipzig; Wien; Z\"urich: BI-Wiss.-Verlag, 1994; % ISBN 3-411-16861-7. % \end{itemize} % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \lsthelper{Denis Girou}{Denis.Girou@idris.fr}{1998/07/26}{Fortran 95=90} % proposed to have Fortran 95 and Fortran 90 to be equivalent. % \begin{macrocode} \lst@definelanguage[90]{Fortran}[95]{Fortran}{} % \end{macrocode} % There is no |morecomment=[f]| in Fortran 90 since otherwise CONTAINS could % start a comment. This problem was reported by \lsthelper{Magne Rudshaug} % {magne@ife.no}{1998/01/09}{no morecomment=[f] in Fortran 90}. % Moreover the keyword INCLUDE is due to him. % \begin{macrocode} \lst@definelanguage[95]{Fortran}[77]{Fortran}% {deletekeywords=SAVE,% morekeywords={ACTION,ADVANCE,ALLOCATE,ALLOCATABLE,ASSIGNMENT,CASE,% CONTAINS,CYCLE,DEALLOCATE,DEFAULT,DELIM,EXIT,INCLUDE,IN,NONE,IN,% OUT,INTENT,INTERFACE,IOLENGTH,KIND,LEN,MODULE,NAME,NAMELIST,NMT,% NULLIFY,ONLY,OPERATOR,OPTIONAL,OUT,PAD,POINTER,POSITION,PRIVATE,% PUBLIC,READWRITE,RECURSIVE,RESULT,SELECT,SEQUENCE,SIZE,STAT,% TARGET,USE,WHERE,WHILE,BLOCKDATA,DOUBLEPRECISION,ELSEIF,% ENDBLOCKDATA,ENDDO,ENDFILE,ENDFUNCTION,ENDIF,ENDINTERFACE,% ENDMODULE,ENDPROGRAM,ENDSELECT,ENDSUBROUTINE,ENDTYPE,ENDWHERE,% GOTO,INOUT,SELECTCASE},% deletecomment=[f],% no fixed comment line: 1998 Magne Rudshaug morecomment=[l]!% }% % \end{macrocode} % As proposed by \lsthelper{J\"orn Wilms}{wilms@rocinante.colorado.edu} % {1997/07/07}{Fortran with \lstsensitivefalse} keywords are \emph{not} case % sensitive. % \begin{macrocode} \lst@definelanguage[77]{Fortran}% {morekeywords={ACCESS,ASSIGN,BACKSPACE,BLANK,BLOCK,CALL,CHARACTER,% CLOSE,COMMON,COMPLEX,CONTINUE,DATA,DIMENSION,DIRECT,DO,DOUBLE,% ELSE,END,ENTRY,EOF,EQUIVALENCE,ERR,EXIST,EXTERNAL,FILE,FMT,FORM,% FORMAT,FORMATTED,FUNCTION,GO,TO,IF,IMPLICIT,INQUIRE,INTEGER,% INTRINSIC,IOSTAT,LOGICAL,NAMED,NEXTREC,NUMBER,OPEN,OPENED,% PARAMETER,PAUSE,PRECISION,PRINT,PROGRAM,READ,REAL,REC,RECL,% RETURN,REWIND,SEQUENTIAL,STATUS,STOP,SUBROUTINE,THEN,TYPE,% UNFORMATTED,UNIT,WRITE,SAVE},% sensitive=f,%% not Fortran standard %% morecomment=[f]*,% morecomment=[f]C,% morecomment=[f]c,% morestring=[d]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Guarded Command Language (GCL)} % % As you can read below, \lstthanks{Mark~van~Eijk}{mark@luon.net}{2002/10/30} % provided this language definition. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% Guarded Command Language (GCL) definition %% (c) 2002 Mark van Eijk %% \lst@definelanguage{GCL}% {morekeywords={const,con,var,array,of,skip,if,fi,do,od,div,mod},% literate={|[}{\ensuremath{|\hskip -0.1em[}}2% {]|}{\ensuremath{]\hskip -0.1em|}}2% {[]}{\ensuremath{[\hskip -0.1em]}}2% {->}{\ensuremath{\rightarrow}~}2% {==}{\ensuremath{\equiv}~}2% {>=}{\ensuremath{\geq}~}2% {<=}{\ensuremath{\leq}~}2% {/\\}{\ensuremath{\land}~}2% {\\/}{\ensuremath{\lor}~}2% {!}{\ensuremath{\lnot}}1% {!=}{\ensuremath{\neq}~}2% {max}{\ensuremath{\uparrow}}1% {min}{\ensuremath{\downarrow}}1,% sensitive=f,% morecomment=[s]{\{}{\}},% morestring=[d]'% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Gnuplot} % % Thanks to \lsthelper{Dr.~Christoph~Giess}{Ch.Giess@gmx.de}{2003/07/15}{} for % providing this definition. % \begingroup % \begin{macrocode} %<*lang2> %% %% gnuplot definition (c) Christoph Giess %% \lst@definelanguage{Gnuplot}% {keywords={abs,acos,acosh,arg,asin,asinh,atan,atan2,atanh,besj0,% besj1,besy0,besy1,ceil,cos,cosh,erf,erfc,exp,floor,gamma,ibeta,% inverf,igamma,imag,invnorm,int,lgamma,log,log10,norm,rand,real,% sgn,sin,sinh,sqrt,tan,tanh,column,tm_hour,tm_mday,tm_min,tm_mon,% tm_sec,tm_wday,tm_yday,tm_year,valid,cd,call,clear,exit,fit,% help,if,load,pause,plot,print,pwd,quit,replot,reread,reset,save,% set,show,shell,splot,test,update,angles,arrow,autoscale,border,% boxwidth,clabel,clip,cntrparam,contour,data,dgrid3d,dummy,% format,function,functions,grid,hidden3d,isosamples,key,keytitle,% label,logscale,mapping,offsets,output,parametric,pointsize,% polar,rrange,samples,size,style,surface,terminal,tics,time,% timefmt,title,trange,urange,variables,view,vrange,xdata,xlabel,% xmargin,xrange,xtics,mxtics,mytics,xdtics,xmtics,xzeroaxis,% ydata,ylabel,yrange,ytics,ydtics,ymtics,yzeroaxis,zdata,zero,% zeroaxis,zlabel,zrange,ztics,zdtics,zmtics,timefm,using,title,% with,index,every,thru,smooth},% sensitive,% comment=[l]\#,% morestring=[b]",% morestring=[b]',% }[keywords,comments,strings]% % % \end{macrocode} % \endgroup % % % \subsection{Haskell} % % Thanks to \lstthanks{Peter~Bartke}{bartke@inf.fu-berlin.de}{1999/11/18} for % providing the new definition. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% Haskell98 as implemented in Hugs98. See http://www.haskell.org %% All keywords from Prelude and Standard Libraries %% (c) 1999 Peter Bartke %% \lst@definelanguage{Haskell}% {otherkeywords={=>},% morekeywords={abstype,if,then,else,case,class,data,default,deriving,% hiding,if,in,infix,infixl,infixr,import,instance,let,module,% newtype,of,qualified,type,where,do,AbsoluteSeek,AppendMode,% Array,BlockBuffering,Bool,BufferMode,Char,Complex,Double,Either,% FilePath,Float,Int,Integer,IO,IOError,Ix,LineBuffering,Maybe,% Ordering,NoBuffering,ReadMode,ReadWriteMode,ReadS,RelativeSeek,% SeekFromEnd,SeekMode,ShowS,StdGen,String,Void,Bounded,Enum,Eq,% Eval,ExitCode,exitFailure,exitSuccess,Floating,Fractional,% Functor,Handle,HandlePosn,IOMode,Integral,List,Monad,MonadPlus,% MonadZero,Num,Numeric,Ord,Random,RandomGen,Ratio,Rational,Read,% Real,RealFloat,RealFrac,Show,System,Prelude,EQ,False,GT,Just,% Left,LT,Nothing,Right,WriteMode,True,abs,accum,accumArray,% accumulate,acos,acosh,all,and,any,ap,appendFile,applyM,% approxRational,array,asTypeOf,asin,asinh,assocs,atan,atan2,atanh,% bounds,bracket,bracket_,break,catch,catMaybes,ceiling,chr,cis,% compare,concat,concatMap,conjugate,const,cos,cosh,curry,cycle,% decodeFloat,delete,deleteBy,deleteFirstsBy,denominator,% digitToInt,div,divMod,drop,dropWhile,either,elem,elems,elemIndex,% elemIndices,encodeFloat,enumFrom,enumFromThen,enumFromThenTo,% enumFromTo,error,even,exitFailure,exitWith,exp,exponent,fail,% filter,filterM,find,findIndex,findIndices,flip,floatDigits,% floatRadix,floatRange,floatToDigits,floor,foldl,foldM,foldl1,% foldr,foldr1,fromDouble,fromEnum,fromInt,fromInteger,% fromIntegral,fromJust,fromMaybe,fromRat,fromRational,% fromRealFrac,fst,gcd,genericLength,genericTake,genericDrop,% genericSplitAt,genericIndex,genericReplicate,getArgs,getChar,% getContents,getEnv,getLine,getProgName,getStdGen,getStdRandom,% group,groupBy,guard,hClose,hFileSize,hFlush,hGetBuffering,% hGetChar,hGetContents,hGetLine,hGetPosn,hIsClosed,hIsEOF,hIsOpen,% hIsReadable,hIsSeekable,hIsWritable,hLookAhead,hPutChar,hPutStr,% hPutStrLn,hPrint,hReady,hSeek,hSetBuffering,hSetPosn,head,% hugsIsEOF,hugsHIsEOF,hugsIsSearchErr,hugsIsNameErr,% hugsIsWriteErr,id,ioError,imagPart,index,indices,init,inits,% inRange,insert,insertBy,interact,intersect,intersectBy,% intersperse,intToDigit,ioeGetErrorString,ioeGetFileName,% ioeGetHandle,isAlreadyExistsError,isAlreadyInUseError,isAlpha,% isAlphaNum,isAscii,isControl,isDenormalized,isDoesNotExistError,% isDigit,isEOF,isEOFError,isFullError,isHexDigit,isIEEE,% isIllegalOperation,isInfinite,isJust,isLower,isNaN,% isNegativeZero,isNothing,isOctDigit,isPermissionError,isPrefixOf,% isPrint,isSpace,isSuffixOf,isUpper,isUserError,iterate,ixmap,% join,last,lcm,length,lex,lexDigits,lexLitChar,liftM,liftM2,% liftM3,liftM4,liftM5,lines,listArray,listToMaybe,log,logBase,% lookup,magnitude,makePolar,map,mapAccumL,mapAccumR,mapAndUnzipM,% mapM,mapM_,mapMaybe,max,maxBound,maximum,maximumBy,maybe,% maybeToList,min,minBound,minimum,minimumBy,mkPolar,mkStdGen,% mplus,mod,msum,mzero,negate,next,newStdGen,not,notElem,nub,nubBy,% null,numerator,odd,openFile,or,ord,otherwise,partition,phase,pi,% polar,pred,print,product,properFraction,putChar,putStr,putStrLn,% quot,quotRem,random,randomIO,randomR,randomRIO,randomRs,randoms,% rangeSize,read,readDec,readFile,readFloat,readHex,readInt,readIO,% readList,readLitChar,readLn,readParen,readOct,readSigned,reads,% readsPrec,realPart,realToFrac,recip,rem,repeat,replicate,return,% reverse,round,scaleFloat,scanl,scanl1,scanr,scanr1,seq,sequence,% sequence_,setStdGen,show,showChar,showEFloat,showFFloat,% showFloat,showGFloat,showInt,showList,showLitChar,showParen,% showSigned,showString,shows,showsPrec,significand,signum,sin,% sinh,snd,sort,sortBy,span,split,splitAt,sqrt,stderr,stdin,stdout,% strict,subtract,succ,sum,system,tail,tails,take,takeWhile,tan,% tanh,toEnum,toInt,toInteger,toLower,toRational,toUpper,transpose,% truncate,try,uncurry,undefined,unfoldr,union,unionBy,unless,% unlines,until,unwords,unzip,unzip3,unzip4,unzip5,unzip6,unzip7,% userError,when,words,writeFile,zero,zip,zip3,zip4,zip5,zip6,zip7,% zipWith,zipWithM,zipWithM_,zipWith3,zipWith4,zipWith5,zipWith6,% zipWith7},% sensitive,% morecomment=[l]--,% morecomment=[n]{\{-}{-\}},% morestring=[b]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{HTML} % % I'm quite the opposite of a HTML wizard. % In particular this is true for the defined keywords. % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{HTML}% {morekeywords={A,ADDRESS,APPLET,B,BASE,BASEFONT,BIG,BLOCKQUOTE,BODY,% BR,CENTER,CITE,CODE,DFN,DIR,DIV,DOCTYPE,EM,FONT,FORM,HEAD,HR,% H1,H2,H3,H4,H5,H6,HTML,I,IMG,INPUT,ISINDEX,KBD,LI,LINK,LISTING,% MAP,META,MENU,P,PLAINTEXT,PRE,OL,SAMP,SCRIPT,SELECT,SMALL,STRIKE,% STRING,SUB,SUP,STYLE,TABLE,TEXTAREA,TITLE,TT,U,UL,VAR,XMP,% action,align,alink,alt,background,bgcolor,border,cellpadding,% cellspacing,checked,code,codebase,color,cols,colspan,entype,% height,href,hspace,ismap,link,maxlength,method,multiple,name,% noshade,nowrap,rel,rev,rows,rowspan,selected,shape,size,src,text,% title,type,usemap,valign,value,vlink,vspace,width},% tag=**[s]<>,% sensitive=f,% morestring=[d]",% ??? doubled % \end{macrocode} % Now we take care of comments. % We don't enter comment mode if we aren't inside |<>|. % \begin{macrocode} MoreSelectCharTable=% \lst@CArgX--\relax\lst@DefDelimB{}{}% {\ifnum\lst@mode=\lst@tagmode\else \expandafter\@gobblethree \fi}% \lst@BeginComment\lst@commentmode{{\lst@commentstyle}}% \lst@CArgX--\relax\lst@DefDelimE{}{}{}% \lst@EndComment\lst@commentmode }[keywords,comments,strings,html]% % \end{macrocode} % \lsthelper{Peter~Biechele}{peter.biechele@physik.uni-freiburg.de} % {1999/07/01}{! Missing $\}$ inserted} reported a problem which was due to % missing |\@empty| in value of |SelectCharTable|. And after receiving a bug % report from \lsthelper{Jochen Schneider}{jschneider@ds3.etech.haw-hamburg.de} % {2002/04/05}{use of \lst@thestyle doesn't match its definition} I converted % the version 0.21 contents of |MoreSelectCharTable| to version 1.0. % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{IDL} % % The definition is from \lstthanks{J\"urgen~Heim} % {heim@astro.uni-tuebingen.de}{1998/07/27}. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% IDL definition (c) 1998 Juergen Heim %% \lst@definelanguage{IDL}% {morekeywords={and,begin,case,common,do,else,end,endcase,endelse,% endfor,endif,endrep,endwhile,eq,for,function,ge,goto,gt,if,le,lt,% mod,ne,not,of,on_ioerror,or,pro,repeat,return,then,until,while,% xor,on_error,openw,openr,openu,print,printf,printu,plot,read,% readf,readu,writeu,stop},% sensitive=f,% morecomment=[l];,% morestring=[d]'% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Java} % % \lstthanks{Robert~Wenner}{robert.wenner@gmx.de}{2003/03/27} sent in the % first of the following two definitions. % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} %% %% AspectJ definition (c) Robert Wenner %% \lst@definelanguage[AspectJ]{Java}[]{Java}% {morekeywords={% adviceexecution,after,args,around,aspect,aspectOf,before,% call,cflow,cflowbelow,% % declare error,declare parents,declare precedence, % declare soft,declare warning, execution,get,handler,if,initialization,issingleton,pointcut,% percflow,percflowbelow,perthis,pertarget,preinitialization,% privileged,proceed,returning,set,staticinitialization,strictfp,% target,this,thisEnclosingJoinPoint,thisJoinPoint,throwing,% within,withincode}% }% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % Got data from \texttt{http://java.sun.com}. % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Java}% {morekeywords={abstract,boolean,break,byte,case,catch,char,class,% const,continue,default,do,double,else,extends,false,final,% finally,float,for,goto,if,implements,import,instanceof,int,% interface,label,long,native,new,null,package,private,protected,% public,return,short,static,super,switch,synchronized,this,throw,% throws,transient,true,try,void,volatile,while},% sensitive,% morecomment=[l]//,% morecomment=[s]{/*}{*/},% morestring=[b]",% morestring=[b]',% }[keywords,comments,strings]% % \end{macrocode} % \lsthelper{Herbert Voss}{Herbert.Voss@alumni.TU-Berlin.de}{2002/07/30} % {missing keyword label} added the keyword \texttt{label}. % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{ksh} % % Thanks to \lstthanks{Jeffrey Ratcliffe}{Jeffrey.Ratcliffe@m.eads.net} % {2002/02/21} for this language definition. % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{ksh} {morekeywords={alias,awk,cat,echo,else,elif,fi,exec,exit,% for,in,do,done,select,case,esac,while,until,function,% time,export,cd,eval,fc,fg,kill,let,pwd,read,return,rm,% glob,goto,history,if,logout,nice,nohup,onintr,repeat,sed,% set,setenv,shift,source,switch,then,umask,unalias,% unset,wait,@,env,argv,child,home,ignoreeof,noclobber,% noglob,nomatch,path,prompt,shell,status,verbose,print,printf,% sqrt,BEGIN,END},% morecomment=[l]\#,% morestring=[d]",% morestring=[d]',% morestring=[d]`% }[keywords,comments,strings]% % \begin{macrocode} % % \end{macrocode} % \lsthelper{Herbert Voss}{Herbert.Voss@alumni.TU-Berlin.de}{2002/10/28} % {[Fwd: Re: Probleme mit Paket listings bei ksh]} suggested to add the % string delimiter |`|. % \endgroup % % % \subsection{Lisp, AutoLisp} % % Most data are from % \begin{itemize} % \item % \textsc{Guy Steele}: % \textbf{Common Lisp}; % Copyright 1990 by Digital Equipment Corporation; % ISBN 1-55558-042-4. % \end{itemize} % Thanks to \lsthelper{Aslak Raanes}{araanes@ifi.ntnu.no}{1997/11/24}{single % comment in Lisp} for the `single comment' delimiters. The keywords are the % `one-word' functions and macros of Common Lisp, i.e.~words not containing a % minus. But I left out the \texttt{caaaar}, \ldots{} functions. % If anyone types them in, I'd like to get them. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Lisp}% {morekeywords={abort,abs,acons,acos,acosh,adjoin,alphanumericp,alter,% append,apply,apropos,aref,arrayp,ash,asin,asinh,assoc,atan,atanh,% atom,bit,boole,boundp,break,butlast,byte,catenate,ceiling,cerror,% char,character,characterp,choose,chunk,cis,close,clrhash,coerce,% collect,commonp,compile,complement,complex,complexp,concatenate,% conjugate,cons,consp,constantp,continue,cos,cosh,cotruncate,% count,delete,denominator,describe,directory,disassemble,% documentation,dpb,dribble,ed,eighth,elt,enclose,endp,eq,eql,% equal,equalp,error,eval,evalhook,evenp,every,exp,expand,export,% expt,fboundp,fceiling,fdefinition,ffloor,fifth,fill,find,first,% float,floatp,floor,fmakunbound,format,fourth,fround,ftruncate,% funcall,functionp,gatherer,gcd,generator,gensym,gentemp,get,getf,% gethash,identity,imagpart,import,inspect,integerp,intern,% intersection,tively,isqrt,keywordp,last,latch,lcm,ldb,ldiff,% length,list,listen,listp,load,log,logand,logbitp,logcount,logeqv,% logior,lognand,lognor,lognot,logtest,logxor,macroexpand,% makunbound,map,mapc,mapcan,mapcar,mapcon,maphash,mapl,maplist,% mask,max,member,merge,min,mingle,minusp,mismatch,mod,namestring,% nbutlast,nconc,nintersection,ninth,not,notany,notevery,nreconc,% nreverse,nsublis,nsubst,nth,nthcdr,null,numberp,numerator,nunion,% oddp,open,packagep,pairlis,pathname,pathnamep,phase,plusp,% position,positions,pprint,previous,princ,print,proclaim,provide,% random,rassoc,rational,rationalize,rationalp,read,readtablep,% realp,realpart,reduce,rem,remhash,remove,remprop,replace,require,% rest,revappend,reverse,room,round,rplaca,rplacd,sbit,scan,schar,% search,second,series,set,seventh,shadow,signal,signum,sin,sinh,% sixth,sleep,some,sort,split,sqrt,streamp,string,stringp,sublis,% subseq,subseries,subsetp,subst,substitute,subtypep,svref,sxhash,% symbolp,tailp,tan,tanh,tenth,terpri,third,truename,truncate,% typep,unexport,unintern,union,until,values,vector,vectorp,warn,% write,zerop,and,assert,case,ccase,cond,ctypecase,decf,declaim,% defclass,defconstant,defgeneric,defmacro,defmethod,defpackage,% defparameter,defsetf,defstruct,deftype,defun,defvar,do,dolist,% dotimes,ecase,encapsulated,etypecase,flet,formatter,gathering,% incf,iterate,labels,let,locally,loop,macrolet,mapping,or,pop,% producing,prog,psetf,psetq,push,pushnew,remf,return,rotatef,% setf,shiftf,step,time,trace,typecase,unless,untrace,when},% sensitive,% ??? alsodigit=-,% morecomment=[l];,% morecomment=[s]{\#|}{|\#},% 1997 Aslak Raanes morestring=[b]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \lstthanks{Stefan Lagotzki}{info@lagotzki.de}{2001/10/28} warned me to % define this as a lisp dialect \ldots % \begin{macrocode} %% %% AutoLISP/VisualLISP - Stefan Lagotzki, info@lagotzki.de %% \lst@definelanguage[Auto]{Lisp}% {morekeywords={abs,acad_colordlg,acad_helpdlg,acad_strlsort,% action_tile,add_list,alert,alloc,and,angle,angtof,angtos,append,% apply,arx,arxload,arxunload,ascii,assoc,atan,atof,atoi,atom,% atoms-family,autoarxload,autoload,Boole,boundp,caddr,cadr,car,% cdr,chr,client_data_tile,close,command,cond,cons,cos,cvunit,% defun,defun-q,defun-q-list-ref,defun-q-list-set,dictadd,dictnext,% dictremove,dictrename,dictsearch,dimx_tile,dimy_tile,distance,% distof,done_dialog,end_image,end_list,entdel,entget,entlast,% entmake,entmakex,entmod,entnext,entsel,entupd,eq,equal,*error*,% eval,exit,exp,expand,expt,fill_image,findfile,fix,float,foreach,% function,gc,gcd,get_attr,get_tile,getangle,getcfg,getcname,% getcorner,getdist,getenv,getfiled,getint,getkword,getorient,% getpoint,getreal,getstring,getvar,graphscr,grclear,grdraw,grread,% grtext,grvecs,handent,help,if,initdia,initget,inters,itoa,lambda,% last,layoutlist,length,list,listp,load,load_dialog,log,logand,% logior,lsh,mapcar,max,mem,member,menucmd,menugroup,min,minusp,% mode_tile,namedobjdict,nentsel,nentselp,new_dialog,not,nth,% null,numberp,open,or,osnap,polar,prin1,princ,print,progn,prompt,% quit,quote,read,read-char,read-line,redraw,regapp,rem,repeat,% reverse,rtos,set,set_tile,setcfg,setenv,setfunhelp,setq,% setvar,setview,sin,slide_image,snvalid,sqrt,ssadd,ssdel,ssget,% ssgetfirst,sslength,ssmemb,ssname,ssnamex,sssetfirst,startapp,% start_dialog,start_image,start_list,strcase,strcat,strlen,subst,% substr,tablet,tblnext,tblobjname,tblsearch,term_dialog,terpri,% textbox,textpage,textscr,trace,trans,type,unload_dialog,untrace,% vector_image,ver,vl-acad-defun,vl-acad-undefun,vl-arx-import,% vl-bb-ref,vl-bb-set,vl-catch-all-apply,% vl-catch-all-error-message,vl-catch-all-error-p,vl-cmdf,vl-consp,% vl-directory-files,vl-doc-export,vl-doc-import,vl-doc-ref,% vl-doc-set,vl-every,vl-exit-with-error,vl-exit-with-value,% vl-file-copy,vl-file-delete,vl-file-directory-p,vl-file-rename,% vl-file-size,vl-file-systime,vl-filename-base,% vl-filename-directory,vl-filename-extension,vl-filename-mktemp,% vl-get-resource,vl-list*,vl-list->string,% vl-list-exported-functions,vl-list-length,vl-list-loaded-vlx,% vl-load-all,vl-load-com,vl-load-reactors,vl-member-if,% vl-member-if-not,vl-position,vl-prin1-to-string,% vl-princ-to-string,vl-propagate,vl-registry-delete,% vl-registry-descendents,vl-registry-read,vl-registry-write,% vl-remove,vl-remove-if,vl-remove-if-not,vl-some,vl-sort,% vl-sort-i,vl-string->list,vl-string-elt,vl-string-left-trim,% vl-string-mismatch,vl-string-position,vl-string-right-trim,% vl-string-search,vl-string-subst,vl-string-translate,% vl-string-trim,vl-symbol-name,vl-symbol-value,vl-symbolp,% vl-unload-vlx,vl-vbaload,vl-vbarun,vl-vlx-loaded-p,vlax-3D-point,% vlax-add-cmd,vlax-create-object,vlax-curve-getArea,% vlax-curve-getDistAtParam,vlax-curve-getDistAtPoint,% vlax-curve-getEndParam,vlax-curve-getEndPoint,% vlax-curve-getParamAtDist,vlax-curve-getParamAtPoint,% vlax-curve-getPointAtDist,vlax-curve-getPointAtParam,% vlax-curve-getStartParam,vlax-curve-getStartPoint,% vlax-curve-isClosed,vlax-curve-isPeriodic,vlax-curve-isPlanar,% vlax-curve-getClosestPointTo,% vlax-curve-getClosestPointToProjection,vlax-curve-getFirstDeriv,% vlax-curve-getSecondDeriv,vlax-dump-object,% vlax-ename->vla-object,vlax-erased-p,vlax-for,% vlax-get-acad-object,vlax-get-object,vlax-get-or-create-object,% vlax-get-property,vlax-import-type-library,vlax-invoke-method,% vlax-ldata-delete,vlax-ldata-get,vlax-ldata-list,vlax-ldata-put,% vlax-ldata-test,vlax-make-safearray,vlax-make-variant,% vlax-map-collection,vlax-method-applicable-p,% vlax-object-released-p,vlax-product-key,% vlax-property-available-p,vlax-put-property,vlax-read-enabled-p,% vlax-release-object,vlax-remove-cmd,vlax-safearray-fill,% vlax-safearray-get-dim,vlax-safearray-get-element,% vlax-safearray-get-l-bound,vlax-safearray-get-u-bound,% vlax-safearray-put-element,vlax-safearray-type,% vlax-safearray->list,vlax-tmatrix,vlax-typeinfo-available-p,% vlax-variant-change-type,vlax-variant-type,vlax-variant-value,% vlax-vla-object->ename,vlax-write-enabled-p,vlisp-compile,% vlr-acdb-reactor,vlr-add,vlr-added-p,vlr-beep-reaction,% vlr-command-reactor,vlr-current-reaction-name,vlr-data,% vlr-data-set,vlr-deepclone-reactor,vlr-docmanager-reactor,% vlr-dwg-reactor,vlr-dxf-reactor,vlr-editor-reactor,% vlr-insert-reactor,vlr-linker-reactor,vlr-lisp-reactor,% vlr-miscellaneous-reactor,vlr-mouse-reactor,vlr-notification,% vlr-object-reactor,vlr-owner-add,vlr-owner-remove,vlr-owners,% vlr-pers,vlr-pers-list,vlr-pers-p,vlr-pers-release,% vlr-reaction-names,vlr-reaction-set,vlr-reactions,vlr-reactors,% vlr-remove,vlr-remove-all,vlr-set-notification,% vlr-sysvar-reactor,vlr-toolbar-reactor,vlr-trace-reaction,% vlr-type,vlr-types,vlr-undo-reactor,vlr-wblock-reactor,% vlr-window-reactor,vlr-xref-reactor,vports,wcmatch,while,% write-char,write-line,xdroom,xdsize,zerop},% alsodigit=->,% otherkeywords={1+,1-},% sensitive=false,% morecomment=[l];,% morecomment=[l];;,% morestring=[b]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Logo} % % I don't know where the keywords are from and what kind of Logo it is. % Help me! % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Logo}% % ??? {end,unix} also keywords {morekeywords={and,atan,arctan,both,break,bf,bl,butfirst,butlast,% cbreak, close,co,continue,cos,count,clearscreen,cs,debquit,% describe,diff,difference,ed,edit,either,emptyp,equalp,er,erase,% errpause,errquit,fifp,filefprint,fifty,fileftype,fip,fileprint,% fird,fileread,fity,filetype,fiwd,fileword,f,first,or,fp,fprint,% fput,fty,ftype,full,fullscreen,go,bye,goodbye,gprop,greaterp,% help,if,iff,iffalse,ift,iftrue,nth,item,keyp,llast,lessp,list,% local,lput,make,max,maximum,memberp,memtrace,min,minimum,namep,% not,numberp,oflush,openr,openread,openw,openwrite,op,output,% pause,plist,pots,pow,pprop,pps,pr,print,product,quotient,random,% rc,readchar,rl,readlist,remprop,repcount,repeat,request,rnd,run,% se,sentence,sentencep,setc,setcolor,setipause,setqpause,po,show,% sin,split,splitscreen,sqrt,stop,sum,test,text,textscreen,thing,% to,tone,top,toplevel,type,untrace,wait,word,wordp,yaccdebug,is,% mod,remainder,trace,zerop,back,bk,bto,btouch,fd,forward,fto,% ftouch,getpen,heading,hit,hitoot,ht,hideturtle,loff,lampoff,lon,% lampon,lt,left,lot,lotoot,lto,ltouch,penc,pencolor,pd,pendown,pe,% penerase,penmode,pu,penup,px,penreverse,rt,right,rto,rtouch,% scrunch,seth,setheading,setscrun,setscrunch,setxy,shownp,st,% showturtle,towardsxy,clean,wipeclean,xcor,ycor,tur,turtle,% display,dpy},% sensitive=f% ??? }[keywords]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Make} % % \lstthanks{Rolf~Niepraschk}{niepraschk@ptb.de}{2000/01/10} sent me the new % definitions. \lstthanks{Markus~Pahlow}{pahlowm@mar.dfo-mpo.gc.ca}{2001/10/12} % found a missing comma and added some keywords, which improve the highlighting % with |makemacrouse=true| (but I haven't tested this). % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% Make definitions (c) 2000 Rolf Niepraschk %% \lst@definelanguage[gnu]{make}% {morekeywords={SHELL,MAKE,MAKEFLAGS,$@,$\%,$<,$?,$^,$+,$*,% @,^,<,\%,+,?,*,% Markus Pahlow export,unexport,include,override,define,ifdef,ifneq,ifeq,else,% endif,vpath,subst,patsubst,strip,findstring,filter,filter-out,% sort,dir,notdir,suffix,basename,addsuffix,addprefix,join,word,% words,firstword,wildcard,shell,origin,foreach,% @D,@F,*D,*F,\%D,\%F, % \end{macrocode} % \endgroup % % % \subsection{Matlab} % % I took the keywords from \texttt{http://www.utexas.edu/math/Matlab/Manual}, % but I removed the keywords |i|, |j| and |tmp|---the change was proposed by % \lsthelper{Kai Below}{below@tu-harburg.de}{1998/09/21}{Matlab: keywords % i,j,tmp removed}. % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Matlab}% {morekeywords={gt,lt,gt,lt,amp,abs,acos,acosh,acot,acoth,acsc,acsch,% all,angle,ans,any,asec,asech,asin,asinh,atan,atan2,atanh,auread,% auwrite,axes,axis,balance,bar,bessel,besselk,bessely,beta,% betainc,betaln,blanks,bone,break,brighten,capture,cart2pol,% cart2sph,caxis,cd,cdf2rdf,cedit,ceil,chol,cla,clabel,clc,clear,% clf,clock,close,colmmd,Colon,colorbar,colormap,ColorSpec,colperm,% comet,comet3,compan,compass,computer,cond,condest,conj,contour,% contour3,contourc,contrast,conv,conv2,cool,copper,corrcoef,cos,% cosh,cot,coth,cov,cplxpair,cputime,cross,csc,csch,csvread,% csvwrite,cumprod,cumsum,cylinder,date,dbclear,dbcont,dbdown,% dbquit,dbstack,dbstatus,dbstep,dbstop,dbtype,dbup,ddeadv,ddeexec,% ddeinit,ddepoke,ddereq,ddeterm,ddeunadv,deblank,dec2hex,deconv,% del2,delete,demo,det,diag,diary,diff,diffuse,dir,disp,dlmread,% dlmwrite,dmperm,dot,drawnow,echo,eig,ellipj,ellipke,else,elseif,% end,engClose,engEvalString,engGetFull,engGetMatrix,engOpen,% engOutputBuffer,engPutFull,engPutMatrix,engSetEvalCallback,% engSetEvalTimeout,engWinInit,eps,erf,erfc,erfcx,erfinv,error,% errorbar,etime,etree,eval,exist,exp,expint,expm,expo,eye,fclose,% feather,feof,ferror,feval,fft,fft2,fftshift,fgetl,fgets,figure,% fill,fill3,filter,filter2,find,findstr,finite,fix,flag,fliplr,% flipud,floor,flops,fmin,fmins,fopen,for,format,fplot,fprintf,% fread,frewind,fscanf,fseek,ftell,full,function,funm,fwrite,fzero,% gallery,gamma,gammainc,gammaln,gca,gcd,gcf,gco,get,getenv,% getframe,ginput,global,gplot,gradient,gray,graymon,grid,griddata,% gtext,hadamard,hankel,help,hess,hex2dec,hex2num,hidden,hilb,hist,% hold,home,hostid,hot,hsv,hsv2rgb,if,ifft,ifft2,imag,image,% imagesc,Inf,info,input,int2str,interp1,interp2,interpft,inv,% invhilb,isempty,isglobal,ishold,isieee,isinf,isletter,isnan,% isreal,isspace,issparse,isstr,jet,keyboard,kron,lasterr,lcm,% legend,legendre,length,lin2mu,line,linspace,load,log,log10,log2,% loglog,logm,logspace,lookfor,lower,ls,lscov,lu,magic,matClose,% matDeleteMatrix,matGetDir,matGetFp,matGetFull,matGetMatrix,% matGetNextMatrix,matGetString,matlabrc,matlabroot,matOpen,% matPutFull,matPutMatrix,matPutString,max,mean,median,menu,mesh,% meshc,meshgrid,meshz,mexAtExit,mexCallMATLAB,mexdebug,% mexErrMsgTxt,mexEvalString,mexFunction,mexGetFull,mexGetMatrix,% mexGetMatrixPtr,mexPrintf,mexPutFull,mexPutMatrix,mexSetTrapFlag,% min,more,movie,moviein,mu2lin,mxCalloc,mxCopyCharacterToPtr,% mxCopyComplex16ToPtr,mxCopyInteger4ToPtr,mxCopyPtrToCharacter,% mxCopyPtrToComplex16,mxCopyPtrToInteger4,mxCopyPtrToReal8,% mxCopyReal8ToPtr,mxCreateFull,mxCreateSparse,mxCreateString,% mxFree,mxFreeMatrix,mxGetIr,mxGetJc,mxGetM,mxGetN,mxGetName,% mxGetNzmax,mxGetPi,mxGetPr,mxGetScalar,mxGetString,mxIsComplex,% mxIsFull,mxIsNumeric,mxIsSparse,mxIsString,mxIsTypeDouble,% mxSetIr,mxSetJc,mxSetM,mxSetN,mxSetName,mxSetNzmax,mxSetPi,% mxSetPr,NaN,nargchk,nargin,nargout,newplot,nextpow2,nnls,nnz,% nonzeros,norm,normest,null,num2str,nzmax,ode23,ode45,orient,orth,% pack,pascal,patch,path,pause,pcolor,pi,pink,pinv,plot,plot3,% pol2cart,polar,poly,polyder,polyeig,polyfit,polyval,polyvalm,% pow2,print,printopt,prism,prod,pwd,qr,qrdelete,qrinsert,quad,% quad8,quit,quiver,qz,rand,randn,randperm,rank,rat,rats,rbbox,% rcond,real,realmax,realmin,refresh,rem,reset,reshape,residue,% return,rgb2hsv,rgbplot,rootobject,roots,rose,rosser,rot90,rotate,% round,rref,rrefmovie,rsf2csf,save,saxis,schur,sec,sech,semilogx,% semilogy,set,setstr,shading,sign,sin,sinh,size,slice,sort,sound,% spalloc,sparse,spaugment,spconvert,spdiags,specular,speye,spfun,% sph2cart,sphere,spinmap,spline,spones,spparms,sprandn,sprandsym,% sprank,sprintf,spy,sqrt,sqrtm,sscanf,stairs,startup,std,stem,% str2mat,str2num,strcmp,strings,strrep,strtok,subplot,subscribe,% subspace,sum,surf,surface,surfc,surfl,surfnorm,svd,symbfact,% symmmd,symrcm,tan,tanh,tempdir,tempname,terminal,text,tic,title,% toc,toeplitz,trace,trapz,tril,triu,type,uicontrol,uigetfile,% uimenu,uiputfile,unix,unwrap,upper,vander,ver,version,view,% viewmtx,waitforbuttonpress,waterfall,wavread,wavwrite,what,% whatsnew,which,while,white,whitebg,who,whos,wilkinson,wk1read,% wk1write,xlabel,xor,ylabel,zeros,zlabel,zoom},% sensitive,% morecomment=[l]\%,% morestring=[m]'% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Mathematica} % % \lstthanks{Michael Wiese}{wiese@itwm.uni-kl.de}{1999/02/25} typed in all the % keywords! % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \begin{macrocode} %% %% Mathematica definitions (c) 1999 Michael Wiese %% \lst@definelanguage[3.0]{Mathematica}[1.0]{Mathematica}% {morekeywords={Abort,AbortProtect,AbsoluteDashing,AbsolutePointSize,% AbsoluteThickness,AbsoluteTime,AccountingFormAiry,AiPrime,AiryBi,% AiryBiPrime,Alternatives,AnchoredSearch,AxesEdge,AxesOrigin,% AxesStyle,Background,BetaRegularized,BoxStyle,C,CheckAbort,% Circle,ClebschGordan,CMYKColor,ColorFunction,ColorOutput,Compile,% Compiled,CompiledFunction,ComplexExpand,ComposeList,Composition,% ConstrainedMax,ConstrainedMin,Contexts,ContextToFilename,% ContourLines,Contours,ContourShading,ContourSmoothing,% ContourStyle,CopyDirectory,CopyFile,CosIntegral,CreateDirectory,% Cuboid,Date,DeclarePackage,DefaultColor,DefaultFont,Delete,% DeleteCases,DeleteDirectory,DeleteFile,Dialog,DialogIndent,% DialogProlog,DialogSymbols,DigitQ,Directory,DirectoryStack,Disk,% Dispatch,DownValues,DSolve,Encode,Epilog,Erfc,Evaluate,% ExponentFunction,FaceGrids,FileByteCount,FileDate,FileNames,% FileType,Find,FindList,FixedPointList,FlattenAt,Fold,FoldList,% Frame,FrameLabel,FrameStyle,FrameTicks,FromCharacterCode,% FromDate,FullGraphics,FullOptions,GammaRegularized,% GaussianIntegers,GraphicsArray,GraphicsSpacing,GridLines,% GroebnerBasis,Heads,HeldPart,HomeDirectory,Hue,IgnoreCases,% InputStream,Install,InString,IntegerDigits,InterpolatingFunction,% InterpolatingPolynomial,Interpolation,Interrupt,InverseFunction,% InverseFunctions,JacobiZeta,LetterQ,LinearProgramming,ListPlay,% LogGamma,LowerCaseQ,MachineNumberQ,MantissaExponent,MapIndexed,% MapThread,MatchLocalNames,MatrixExp,MatrixPower,MeshRange,% MeshStyle,MessageList,Module,NDSolve,NSolve,NullRecords,% NullWords,NumberFormat,NumberPadding,NumberSigns,OutputStream,% PaddedForm,ParentDirectory,Pause,Play,PlayRange,PlotRegion,% PolygonIntersections,PolynomialGCD,PolynomialLCM,PolynomialMod,% PostScript,PowerExpand,PrecisionGoal,PrimePi,Prolog,% QRDecomposition,Raster,RasterArray,RealDigits,Record,RecordLists,% RecordSeparators,ReleaseHold,RenameDirectory,RenameFile,% ReplaceHeldPart,ReplacePart,ResetDirectory,Residue,% RiemannSiegelTheta,RiemannSiegelZ,RotateLabel,SameTest,% SampleDepth,SampledSoundFunction,SampledSoundList,SampleRate,% SchurDecomposition,SessionTime,SetAccuracy,SetDirectory,% SetFileDate,SetPrecision,SetStreamPosition,Shallow,SignPadding,% SinIntegral,SixJSymbol,Skip,Sound,SpellingCorrection,% SphericalRegion,Stack,StackBegin,StackComplete,StackInhibit,% StreamPosition,Streams,StringByteCount,StringConversion,% StringDrop,StringInsert,StringPosition,StringReplace,% StringReverse,StringTake,StringToStream,SurfaceColor,% SyntaxLength,SyntaxQ,TableAlignments,TableDepth,% TableDirections,TableHeadings,TableSpacing,ThreeJSymbol,TimeUsed,% TimeZone,ToCharacterCode,ToDate,ToHeldExpression,TokenWords,% ToLowerCase,ToUpperCase,Trace,TraceAbove,TraceBackward,% TraceDepth,TraceDialog,TraceForward,TraceOff,TraceOn,% TraceOriginal,TracePrint,TraceScan,Trig,Unevaluated,Uninstall,% UnsameQ,UpperCaseQ,UpValues,ViewCenter,ViewVertical,With,Word,% WordSearch,WordSeparators},% morendkeywords={Stub,Temporary,$Aborted,$BatchInput,$BatchOutput,% $CreationDate,$DefaultFont,$DumpDates,$DumpSupported,$Failed,% $Input,$Inspector,$IterationLimit,$Language,$Letters,$Linked,% $LinkSupported,$MachineEpsilon,$MachineID,$MachineName,% $MachinePrecision,$MachineType,$MaxMachineNumber,$MessageList,% $MessagePrePrint,$MinMachineNumber,$ModuleNumber,$NewMessage,% $NewSymbol,$Notebooks,$OperatingSystem,$Packages,$PipeSupported,% $PreRead,$ReleaseNumber,$SessionID,$SoundDisplayFunction,% $StringConversion,$StringOrder,$SyntaxHandler,$TimeUnit,% $VersionNumber}% }% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[1.0]{Mathematica}% {morekeywords={Abs,Accuracy,AccurayGoal,AddTo,AiryAi,AlgebraicRules,% AmbientLight,And,Apart,Append,AppendTo,Apply,ArcCos,ArcCosh,% ArcCot,ArcCoth,ArcCsc,ArcCsch,ArcSec,ArcSech,ArcSin,ArcSinh,% ArcTan,ArcTanh,Arg,ArithmeticGeometricMean,Array,AspectRatio,% AtomQ,Attributes,Axes,AxesLabel,BaseForm,Begin,BeginPackage,% BernoulliB,BesselI,BesselJ,BesselK,BesselY,Beta,Binomial,Blank,% BlankNullSequence,BlankSequence,Block,Boxed,BoxRatios,Break,Byte,% ByteCount,Cancel,Cases,Catch,Ceiling,CForm,Character,Characters,% ChebyshevT,ChebyshevU,Check,Chop,Clear,ClearAll,ClearAttributes,% ClipFill,Close,Coefficient,CoefficientList,Collect,ColumnForm,% Complement,Complex,CompoundExpression,Condition,Conjugate,% Constants,Context,Continuation,Continue,ContourGraphics,% ContourPlot,Cos,Cosh,Cot,Coth,Count,Csc,Csch,Cubics,Cyclotomic,% D,Dashing,Decompose,Decrement,Default,Definition,Denominator,% DensityGraphics,DensityPlot,Depth,Derivative,Det,DiagonalMatrix,% DigitBlock,Dimensions,DirectedInfinity,Display,DisplayFunction,% Distribute,Divide,DivideBy,Divisors,DivisorSigma,Do,Dot,Drop,Dt,% Dump,EdgeForm,Eigensystem,Eigenvalues,Eigenvectors,Eliminate,% EllipticE,EllipticExp,EllipticF,EllipticK,EllipticLog,EllipticPi,% EllipticTheta,End,EndPackage,EngineeringForm,Environment,Equal,% Erf,EulerE,EulerPhi,EvenQ,Exit,Exp,Expand,ExpandAll,% ExpandDenominator,ExpandNumerator,ExpIntegralE,ExpIntegralEi,% Exponent,Expression,ExtendedGCD,FaceForm,Factor,FactorComplete,% Factorial,Factorial2,FactorInteger,FactorList,FactorSquareFree,% FactorSquareFreeList,FactorTerms,FactorTermsList,FindMinimum,% FindRoot,First,Fit,FixedPoint,Flatten,Floor,FontForm,For,Format,% FormatType,FortranForm,Fourier,FreeQ,FullDefinition,FullForm,% Function,Gamma,GCD,GegenbauerC,General,Get,Goto,Graphics,% Graphics3D,GrayLevel,Greater,GreaterEqual,Head,HermiteH,% HiddenSurface,Hold,HoldForm,Hypergeometric0F1, Hypergeometric1F1,% Hypergeometric2F1,HypergeometricU,Identity,IdentityMatrix,If,Im,% Implies,In,Increment,Indent,Infix,Information,Inner,Input,% InputForm,InputString,Insert,Integer,IntegerQ,Integrate,% Intersection,Inverse,InverseFourier,InverseJacobiSN,% InverseSeries,JacobiAmplitude,JacobiP,JacobiSN,JacobiSymbol,Join,% Label,LaguerreL,Last,LatticeReduce,LCM,LeafCount,LegendreP,% LegendreQ,LegendreType,Length,LerchPhi,Less,LessEqual,Level,% Lighting,LightSources,Limit,Line,LinearSolve,LineBreak,List,% ListContourPlot,ListDensityPlot,ListPlot,ListPlot3D,Literal,Log,% LogicalExpand,LogIntegral,MainSolve,Map,MapAll,MapAt,MatchQ,% MatrixForm,MatrixQ,Max,MaxBend,MaxMemoryUsed,MemberQ,% MemoryConstrained,MemoryInUse,Mesh,Message,MessageName,Messages,% Min,Minors,Minus,Mod,Modulus,MoebiusMu,Multinomial,N,NameQ,Names,% NBernoulliB,Needs,Negative,Nest,NestList,NIntegrate,% NonCommutativeMultiply,NonConstants,NonNegative,Normal,Not,% NProduct,NSum,NullSpace,Number,NumberForm,NumberPoint,NumberQ,% NumberSeparator,Numerator,O,OddQ,Off,On,OpenAppend,OpenRead,% OpenTemporary,OpenWrite,Operate,Optional,Options,Or,Order,% OrderedQ,Out,Outer,OutputForm,PageHeight,PageWidth,% ParametricPlot,ParametricPlot3D,Part,Partition,PartitionsP,% PartitionsQ,Pattern,Permutations,Plot,Plot3D,PlotDivision,% PlotJoined,PlotLabel,PlotPoints,PlotRange,PlotStyle,Pochhammer,% Plus,Point,PointSize,PolyGamma,Polygon,PolyLog,PolynomialQ,% PolynomialQuotient,PolynomialRemainder,Position,Positive,Postfix,% Power,PowerMod,PrecedenceForm,Precision,PreDecrement,Prefix,% PreIncrement,Prepend,PrependTo,Prime,PrimeQ,Print,PrintForm,% Product,Protect,PseudoInverse,Put,PutAppend,Quartics,Quit,% Quotient,Random,Range,Rational,Rationalize,Raw,Re,Read,ReadList,% Real,Rectangle,Reduce,Remove,RenderAll,Repeated,RepeatedNull,% Replace,ReplaceAll,ReplaceRepeated,Rest,Resultant,Return,Reverse,% RGBColor,Roots,RotateLeft,RotateRight,Round,RowReduce,Rule,% RuleDelayed,Run,RunThrough,SameQ,Save,Scaled,Scan,ScientificForm,% Sec,Sech,SeedRandom,Select,Sequence,SequenceForm,Series,% SeriesData,Set,SetAttributes,SetDelayed,SetOptions,Shading,Share,% Short,Show,Sign,Signature,Simplify,Sin,SingularValues,Sinh,% Skeleton,Slot,SlotSequence,Solve,SolveAlways,Sort,% SphericalHarmonicY,Splice,Sqrt,StirlingS1,StirlingS2,String,% StringBreak,StringForm,StringJoin,StringLength,StringMatchQ,% StringSkeleton,Subscript,Subscripted,Subtract,SubtractForm,Sum,% Superscript,SurfaceGraphics,Switch,Symbol,Table,TableForm,TagSet,% TagSetDelayed,TagUnset,Take,Tan,Tanh,ToString,TensorRank,TeXForm,% Text,TextForm,Thickness,Thread,Through,Throw,Ticks,% TimeConstrained,Times,TimesBy,Timing,ToExpression,Together,% ToRules,ToString,TotalHeight,TotalWidth,Transpose,TreeForm,TrueQ,% Unequal,Union,Unique,Unprotect,Unset,Update,UpSet,UpSetDelayed,% ValueQ,Variables,VectorQ,ViewPoint,WeierstrassP,% WeierstrassPPrime,Which,While,WorkingPrecision,Write,WriteString,% Xor,ZeroTest,Zeta},% morendkeywords={All,Automatic,Catalan,ComplexInfinity,Constant,% Degree,E,EndOfFile,EulerGamma,False,Flat,GoldenRatio,HoldAll,% HoldFirst,HoldRest,I,Indeterminate,Infinity,Listable,Locked,% Modular,None,Null,OneIdentity,Orderless,Pi,Protected,% ReadProtected,True,$CommandLine,$Context,$ContextPath,$Display,% $DisplayFunction,$Echo,$Epilog,$IgnoreEOF,$Line,$Messages,% $Output,$Path,$Post,$Pre,$PrePrint,$RecursionLimit,$System,% $Urgent,$Version},% sensitive,% morecomment=[s]{(*}{*)},% morestring=[d]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Mercury} % % \lstthanks{Dominique~de~Waleffe}{ddw@miscrit.be}{1997/11/24} mailed me the % data and \lstthanks{Ralph~Becket}{rbeck@microsoft.com}{2001/05/01} extended % the definition. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% Mercury definition (c) 1997 Dominique de Waleffe %% Extended (c) 2001 Ralph Becket %% \lst@definelanguage{Mercury}% {otherkeywords={::,->,-->,--->,:-,==,=>,<=,<=>},% morekeywords={module,include_module,import_module,interface,% end_module,implementation,mode,is,failure,semidet,nondet,det,% multi,erroneous,inst,in,out,di,uo,ui,type,typeclass,instance,% where,with_type,pred,func,lambda,impure,semipure,if,then,else,% some,all,not,true,fail,pragma,memo,no_inline,inline,loop_check,% minimal_model,fact_table,type_spec,terminates,does_not_terminate,% check_termination,promise_only_solution,unsafe_promise_unique,% source_file,obsolete,import,export,c_header_code,c_code,% foreign_code,foreign_proc,may_call_mercury,will_not_call_mercury,% thread_safe,not_thread_safe},% sensitive=t,% morecomment=[l]\%,% morecomment=[s]{/*}{*/},% morestring=[bd]",% morestring=[bd]'% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{MetaPost} % % \lstthanks{Uwe~Siart}{uwe.siart@ei.tum.de}{2003/03/28} provided the % keywords. % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} %% %% MetaPost definition (c) 2003 Uwe Siart %% \lst@definelanguage{MetaPost}% {morekeywords={abs,addto,ahangle,ahlength,and,angle,arclength,% arctime,background,bbox,bboxmargin,beginfig,begingroup,beveled,% black,blue,bluepart,boolean,bot,boxit,boxjoin,bpath,btex,% buildcycle,butt,cc,ceiling,char,charcode,circleit,circmargin,% clip,cm,color,controls,cosd,curl,currentpen,currentpicture,% cutafter,cutbefore,cutdraw,cuttings,cycle,dashed,dashpattern,% day,dd,decimal,decr,def,defaultdx,defaultdy,defaultfont,% defaultpen,defaultscale,dir,direction,directionpoint,% directiontime,ditto,div,dotlabel,dotlabels,dotprod,down,downto,% draw,drawarrow,drawboxed,drawboxes,drawdblarrow,drawoptions,% drawshadowed,drawunboxed,else,elseif,end,enddef,endfig,endfor,% endgroup,epsilon,etex,evenly,exitif,exitunless,expr,extra,fi,% fill,filldraw,fixpos,fixsize,floor,fontsize,for,forever,% forsuffixes,fullcircle,getmid,green,greenpart,halfcircle,hex,% hide,identity,if,in,incr,infinity,infont,input,interim,% intersectionpoint,intersectiontimes,inverse,joinup,known,label,% labeloffset,labels,left,length,let,lft,linecap,linejoin,llcorner,% llft,loggingall,lrcorner,lrt,makepath,makepen,mark,max,mexp,% mfplain,middlepoint,midpoint,min,mitered,miterlimit,mlog,mod,% month,mp,mpx,mpxbreak,newinternal,normaldeviate,not,nullpicture,% numeric,oct,odd,or,origin,pair,path,pausing,pen,pencircle,% penoffset,pensquare,pic,pickup,picture,point,postcontrol,% precontrol,primarydef,prologues,quartercircle,red,redpart,% reflectedabout,reverse,right,rotated,rotatedaround,round,rounded,% rt,save,scaled,secondarydef,self,setbounds,shifted,shipout,show,% showdependencies,showstopping,showtoken,showvariable,sind,% slanted,special,sqrt,squared,step,str,string,subpath,substring,% tertiarydef,text,thelabel,time,top,tracingall,tracingcapsules,% tracingchoices,tracingcommands,tracingequations,tracinglostchars,% tracingmacros,tracingnone,tracingonline,tracingoutput,% tracingrestores,tracingspecs,tracingstats,tracingtitles,% transform,transformed,true,truecorners,ulcorner,ulft,undraw,% unfill,unfilldraw,uniformdeviate,unitsquare,unitvector,unknown,% until,up,upto,urcorner,urt,vardef,verbatimtex,whatever,white,% withcolor,withdots,withpen,xpart,xscaled,xxpart,xypart,year,% yscaled,yxpart,yypart,zscaled},% sensitive,% alsoother={0123456789$},% morecomment=[l]\%,% morestring=[s]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Miranda} % % Thanks to \lstthanks{Peter~Bartke}{bartke@inf.fu-berlin.de}{1999/01/30} % for providing the definition. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% Miranda definition (c) 1998 Peter Bartke %% %% Miranda: pure lazy functional language with polymorphic type system, %% garbage collection and functions as first class citizens %% \lst@definelanguage{Miranda}% {morekeywords={abstype,div,if,mod,otherwise,readvals,show,type,where,% with,bool,char,num,sys_message,False,True,Appendfile,Closefile,% Exit,Stderr,Stdout,System,Tofile,\%include,\%export,\%free,% \%insert,abs,and,arctan,cjustify,code,concat,const,converse,cos,% decode,digit,drop,dropwhile,entier,error,exp,filemode,filter,% foldl,foldl1,foldr,foldr1,force,fst,getenv,hd,hugenum,id,index,% init,integer,iterate,last,lay,layn,letter,limit,lines,ljustify,% log,log10,map,map2,max,max2,member,merge,min,min2,mkset,neg,% numval,or,pi,postfix,product,read,rep,repeat,reverse,rjustify,% scan,seq,showfloat,shownum,showscaled,sin,snd,sort,spaces,sqrt,% subtract,sum,system,take,takewhile,tinynum,tl,transpose,undef,% until,zip2,zip3,zip4,zip5,zip6,zip},% sensitive,% morecomment=[l]||,% morestring=[b]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % % \subsection{Mizar} % % As you can read below, \lstthanks{Adam~Grabowski}{adam@mizar.org} % {2003/03/29} provided this language definition. % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} %% %% Mizar definition (c) 2003 Adam Grabowski %% %% Mizar is freely available at URL www.mizar.org for the Linux x86, %% Solaris x86, and Windows operating systems. %% \lst@definelanguage{Mizar}% {otherkeywords={->,(\#,\#),.=),\&},% morekeywords={vocabulary,constructors,$1,$1,$2,$3,$4,$5,$6,$7,$8,% @proof,according,aggregate,and,antonym,as,associativity,assume,% asymmetry,attr,be,begin,being,by,canceled,case,cases,cluster,% clusters,coherence,commutativity,compatibility,connectedness,% consider,consistency,constructors,contradiction,correctness,def,% deffunc,define,definition,definitions,defpred,end,environ,equals,% ex,exactly,existence,for,from,func,given,hence,hereby,holds,% idempotence,if,iff,implies,involutiveness,irreflexivity,is,it,% let,means,mode,non,not,notation,now,of,or,otherwise,over,per,% pred,prefix,projectivity,proof,provided,qua,reconsider,redefine,% reflexivity,requirements,reserve,scheme,schemes,section,selector,% set,st,struct,such,suppose,symmetry,synonym,take,that,the,then,% theorem,theorems,thesis,thus,to,transitivity,uniqueness,% vocabulary,where},% sensitive=t,% morecomment=[l]::% }[keywords,comments]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{ML} % % Thanks to \lstthanks{Torben~Hoffmann}{toho@it.dtu.dk}{1999/02/18} for % providing the definition. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% ML definition (c) 1999 Torben Hoffmann %% \lst@definelanguage{ML}% {morekeywords={abstype,and,andalso,as,case,do,datatype,else,end,% eqtype,exception,fn,fun,functor,handle,if,in,include,infix,% infixr,let,local,nonfix,of,op,open,orelse,raise,rec,sharing,sig,% signature,struct,structure,then,type,val,with,withtype,while},% sensitive,% morecomment=[n]{(*}{*)},% morestring=[d]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Modula-2} % % Took data from % \begin{itemize} % \item % \textsc{Niklaus Wirth}: \textbf{Programmieren in Modula-2}, % \"Ubers.\ Guido Pfeiffer; % 2.\ Auflage -- Berlin; Heidelberg; New York; London; Paris; Tokyo; % Hong Kong: Springer, 1991; % ISBN 3-540-51689-1. % \end{itemize} % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Modula-2}% {morekeywords={AND,ARRAY,BEGIN,BY,CASE,CONST,DIV,DO,ELSE,ELSIF,END,% EXIT,EXPORT,FOR,FROM,IF,IMPLEMENTATION,IMPORT,IN,MOD,MODULE,NOT,% OF,OR,POINTER,PROCEDURE,QUALIFIED,RECORD,REPEAT,RETURN,SET,THEN,% TYPE,UNTIL,VAR,WHILE,WITH,ABS,BITSET,BOOLEAN,CAP,CARDINAL,CHAR,% CHR,DEC,EXCL,FALSE,FLOAT,HALT,HIGH,INC,INCL,INTEGER,LONGCARD,% LONGINT,LONGREAL,MAX,MIN,NIL,ODD,ORD,PROC,REAL,SIZE,TRUE,TRUNC,% VAL,DEFINITION,LOOP},% added keywords due to Peter Bartke 99/07/22 sensitive,% morecomment=[n]{(*}{*)},% morestring=[d]',% morestring=[d]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{MuPAD} % % This definition was provided by \lstthanks{Christopher~Creutzig} % {ccr@mupad.de}{2002/10/15}. % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} \lstdefinelanguage{MuPAD}{% morekeywords={end,next,break,if,then,elif,else,end_if,case,end_case,% otherwise,for,from,to,step,downto,in,end_for,while,end_while,% repeat,until,end_repeat,or,and,not,xor,div,mod,union,minus,% intersect,subset,proc,begin,end_proc,domain,end_domain,category,% end_category,axiom,end_axiom,quit,delete,frame},% morekeywords=[2]{NIL,FAIL,TRUE,FALSE,UNKNOWN,I,RD_INF,RD_NINF,% RD_NAN,name,local,option,save,inherits,of,do},% otherkeywords={\%if,?,!,:=,<,>,=,<=,<>,>=,==>,<=>,::,..,...,->,% @,@@,\$},% sensitive=true,% morecomment=[l]{//},% morecomment=[n]{/*}{*/},% morestring=[b]",% morestring=[d]{`}% }[keywords,comments,strings] % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{NASTRAN} % % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % The definition is from \lsthelper{Jeffrey Ratcliffe} % {Jeffrey.Ratcliffe@m.eads.net}{2002/02/21}{}---except the % \texttt{MoreSelectCharTable} part which simulates the keyword % \texttt{BEGIN BULK}. % \begin{macrocode} \lst@definelanguage{NASTRAN} {morekeywords={ENDDATA},% morecomment=[l]$,% MoreSelectCharTable=% \lst@CArgX BEGIN\ BULK\relax\lst@CDef{}% {\lst@ifmode\else \ifnum\lst@length=\z@ \lst@EnterMode{\lst@GPmode}{\lst@modetrue \let\lst@currstyle\lst@gkeywords@sty}% \fi \fi}% {\ifnum\lst@mode=\lst@GPmode \lst@XPrintToken \lst@LeaveMode \fi}% }[keywords,comments]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Oberon-2} % % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Oberon-2}% {morekeywords={ARRAY,BEGIN,BOOLEAN,BY,CASE,CHAR,CONST,DIV,DO,ELSE,% ELSIF,END,EXIT,FALSE,FOR,IF,IMPORT,IN,INTEGER,IS,LONGINT,% LONGREAL,LOOP,MOD,MODULE,NIL,OF,OR,POINTER,PROCEDURE,REAL,RECORD,% REPEAT,RETURN,SET,SHORTINT,THEN,TO,TRUE,TYPE,UNTIL,VAR,WHILE,% WITH,ABS,ASH,CAP,CHR,COPY,DEC,ENTIER,EXCL,HALT,INC,INCL,LEN,LONG,% MAX,MIN,NEW,ODD,ORD,SHORT,SIZE},% sensitive,% morecomment=[n]{(*}{*)},% morestring=[d]',% morestring=[d]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{OCL} % % This definition is based on chapter 7 of the OMG UML standard version 1.3: % \begin{itemize} % \item % \textsc{OMG}: % \textbf{OMG Unified Modeling Language Specification}; % {\copyright} 1999 OMG; % Available at \texttt{ftp://ftp.omg.org/pub/docs/ad/99-06-08.pdf}. % \end{itemize}% % This language is due to \lstthanks{Achim~D.~Brucker} % {brucker@informatik.uni-freiburg.de}{2000/08/14}. % % \begingroup % \begin{macrocode} %<*lang3> % \end{macrocode} % \begin{macrocode} %% %% OCL definition (c) 2000 Achim D. Brucker %% %% You are allowed to use, modify and distribute this code either under %% the terms of the LPPL (version 1.0 or later) or the GPL (version 2.0 %% or later). %% % \end{macrocode} % First we define are very decorative style. In the OMG standard only the % boolean (infix (?)) operations are highlighted, but I think all OCL-defined % operations should be highlighted, because they are \emph{guaranteed} to be % side-effect-free (in OCL only side effect free evaluations or path % expressions are allowed). % \begin{macrocode} \lst@definelanguage[decorative]{OCL}[OMG]{OCL} {otherkeywords={@pre},% morendkeywords={name,attributes,associatoinEnds,operations,% supertypes,allSupertypes,allInstances,oclIsKindOf,oclIsTypeOf,% oclAsType,oclInState,oclIsNew,evaluationType,abs,floor,round,max,% min,div,mod,size,concat,toUpper,toLower,substring,includes,% excludes,count,includesAll,exludesAll,isEmpty,notEmpty,sum,% exists,forAll,isUnique,sortedBy,iterate,union,intersection,% including,excluding,symmetricDifference,select,reject,collect,% asSequence,asBag,asSequence,asSet,append,prepend,subSequence,at,% first,last,true,false,isQuery}% }% % \end{macrocode} % Remark: "isQuery" is not real OCL, but a important attribute of the % underlying UML model. % % The dialect called \texttt{OMG} is a very spare version. If you use % this variant with bold style for first and second order keywords you % get the look and feel of the OMG standard. First order keywords are the % OCL context declarations (see section 7.3 of the OMG standard): % \begin{macrocode} \lst@definelanguage[OMG]{OCL}% {morekeywords={context,pre,inv,post},% % \end{macrocode} % Second order keywords are the operation which are defined for type % Boolean (see pages 7-34/35 of the OMG standard) and the let-operation % (in principle these are the infix operations): % \begin{macrocode} ndkeywords={or,xor,and,not,implies,if,then,else,endif},% % \end{macrocode} % Third order keywords are the basic data types as declared in section 7.4 of % the OMG standard: % \begin{macrocode} morekeywords=[3]{Boolean,Integer,Real,String,Set,Sequence,Bag,% OclType,OclAny,OclExpression,Enumeration,Collection,},% sensitive=t,% morecomment=[l]--,% morestring=[d]'% }[keywords,comments,strings]% % \end{macrocode} % After a bug report by \lsthelper{Martin~S\"u\ss kraut}{Edon.Myder@web.de} % {2003/01/30}{morerdkeywords doesn't exist any more} \texttt{morerdkeywords} % has been changed to the correct optional argument \texttt{[3]}. % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Octave} % % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % As you can read below the definition is due to \lstthanks{Ulrich~G.~Wortmann} % {uliw@erdw.ethz.ch}{2002/02/18}{}. % \begin{macrocode} %% %% Octave definition (c) 2001,2002 Ulrich G. Wortmann %% \lst@definelanguage{Octave}% {morekeywords={gt,lt,gt,lt,amp,abs,acos,acosh,acot,acoth,acsc,acsch,% all,angle,ans,any,asec,asech,asin,asinh,atan,atan2,atanh,auread,% auwrite,axes,axis,balance,bar,bessel,besselk,bessely,beta,% betainc,betaln,blanks,bone,break,brighten,capture,cart2pol,% cart2sph,caxis,cd,cdf2rdf,cedit,ceil,chol,cla,clabel,clc,clear,% clf,clock,close,colmmd,Colon,colorbar,colormap,ColorSpec,colperm,% comet,comet3,compan,compass,computer,cond,condest,conj,contour,% contour3,contourc,contrast,conv,conv2,cool,copper,corrcoef,cos,% cosh,cot,coth,cov,cplxpair,cputime,cross,csc,csch,csvread,% csvwrite,cumprod,cumsum,cylinder,date,dbclear,dbcont,dbdown,% dbquit,dbstack,dbstatus,dbstep,dbstop,dbtype,dbup,ddeadv,ddeexec,% ddeinit,ddepoke,ddereq,ddeterm,ddeunadv,deblank,dec2hex,deconv,% del2,delete,demo,det,diag,diary,diff,diffuse,dir,disp,dlmread,% dlmwrite,dmperm,dot,drawnow,echo,eig,ellipj,ellipke,else,elseif,% end,engClose,engEvalString,engGetFull,engGetMatrix,engOpen,% engOutputBuffer,engPutFull,engPutMatrix,engSetEvalCallback,% engSetEvalTimeout,engWinInit,eps,erf,erfc,erfcx,erfinv,% errorbar,etime,etree,eval,exist,exp,expint,expm,expo,eye,fclose,% feather,feof,ferror,feval,fft,fft2,fftshift,fgetl,fgets,figure,% fill,fill3,filter,filter2,find,findstr,finite,fix,flag,fliplr,% flipud,floor,flops,fmin,fmins,fopen,for,format,fplot,fprintf,% fread,frewind,fscanf,fseek,ftell,full,function,funm,fwrite,fzero,% gallery,gamma,gammainc,gammaln,gca,gcd,gcf,gco,get,getenv,% getframe,ginput,global,gplot,gradient,gray,graymon,grid,griddata,% gtext,hadamard,hankel,help,hess,hex2dec,hex2num,hidden,hilb,hist,% hold,home,hostid,hot,hsv,hsv2rgb,if,ifft,ifft2,imag,image,% imagesc,Inf,info,input,int2str,interp1,interp2,interpft,inv,% invhilb,isempty,isglobal,ishold,isieee,isinf,isletter,isnan,% isreal,isspace,issparse,isstr,jet,keyboard,kron,lasterr,lcm,% legend,legendre,length,lin2mu,line,linspace,load,log,log10,log2,% loglog,logm,logspace,lookfor,lower,ls,lscov,lu,magic,matClose,% matDeleteMatrix,matGetDir,matGetFp,matGetFull,matGetMatrix,% matGetNextMatrix,matGetString,matlabrc,matlabroot,matOpen,% matPutFull,matPutMatrix,matPutString,max,mean,median,menu,mesh,% meshc,meshgrid,meshz,mexAtExit,mexCallMATLAB,mexdebug,% mexErrMsgTxt,mexEvalString,mexFunction,mexGetFull,mexGetMatrix,% mexGetMatrixPtr,mexPrintf,mexPutFull,mexPutMatrix,mexSetTrapFlag,% min,more,movie,moviein,mu2lin,mxCalloc,mxCopyCharacterToPtr,% mxCopyComplex16ToPtr,mxCopyInteger4ToPtr,mxCopyPtrToCharacter,% mxCopyPtrToComplex16,mxCopyPtrToInteger4,mxCopyPtrToReal8,% mxCopyReal8ToPtr,mxCreateFull,mxCreateSparse,mxCreateString,% mxFree,mxFreeMatrix,mxGetIr,mxGetJc,mxGetM,mxGetN,mxGetName,% mxGetNzmax,mxGetPi,mxGetPr,mxGetScalar,mxGetString,mxIsComplex,% mxIsFull,mxIsNumeric,mxIsSparse,mxIsString,mxIsTypeDouble,% mxSetIr,mxSetJc,mxSetM,mxSetN,mxSetName,mxSetNzmax,mxSetPi,% mxSetPr,NaN,nargchk,nargin,nargout,newplot,nextpow2,nnls,nnz,% nonzeros,norm,normest,null,num2str,nzmax,ode23,ode45,orient,orth,% pack,pascal,patch,path,pause,pcolor,pi,pink,pinv,plot,plot3,% pol2cart,polar,poly,polyder,polyeig,polyfit,polyval,polyvalm,% pow2,print,printopt,prism,prod,pwd,qr,qrdelete,qrinsert,quad,% quad8,quit,quiver,qz,rand,randn,randperm,rank,rat,rats,rbbox,% rcond,real,realmax,realmin,refresh,rem,reset,reshape,residue,% return,rgb2hsv,rgbplot,rootobject,roots,rose,rosser,rot90,rotate,% round,rref,rrefmovie,rsf2csf,save,saxis,schur,sec,sech,semilogx,% semilogy,set,setstr,shading,sign,sin,sinh,size,slice,sort,sound,% spalloc,sparse,spaugment,spconvert,spdiags,specular,speye,spfun,% sph2cart,sphere,spinmap,spline,spones,spparms,sprandn,sprandsym,% sprank,sprintf,spy,sqrt,sqrtm,sscanf,stairs,startup,std,stem,% str2mat,str2num,strcmp,strings,strrep,strtok,subplot,subscribe,% subspace,sum,surf,surface,surfc,surfl,surfnorm,svd,symbfact,% symmmd,symrcm,tan,tanh,tempdir,tempname,terminal,text,tic,title,% toc,toeplitz,trace,trapz,tril,triu,type,uicontrol,uigetfile,% uimenu,uiputfile,unix,unwrap,upper,vander,ver,version,view,% viewmtx,waitforbuttonpress,waterfall,wavread,wavwrite,what,% whatsnew,which,while,white,whitebg,who,whos,wilkinson,wk1read,% stderr,stdout,plot,set,endif,wk1write,xlabel,xor,ylabel,zeros,% zlabel,zoom,endwhile,endfunction},% sensitive=f,% morecomment=[l]\#,% morecomment=[l]\#\#,% morestring=[m]',% morestring=[m]"% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Pascal} % % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % Thanks to \lsthelper{Andreas Stephan}{Andreas.Stephan@victoria.de}{1998/04/07} % {alpha, byte, pack, unpack} for reporting non-keywords alpha, byte, pack and % unpack. % \begin{macrocode} \lst@definelanguage[XSC]{Pascal}[Standard]{Pascal} {deletekeywords={alfa,byte,pack,unpack},% 1998 Andreas Stephan morekeywords={dynamic,external,forward,global,module,nil,operator,% priority,sum,type,use,dispose,mark,page,release,cimatrix,% cinterval,civector,cmatrix,complex,cvector,dotprecision,imatrix,% interval,ivector,rmatrix,rvector,string,im,inf,re,sup,chr,comp,% eof,eoln,expo,image,ival,lb,lbound,length,loc,mant,maxlength,odd,% ord,pos,pred,round,rval,sign,substring,succ,trunc,ub,ubound}% }% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[Borland6]{Pascal}[Standard]{Pascal} {morekeywords={asm,constructor,destructor,implementation,inline,% interface,nil,object,shl,shr,string,unit,uses,xor},% morendkeywords={Abs,Addr,ArcTan,Chr,Concat,Copy,Cos,CSeg,DiskFree,% DiskSize,DosExitCode,DosVersion,DSeg,EnvCount,EnvStr,Eof,Eoln,% Exp,FExpand,FilePos,FileSize,Frac,FSearch,GetBkColor,GetColor,% GetDefaultPalette,GetDriverName,GetEnv,GetGraphMode,GetMaxMode,% GetMaxX,GetMaxY,GetModeName,GetPaletteSize,GetPixel,GetX,GetY,% GraphErrorMsg,GraphResult,Hi,ImageSize,InstallUserDriver,% InstallUserFont,Int,IOResult,KeyPressed,Length,Lo,MaxAvail,% MemAvail,MsDos,Odd,Ofs,Ord,OvrGetBuf,OvrGetRetry,ParamCount,% ParamStr,Pi,Pos,Pred,Ptr,Random,ReadKey,Round,SeekEof,SeekEoln,% Seg,SetAspectRatio,Sin,SizeOf,Sound,SPtr,Sqr,Sqrt,SSeg,Succ,% Swap,TextHeight,TextWidth,Trunc,TypeOf,UpCase,WhereX,WhereY,% Append,Arc,Assign,AssignCrt,Bar,Bar3D,BlockRead,BlockWrite,ChDir,% Circle,ClearDevice,ClearViewPort,Close,CloseGraph,ClrEol,ClrScr,% Dec,Delay,Delete,DelLine,DetectGraph,Dispose,DrawPoly,Ellipse,% Erase,Exec,Exit,FillChar,FillEllipse,FillPoly,FindFirst,FindNext,% FloodFill,Flush,FreeMem,FSplit,GetArcCoords,GetAspectRatio,% GetDate,GetDefaultPalette,GetDir,GetCBreak,GetFAttr,% GetFillSettings,GetFTime,GetImage,GetIntVec,GetLineSettings,% GetMem,GetPalette,GetTextSettings,GetTime,GetVerify,% GetViewSettings,GoToXY,Halt,HighVideo,Inc,InitGraph,Insert,% InsLine,Intr,Keep,Line,LineRel,LineTo,LowVideo,Mark,MkDir,Move,% MoveRel,MoveTo,MsDos,New,NormVideo,NoSound,OutText,OutTextXY,% OvrClearBuf,OvrInit,OvrInitEMS,OvrSetBuf,PackTime,PieSlice,% PutImage,PutPixel,Randomize,Rectangle,Release,Rename,% RestoreCrtMode,RmDir,RunError,Sector,Seek,SetActivePage,% SetAllPalette,SetBkColor,SetCBreak,SetColor,SetDate,SetFAttr,% SetFillPattern,SetFillStyle,SetFTime,SetGraphBufSize,% SetGraphMode,SetIntVec,SetLineStyle,SetPalette,SetRGBPalette,% SetTextBuf,SetTextJustify,SetTextStyle,SetTime,SetUserCharSize,% SetVerify,SetViewPort,SetVisualPage,SetWriteMode,Sound,Str,% SwapVectors,TextBackground,TextColor,TextMode,Truncate,% UnpackTime,Val,Window}% }% % \end{macrocode} % \begin{macrocode} \lst@definelanguage[Standard]{Pascal}% {morekeywords={alfa,and,array,begin,boolean,byte,case,char,const,div,% do,downto,else,end,false,file,for,function,get,goto,if,in,% integer,label,maxint,mod,new,not,of,or,pack,packed,page,program,% put,procedure,read,readln,real,record,repeat,reset,rewrite,set,% text,then,to,true,type,unpack,until,var,while,with,write,% writeln},% sensitive=f,% morecomment=[s]{(*}{*)},% morecomment=[s]{\{}{\}},% morestring=[d]'% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{Perl} % % I got the data from \texttt{http://www.perl.com}. But I wish to thank % \lsthelper{Herbert~Weinhandl}{weinhand@grz08u.unileoben.ac.at}{}{} for the % book `Learning Perl'. % \begingroup % \begin{macrocode} %<*lang1> % \end{macrocode} % \begin{macrocode} \lst@definelanguage{Perl}% {morekeywords={abs,accept,alarm,atan2,bind,binmode,bless,caller,% chdir,chmod,chomp,chop,chown,chr,chroot,close,closedir,connect,% continue,cos,crypt,dbmclose,dbmopen,defined,delete,die,do,dump,% each,else,elsif,endgrent,endhostent,endnetent,endprotoent,% endpwent,endservent,eof,eval,exec,exists,exit,exp,fcntl,fileno,% flock,for,foreach,fork,format,formline,getc,getgrent,getgrgid,% getgrnam,gethostbyaddr,gethostbyname,gethostent,getlogin,% getnetbyaddr,getnetbyname,getnetent,getpeername,getpgrp,% getppid,getpriority,getprotobyname,getprotobynumber,getprotoent,% getpwent,getpwnam,getpwuid,getservbyname,getservbyport,% getservent,getsockname,getsockopt,glob,gmtime,goto,grep,hex,if,% import,index,int,ioctl,join,keys,kill,last,lc,lcfirst,length,% link,listen,local,localtime,log,lstat,m,map,mkdir,msgctl,msgget,% msgrcv,msgsnd,my,next,no,oct,open,opendir,ord,pack,package,pipe,% pop,pos,print,printf,prototype,push,q,qq,quotemeta,qw,qx,rand,% read,readdir,readlink,recv,redo,ref,rename,require,reset,return,% reverse,rewinddir,rindex,rmdir,s,scalar,seek,seekdir,select,% semctl,semget,semop,send,setgrent,sethostent,setnetent,setpgrp,% setpriority,setprotoent,setpwent,setservent,setsockopt,shift,% shmctl,shmget,shmread,shmwrite,shutdown,sin,sleep,socket,% socketpair,sort,splice,split,sprintf,sqrt,srand,stat,study,sub,% substr,symlink,syscall,sysopen,sysread,system,syswrite,tell,% telldir,tie,tied,time,times,tr,truncate,uc,ucfirst,umask,undef,% unless,unlink,unpack,unshift,untie,until,use,utime,values,vec,% wait,waitpid,wantarray,warn,while,write,y},% sensitive,% morecomment=[l]\#,% morestring=[b]",% morestring=[b]',% MoreSelectCharTable=% \lst@ReplaceInput{\$\#}{\lst@ProcessOther\$\lst@ProcessOther\#}% }[keywords,comments,strings]% % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % \endgroup % % % \subsection{PHP} % % \lstthanks{Luca Balzerani}{lou@latoserver.it}{2002/04/06,2002/04/16} sent me % this language definition. % \begingroup % \begin{macrocode} %<*lang2> % \end{macrocode} % \begin{macrocode} %% %% PHP definition by Luca Balzerani %% \lst@definelanguage{PHP}% {morekeywords={% %--- core language ,::,break,case,continue,default,do,else,% elseif,for,foreach,if,include,require,phpinfo,% switch,while,false,FALSE,true,TRUE,% %--- apache functions apache_lookup_uri,apache_note,ascii2ebcdic,ebcdic2ascii,% virtual,apache_child_terminate,apache_setenv,% %--- array functions array,array_change_key_case,array_chunk,array_count_values,% array_filter,array_flip,array_fill,array_intersect,% array_keys,array_map,array_merge,array_merge_recursive,% array_pad,array_pop,array_push,array_rand,array_reverse,% array_shift,array_slice,array_splice,array_sum,array_unique,% array_values,array_walk,arsort,asort,compact,count,current,each,% extract,in_array,array_search,key,krsort,ksort,list,natsort,% next,pos,prev,range,reset,rsort,shuffle,sizeof,sort,uasort,% usort,% %--- aspell functions aspell_new,aspell_check,aspell_check_raw,aspell_suggest,% %--- bc functions bcadd,bccomp,bcdiv,bcmod,bcmul,bcpow,bcscale,bcsqrt,bcsub,% %--- bzip2 functions bzclose,bzcompress,bzdecompress,bzerrno,bzerror,bzerrstr,% bzopen,bzread,bzwrite,% %--- calendar functions JDToGregorian,GregorianToJD,JDToJulian,JulianToJD,JDToJewish,% JDToFrench,FrenchToJD,JDMonthName,JDDayOfWeek,easter_date,% unixtojd,jdtounix,cal_days_in_month,cal_to_jd,cal_from_jd,% %--- ccvs functions ccvs_init,ccvs_done,ccvs_new,ccvs_add,ccvs_delete,ccvs_auth,% ccvs_reverse,ccvs_sale,ccvs_void,ccvs_status,ccvs_count,% ccvs_report,ccvs_command,ccvs_textvalue,% %--- classobj functions call_user_method,call_user_method_array,class_exists,get_class,% get_class_vars,get_declared_classes,get_object_vars,% is_a,is_subclass_of,method_exists,% %--- com functions COM,VARIANT,com_load,com_invoke,com_propget,com_get,com_propput,% com_set,com_addref,com_release,com_isenum,com_load_typelib,% %--- cpdf functions cpdf_add_annotation,cpdf_add_outline,cpdf_arc,cpdf_begin_text,% cpdf_clip,cpdf_close,cpdf_closepath,cpdf_closepath_fill_stroke,% cpdf_continue_text,cpdf_curveto,cpdf_end_text,cpdf_fill,% cpdf_finalize,cpdf_finalize_page,% cpdf_import_jpeg,cpdf_lineto,cpdf_moveto,cpdf_newpath,cpdf_open,% cpdf_page_init,cpdf_place_inline_image,cpdf_rect,cpdf_restore,% cpdf_rmoveto,cpdf_rotate,cpdf_rotate_text,cpdf_save,% cpdf_scale,cpdf_set_char_spacing,cpdf_set_creator,% cpdf_set_font,cpdf_set_horiz_scaling,cpdf_set_keywords,% cpdf_set_page_animation,cpdf_set_subject,cpdf_set_text_matrix,% cpdf_set_text_rendering,cpdf_set_text_rise,cpdf_set_title,% cpdf_setdash,cpdf_setflat,cpdf_setgray,cpdf_setgray_fill,% cpdf_setlinecap,cpdf_setlinejoin,cpdf_setlinewidth,% cpdf_setrgbcolor,cpdf_setrgbcolor_fill,cpdf_setrgbcolor_stroke,% cpdf_show_xy,cpdf_stringwidth,cpdf_set_font_directories,% cpdf_set_viewer_preferences,cpdf_stroke,cpdf_text,% cpdf_set_action_url,% %--- crack functions crack_opendict,crack_closedict,crack_check,crack_getlastmessage,% %--- ctype functions ctype_alnum,ctype_alpha,ctype_cntrl,ctype_digit,ctype_lower,% ctype_print,ctype_punct,ctype_space,ctype_upper,ctype_xdigit,% %--- curl functions curl_init,curl_setopt,curl_exec,curl_close,curl_version,% curl_error,curl_getinfo,% %--- cybercash functions cybercash_encr,cybercash_decr,cybercash_base64_encode,% %--- cybermut functions cybermut_creerformulairecm,cybermut_testmac,% %--- cyrus functions cyrus_connect,cyrus_authenticate,cyrus_bind,cyrus_unbind,% cyrus_close,% %--- datetime functions checkdate,date,getdate,gettimeofday,gmdate,gmmktime,gmstrftime,% microtime,mktime,strftime,time,strtotime,% %--- dbase functions dbase_create,dbase_open,dbase_close,dbase_pack,dbase_add_record,% dbase_delete_record,dbase_get_record,% dbase_numfields,dbase_numrecords,% %--- dba functions dba_close,dba_delete,dba_exists,dba_fetch,dba_firstkey,% dba_nextkey,dba_popen,dba_open,dba_optimize,dba_replace,% %--- dbm functions dbmopen,dbmclose,dbmexists,dbmfetch,dbminsert,dbmreplace,% dbmfirstkey,dbmnextkey,dblist,% %--- dbx functions dbx_close,dbx_connect,dbx_error,dbx_query,dbx_sort,dbx_compare,% %--- dio functions dio_open,dio_read,dio_write,dio_truncate,dio_stat,dio_seek,% dio_close,% %--- dir functions chroot,chdir,dir,closedir,getcwd,opendir,readdir,rewinddir,% %--- dotnet functions dotnet_load,% %--- errorfunc functions error_log,error_reporting,restore_error_handler,% trigger_error,user_error,% %--- exec functions escapeshellarg,escapeshellcmd,exec,passthru,system,shell_exec,% %--- fbsql functions fbsql_affected_rows,fbsql_autocommit,fbsql_change_user,% fbsql_commit,fbsql_connect,fbsql_create_db,fbsql_create_blob,% fbsql_database_password,fbsql_data_seek,fbsql_db_query,% fbsql_drop_db,fbsql_errno,fbsql_error,fbsql_fetch_array,% fbsql_fetch_field,fbsql_fetch_lengths,fbsql_fetch_object,% fbsql_field_flags,fbsql_field_name,fbsql_field_len,% fbsql_field_table,fbsql_field_type,fbsql_free_result,% fbsql_list_dbs,fbsql_list_fields,fbsql_list_tables,% fbsql_num_fields,fbsql_num_rows,fbsql_pconnect,fbsql_query,% fbsql_read_clob,fbsql_result,fbsql_rollback,fbsql_set_lob_mode,% fbsql_start_db,fbsql_stop_db,fbsql_tablename,fbsql_warnings,% fbsql_get_autostart_info,fbsql_hostname,fbsql_password,% fbsql_username,% %--- fdf functions fdf_open,fdf_close,fdf_create,fdf_save,fdf_get_value,% fdf_next_field_name,fdf_set_ap,fdf_set_status,fdf_get_status,% fdf_get_file,fdf_set_flags,fdf_set_opt,% fdf_set_javascript_action,fdf_set_encoding,fdf_add_template,% %--- filepro functions filepro,filepro_fieldname,filepro_fieldtype,filepro_fieldwidth,% filepro_fieldcount,filepro_rowcount,% %--- filesystem functions basename,chgrp,chmod,chown,clearstatcache,copy,delete,dirname,% diskfreespace,disk_total_space,fclose,feof,fflush,fgetc,fgetcsv,% fgetss,file_get_contents,file,file_exists,fileatime,filectime,% fileinode,filemtime,fileowner,fileperms,filesize,filetype,flock,% fopen,fpassthru,fputs,fread,fscanf,fseek,fstat,ftell,ftruncate,% set_file_buffer,is_dir,is_executable,is_file,is_link,% is_writable,is_writeable,is_uploaded_file,link,linkinfo,mkdir,% parse_ini_file,pathinfo,pclose,popen,readfile,readlink,rename,% rmdir,stat,lstat,realpath,symlink,tempnam,tmpfile,touch,umask,% %--- fribidi functions fribidi_log2vis,% %--- ftp functions ftp_connect,ftp_login,ftp_pwd,ftp_cdup,ftp_chdir,ftp_mkdir,% ftp_nlist,ftp_rawlist,ftp_systype,ftp_pasv,ftp_get,ftp_fget,% ftp_fput,ftp_size,ftp_mdtm,ftp_rename,ftp_delete,ftp_site,% ftp_quit,ftp_exec,ftp_set_option,ftp_get_option,% %--- funchand functions call_user_func_array,call_user_func,create_function,% func_get_args,func_num_args,function_exists,% register_shutdown_function,register_tick_function,% %--- gettext functions bindtextdomain,bind_textdomain_codeset,dcgettext,dcngettext,% dngettext,gettext,ngettext,textdomain,% %--- gmp functions gmp_init,gmp_intval,gmp_strval,gmp_add,gmp_sub,gmp_mul,% gmp_div_r,gmp_div_qr,gmp_div,gmp_mod,gmp_divexact,gmp_cmp,% gmp_com,gmp_abs,gmp_sign,gmp_fact,gmp_sqrt,gmp_sqrtrm,% gmp_pow,gmp_powm,gmp_prob_prime,gmp_gcd,gmp_gcdext,gmp_invert,% gmp_jacobi,gmp_random,gmp_and,gmp_or,gmp_xor,gmp_setbit,% gmp_scan0,gmp_scan1,gmp_popcount,gmp_hamdist,% %--- http functions header,headers_sent,setcookie,% %--- hw functions hw_Array2Objrec,hw_Children,hw_ChildrenObj,hw_Close,hw_Connect,% hw_Deleteobject,hw_DocByAnchor,hw_DocByAnchorObj,% hw_Document_BodyTag,hw_Document_Content,hw_Document_SetContent,% hw_ErrorMsg,hw_EditText,hw_Error,hw_Free_Document,hw_GetParents,% hw_GetChildColl,hw_GetChildCollObj,hw_GetRemote,% hw_GetSrcByDestObj,hw_GetObject,hw_GetAndLock,hw_GetText,% hw_GetObjectByQueryObj,hw_GetObjectByQueryColl,% hw_GetChildDocColl,hw_GetChildDocCollObj,hw_GetAnchors,% hw_Mv,hw_Identify,hw_InCollections,hw_Info,hw_InsColl,hw_InsDoc,% hw_InsertObject,hw_mapid,hw_Modifyobject,hw_New_Document,% hw_Output_Document,hw_pConnect,hw_PipeDocument,hw_Root,% hw_Who,hw_getusername,hw_stat,hw_setlinkroot,hw_connection_info,% hw_insertanchors,hw_getrellink,hw_changeobject,% %--- ibase functions ibase_connect,ibase_pconnect,ibase_close,ibase_query,% ibase_fetch_row,ibase_fetch_object,ibase_field_info,% ibase_free_result,ibase_prepare,ibase_execute,ibase_trans,% ibase_rollback,ibase_timefmt,ibase_num_fields,ibase_blob_add,% ibase_blob_close,ibase_blob_create,ibase_blob_echo,% ibase_blob_import,ibase_blob_info,ibase_blob_open,% %--- icap functions icap_open,icap_close,icap_fetch_event,icap_list_events,% icap_delete_event,icap_snooze,icap_list_alarms,% icap_rename_calendar,icap_delete_calendar,icap_reopen,% %--- iconv functions iconv,iconv_get_encoding,iconv_set_encoding,ob_iconv_handler,% %--- ifx functions ifx_connect,ifx_pconnect,ifx_close,ifx_query,ifx_prepare,ifx_do,% ifx_errormsg,ifx_affected_rows,ifx_getsqlca,ifx_fetch_row,% ifx_fieldtypes,ifx_fieldproperties,ifx_num_fields,ifx_num_rows,% ifx_create_char,ifx_free_char,ifx_update_char,ifx_get_char,% ifx_copy_blob,ifx_free_blob,ifx_get_blob,ifx_update_blob,% ifx_textasvarchar,ifx_byteasvarchar,ifx_nullformat,% ifxus_free_slob,ifxus_close_slob,ifxus_open_slob,% ifxus_seek_slob,ifxus_read_slob,ifxus_write_slob,% %--- iisfunc functions iis_get_server_by_path,iis_get_server_by_comment,iis_add_server,% iis_set_dir_security,iis_get_dir_security,iis_set_server_rights,% iis_set_script_map,iis_get_script_map,iis_set_app_settings,% iis_stop_server,iis_stop_service,iis_start_service,% %--- image functions exif_imagetype,exif_read_data,exif_thumbnail,getimagesize,% imagealphablending,imagearc,imagefilledarc,imageellipse,% imagechar,imagecharup,imagecolorallocate,imagecolordeallocate,% imagecolorclosest,imagecolorclosestalpha,imagecolorclosestthwb,% imagecolorexactalpha,imagecolorresolve,imagecolorresolvealpha,% imagecolorset,imagecolorsforindex,imagecolorstotal,% imagecopy,imagecopymerge,imagecopymergegray,imagecopyresized,% imagecreate,imagecreatetruecolor,imagetruecolortopalette,% imagecreatefromgd2,imagecreatefromgd2part,imagecreatefromgif,% imagecreatefrompng,imagecreatefromwbmp,imagecreatefromstring,% imagecreatefromxpm,imagedashedline,imagedestroy,imagefill,% imagefilledrectangle,imagefilltoborder,imagefontheight,% imagegd,imagegd2,imagegif,imagepng,imagejpeg,imagewbmp,% imageline,imageloadfont,imagepalettecopy,imagepolygon,% imagepsencodefont,imagepsfreefont,imagepsloadfont,% imagepsslantfont,imagepstext,imagerectangle,imagesetpixel,% imagesetstyle,imagesettile,imagesetthickness,imagestring,% imagesx,imagesy,imagettfbbox,imageftbbox,imagettftext,% imagetypes,jpeg2wbmp,png2wbmp,iptcembed,read_exif_data,% %--- imap functions imap_8bit,imap_alerts,imap_append,imap_base64,imap_binary,% imap_bodystruct,imap_check,imap_clearflag_full,imap_close,% imap_delete,imap_deletemailbox,imap_errors,imap_expunge,% imap_fetchbody,imap_fetchheader,imap_fetchstructure,% imap_getmailboxes,imap_getsubscribed,imap_header,% imap_headers,imap_last_error,imap_listmailbox,% imap_mail,imap_mail_compose,imap_mail_copy,imap_mail_move,% imap_mime_header_decode,imap_msgno,imap_num_msg,imap_num_recent,% imap_ping,imap_popen,imap_qprint,imap_renamemailbox,imap_reopen,% imap_rfc822_parse_headers,imap_rfc822_write_address,% imap_search,imap_setacl,imap_set_quota,imap_setflag_full,% imap_status,imap_subscribe,imap_uid,imap_undelete,% imap_utf7_decode,imap_utf7_encode,imap_utf8,imap_thread,% %--- info functions assert,assert_options,extension_loaded,dl,getenv,get_cfg_var,% get_defined_constants,get_extension_funcs,getmygid,% get_loaded_extensions,get_magic_quotes_gpc,% getlastmod,getmyinode,getmypid,getmyuid,get_required_files,% ini_alter,ini_get,ini_get_all,ini_restore,ini_set,phpcredits,% phpversion,php_logo_guid,php_sapi_name,php_uname,putenv,% set_time_limit,version_compare,zend_logo_guid,zend_version,% %--- ircg functions ircg_pconnect,ircg_fetch_error_msg,ircg_set_current,ircg_join,% ircg_msg,ircg_notice,ircg_nick,ircg_topic,ircg_channel_mode,% ircg_whois,ircg_kick,ircg_ignore_add,ircg_ignore_del,% ircg_is_conn_alive,ircg_lookup_format_messages,% ircg_set_on_die,ircg_set_file,ircg_get_username,% ircg_nickname_unescape,% %--- java functions java_last_exception_clear,java_last_exception_get,% %--- ldap functions ldap_add,ldap_bind,ldap_close,ldap_compare,ldap_connect,% l