From: <td...@us...> - 2003-11-21 09:42:58
|
Update of /cvsroot/anyedit/AnyEditBin/Syntax In directory sc8-pr-cvs1:/tmp/cvs-serv20319/Syntax Added Files: Masm.syn python.syn Log Message: New version of dll's and AnyEdit --- NEW FILE: Masm.syn --- # Script file for ASM # Cristophe Savary LanguageName "MASM" LanguageLexer SCLEX_ASM #default font DefaultFont "Verdana" DefaultFontSize 10 #colors # Assembler Styles StyleForeColor 32 808080 # Default #StyleForeColor 0 # Comment StyleForeColor 1 adadad # Number StyleForeColor 2 ff0000 # String StyleForeColor 3 Strings # Operator StyleForeColor 4 Operator # Identifier #StyleForeColor 5 # CPU instruction StyleForeColor 6 Keywords #fore:#0000ff # FPU instruction StyleForeColor 7 0000ff # Register StyleForeColor 8 46aa03 # assembler Directive StyleForeColor 9 0000ff # assembler Directive Operand StyleForeColor 10 0000ff FontStyle 8 BOLD FontStyle 6 BOLD FontStyle 4 BOLD StyleFont 32 "verdana" StyleSize 32 8 #keywords Keywords 1 "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 cmpx chg cwd cwde daa das dec div enter esc hlt idiv \ imul in inc include includelib ins int into invd invlpg invoke iret iretd ja jae jb jbe jc jcxz je jecx jecxz jg \ jge jl jle jmp jna jnae jnb jnbe jnc jne jng jnge jnl jnle jno jnp jns jnz jo jp jpe jpo \ js lahf lar lds lea leave les lfs lgdt lidt lgs lldt lmsw lock lods loop loope loopz \ loopnz loopne lsl lss ltr mov movs movsb movsd movsw movsx movzx mul neg nop not or out outs pop popa popad \ popf popfd push pusha pushad pushf pushfd rcl rcr rep repe repz repne repnz ret retf rol \ ror sahf sal sar sbb scas setae setnb setb setnae setbe setna sete setz setne setnz setl \ setnge setge setnl setle setng setg setnle sets setns setc setnc seto setno setp setpe \ setnp setpo sgdt sidt shl shr shld shrd sldt smsw stc std sti stos str sub test verr verw \ wait fwait wbinvd xchg xlat xlatb xor" #FPU Instructions Keywords 2 "f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcom fcomp fcompp fdecstp \ fdisi fdiv fdivp fdivr fdivrp feni ffree fiadd ficom ficomp fidiv \ fidivr fild fimul fincstp finit fist fistp fisub fisubr fld fld1 \ fldcw fldenv fldenvw fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul \ fmulp fnclex fndisi fneni fninit fnop fnsave fnsavew fnstcw fnstenv \ fnstenvw fnstsw fpatan fprem fptan frndint frstor frstorw fsave \ fsavew fscale fsqrt fst fstcw fstenv fstenvw fstp fstsw fsub fsubp \ fsubr fsubrp ftst fwait fxam fxch fxtract fyl2x fyl2xp1 \ fsetpm fcos fldenvd fnsaved fnstenvd fprem1 frstord fsaved fsin fsincos \ fstenvd fucom fucomp fucompp" #Register Keywords 3 "ah al ax bh bl bp bx ch cl cr0 cr2 cr3 cs \ cx dh di dl dr0 dr1 dr2 dr3 dr6 dr7 ds dx eax ebp ebx ecx edi edx \ es esi esp fs gs si sp ss st tr3 tr4 tr5 tr6 tr7" #Directive Keywords 4 ".186 .286 .286c .286p .287 .386 .386c .386p .387 .486 .486p \ .8086 .8087 .alpha .break .code .const .continue .cref .data .data? \ .dosseg .else .elseif .endif .endw .err .err1 .err2 .errb \ .errdef .errdif .errdifi .erre .erridn .erridni .errnb .errndef \ .errnz .exit .fardata .fardata? .if .lall .lfcond .list .listall \ .listif .listmacro .listmacroall .model .no87 .nocref .nolist \ .nolistif .nolistmacro .radix .repeat .sall .seq .sfcond .stack \ .startup .tfcond .type .until .untilcxz .while .xall .xcref \ .xlist alias align assume catstr comm comment db dd df dosseg dq \ dt dup dw echo else elseif elseif1 elseif2 elseifb elseifdef elseifdif \ elseifdifi elseife elseifidn elseifidni elseifnb elseifndef end \ endif endm endp ends eq equ even exitm extern externdef extrn for \ forc ge goto group gt high highword if if1 if2 ifb ifdef ifdif \ ifdifi ife ifidn ifidni ifnb ifndef include includelib instr invoke \ irp irpc label le length lengthof local low lowword lroffset \ lt macro mask mod .msfloat name ne offset opattr option org %out \ page popcontext proc proto ptr public purge pushcontext record \ repeat rept seg segment short size sizeof sizestr struc struct \ substr subtitle subttl textequ this title type typedef union while width" #Directive Operand Keywords 5 "$ ? @b @f addr basic byte c carry? dword \ far far16 fortran fword near near16 overflow? parity? pascal qword \ real4 real8 real10 sbyte sdword sign? stdcall sword syscall tbyte \ vararg word zero? flat near32 far32 \ abs all assumes at casemap common compact \ cpu dotname emulator epilogue error export expr16 expr32 farstack flat \ forceframe huge language large listing ljmp loadds m510 medium memory \ nearstack nodotname noemulator nokeyword noljmp nom510 none nonunique \ nooldmacros nooldstructs noreadonly noscoped nosignextend nothing \ notpublic oldmacros oldstructs os_dos para private prologue radix \ readonly req scoped setif2 smallstack tiny use16 use32 uses" listWords "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 cmpx chg cwd cwde daa das dec div enter esc hlt idiv \ imul in inc include includelib ins int into invd invlpg invoke iret iretd ja jae jb jbe jc jcxz je jecx jecxz jg \ jge jl jle jmp jna jnae jnb jnbe jnc jne jng jnge jnl jnle jno jnp jns jnz jo jp jpe jpo \ js lahf lar lds lea leave les lfs lgdt lidt lgs lldt lmsw lock lods loop loope loopz \ loopnz loopne lsl lss ltr mov movs movsb movsd movsw movsx movzx mul neg nop not or out outs pop popa popad \ popf popfd push pusha pushad pushf pushfd rcl rcr rep repe repz repne repnz ret retf rol \ ror sahf sal sar sbb scas setae setnb setb setnae setbe setna sete setz setne setnz setl \ setnge setge setnl setle setng setg setnle sets setns setc setnc seto setno setp setpe \ setnp setpo sgdt sidt shl shr shld shrd sldt smsw stc std sti stos str sub test verr verw \ wait fwait wbinvd xchg xlat xlatb xor" #folds FoldComments 1 FoldPreprocessor 1 --- NEW FILE: python.syn --- # Try to create a python syntax and comments as much as possible # A string that is used distinguish lexer modules # (along with internal ID). Lexer module name is case sensitive and # can later be used in conjunction with SCI_SETLEXERLANGUAGE Scintilla message. LanguageName "PYTHON" # Language lexer module ID (internal repr. ID) from scintilla # # Theses are lexer available (Scintilla 1.53) : # SCLEX_ADA # SCLEX_ASP # SCLEX_AVE # SCLEX_BAAN # SCLEX_BATCH # SCLEX_BULLANT # SCLEX_CONF # SCLEX_CPP # SCLEX_DIFF # SCLEX_EIFFEL # SCLEX_EIFFELKW # SCLEX_ERRORLIST # SCLEX_HTML # SCLEX_LATEX # SCLEX_LISP # SCLEX_LUA # SCLEX_MAKEFILE # SCLEX_MATLAB # SCLEX_NNCRONTAB # SCLEX_PASCAL # SCLEX_PERL # SCLEX_PHP # SCLEX_PROPERTIES # SCLEX_PYTHON # SCLEX_RUBY # SCLEX_SCRIPTOL # SCLEX_SQL # SCLEX_TCL # SCLEX_VB # SCLEX_VBSCRIPT # SCLEX_XCODE # SCLEX_XML # SCLEX_ASM # SCLEX_CPPNOCASE # SCLEX_FORTRAN # SCLEX_F77 # SCLEX_CSS # SCLEX_POV # SCLEX_LOUT # SCLEX_ESCRIPT LanguageLexer SCLEX_PYTHON #default font DefaultFont "Courier" DefaultFontSize 10 #colors StyleForeColor 1 CommentBox StyleForeColor 2 CommentLine StyleForeColor 3 CommentDoc StyleForeColor 4 Numbers StyleForeColor 5 Keywords StyleForeColor 6 Strings StyleForeColor 7 Char StyleForeColor 8 804080 StyleForeColor 9 7F7F00 StyleForeColor 10 Operator StyleForeColor 11 000000 #Unclosed strings ... StyleForeColor 12 000000 StyleBackColor 12 E0C0E0 #verbatim strings for C# StyleForeColor 13 007F00 StyleBackColor 13 E0FFE0 #regular expressions for java script StyleForeColor 14 3F7F3F StyleBackColor 14 E0F0FF #doxygen comments StyleForeColor 15 3F703F #keywords 2 color StyleForeColor 16 B00040 #comment keyword StyleForeColor 17 3060A0 #comment keyword error StyleForeColor 18 804020 # StyleForeColor 21 000080 StyleBackColor 21 EFEFFF FontStyle 5 BOLD #FontStyle 5 ITALIC #FontStyle 5 UNDERLINE StyleFont 5 "verdana" StyleSize 5 10 # First group of keywords. # For python only one group of keyword exist in Scintilla # "Reserved words, or keywords of the language" keywords 1 "and assert break class continue def del elif else \ except exec finally for from global if import in is lambda \ not or pass print raise return self try while yield" ListWords "and assert break class continue def del elif else \ except exec finally for from global if import in is lambda \ not or pass print raise return self try while yield" # #folds FoldComments 1 FoldPreprocessor 1 |