"Fossies" - the Fresh Open Source Software Archive

Member "wscite/forth.properties" (11 Sep 2020, 4109 Bytes) of package /windows/misc/wscite445.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Define SciTE settings for Forth files
    2 
    3 # These patterns conflict with fortran.properties and nncrontab.properties
    4 # so disable these other properties files if you want to use forth.
    5 #file.patterns.forth=*.f;*.spf
    6 file.patterns.forth=*.forth
    7 
    8 # add '*.tab;*.spf;' to 'source.files' variable in 'SciTEGlobal.properties'
    9 # if you want to include these file patterns into default source file list
   10 
   11 lexer.$(file.patterns.forth)=forth
   12 
   13 *language.forth=Forth|forth||
   14 
   15 filter.forth=Forth files (f spf)|$(file.patterns.forth)|
   16 
   17 *filter.forth=$(filter.forth)
   18 
   19 word.characters.$(file.patterns.forth)=$(chars.alpha)$(chars.numeric)%-
   20 
   21 comment.block.forth=\
   22 #comment.block.at.line.start.forth=0
   23 comment.stream.start.forth=(
   24 comment.stream.end.forth=)
   25 comment.box.start.forth=\
   26 comment.box.middle.forth=\
   27 comment.box.end.forth=\
   28 
   29 # Forth styles
   30 
   31 # control keywords Forth
   32 keywords.$(file.patterns.forth)=\
   33 AGAIN BEGIN CASE DO ELSE ENDCASE ENDOF IF LOOP OF REPEAT THEN UNTIL  WHILE \
   34 [IF] [ELSE] [THEN] ?DO
   35 
   36 # Keywords
   37 keywords2.$(file.patterns.forth)=\
   38 DUP DROP ROT SWAP OVER @ ! 2@ 2! 2DUP 2DROP 2SWAP 2OVER NIP R@ >R R> 2R@ 2>R 2R> \
   39 0= 0< SP@ SP! W@ W! C@ C! < > = <> 0<>\
   40 SPACE SPACES KEY? KEY THROW CATCH ABORT */ 2* /MOD CELL+ CELLS CHAR+ \
   41 CHARS MOVE ERASE DABS TITLE HEX DECIMAL HOLD <# # #S #> SIGN \
   42 D. . U. DUMP (.") >NUMBER ' IMMEDIATE EXIT RECURSE UNLOOP LEAVE HERE ALLOT , \
   43 C, W, COMPILE, BRANCH, RET, LIT, DLIT, ?BRANCH, ", >MARK >RESOLVE1 <MARK >RESOLVE \
   44 ALIGN ALIGNED USER-ALLOT USER-HERE HEADER DOES> SMUDGE HIDE :NONAME LAST-WORD \
   45 ?ERROR ERROR2 FIND1 SFIND SET-CURRENT GET-CURRENT DEFINITIONS GET-ORDER FORTH \
   46 ONLY SET-ORDER ALSO PREVIOUS VOC-NAME. ORDER LATEST LITERAL 2LITERAL SLITERAL \
   47 CLITERAL ?LITERAL1 ?SLITERAL1 HEX-LITERAL HEX-SLITERAL ?LITERAL2 ?SLITERAL2 SOURCE \
   48 EndOfChunk CharAddr PeekChar IsDelimiter GetChar OnDelimiter SkipDelimiters OnNotDelimiter \
   49 SkipWord SkipUpTo ParseWord NextWord PARSE SKIP CONSOLE-HANDLES REFILL DEPTH ?STACK \
   50 ?COMP WORD INTERPRET BYE QUIT MAIN1 EVALUATE INCLUDE-FILE INCLUDED >BODY +WORD \
   51 WORDLIST CLASS! CLASS@ PAR! PAR@ ID. ?IMMEDIATE ?VOC IMMEDIATE VOC WordByAddrWl \
   52 WordByAddr NLIST WORDS SAVE OPTIONS /notransl ANSI>OEM ACCEPT EMIT CR TYPE EKEY? \
   53 EKEY EKEY>CHAR EXTERNTASK ERASE-IMPORTS ModuleName ModuleDirName ENVIRONMENT? \
   54 DROP-EXC-HANDLER SET-EXC-HANDLER HALT ERR CLOSE-FILE CREATE-FILE CREATE-FILE-SHARED \
   55 OPEN-FILE-SHARED DELETE-FILE FILE-POSITION FILE-SIZE OPEN-FILE READ-FILE REPOSITION-FILE \
   56 DOS-LINES UNIX-LINES READ-LINE WRITE-FILE RESIZE-FILE WRITE-LINE ALLOCATE FREE RESIZE \
   57 START SUSPEND RESUME STOP PAUSE MIN MAX TRUE FALSE ASCIIZ> \
   58 R/O W/O ;CLASS ENDWITH OR AND /STRING SEARCH COMPARE EXPORT ;MODULE SPACE
   59 
   60 # defwords
   61 keywords3.$(file.patterns.forth)=\
   62 VARIABLE CREATE : VALUE CONSTANT VM: M: var dvar chars OBJ \
   63 CONSTR: DESTR: CLASS: OBJECT: POINTER \
   64 USER USER-CREATE USER-VALUE VECT \
   65 WNDPROC: VOCABULARY -- TASK: CEZ: MODULE:
   66 
   67 # prewords1
   68 keywords4.$(file.patterns.forth)=\
   69 CHAR [CHAR] POSTPONE WITH ['] TO [COMPILE] CHAR ASCII \'
   70 
   71 # prewords2
   72 keywords5.$(file.patterns.forth)=\
   73 REQUIRE WINAPI:
   74 
   75 # string words
   76 keywords6.$(file.patterns.forth)=\
   77 S" ABORT" Z" " ." C"
   78 
   79 # whitespace (SCE_FORTH_DEFAULT)
   80 style.forth.0=$(font.monospace)
   81 # Comment (SCE_FORTH_COMMENT)
   82 style.forth.1=fore:#009933,$(font.comment),$(font.monospace)
   83 # ML comment (SCE_FORTH_COMMENT_ML)
   84 style.forth.2=fore:#007F00,$(font.comment)
   85 # ML comment (SCE_FORTH_IDENTIFIER)
   86 style.forth.3=fore:#000000,bold
   87 # control (SCE_FORTH_CONTROL)
   88 style.forth.4=fore:#00007F,bold
   89 # Keywords (SCE_FORTH_KEYWORD)
   90 style.forth.5=fore:#000000,$(font.monospace),bold
   91 # defwords (SCE_FORTH_DEFWORD)
   92 style.forth.6=fore:#FF0000,bold,$(font.monospace)
   93 # preword1 (SCE_FORTH_PREWORD1)
   94 style.forth.7=fore:#CC3300,bold,$(font.monospace)
   95 # preword2 (SCE_FORTH_PREWORD2)
   96 style.forth.8=fore:#996633,bold,$(font.monospace)
   97 # number (SCE_FORTH_NUMBER)
   98 style.forth.9=fore:#007F7F,$(font.monospace)
   99 # Double quoted string (SCE_FORTH_STRING)
  100 style.forth.10=fore:#CC3300,$(font.monospace)
  101 # locale
  102 style.forth.11=fore:#0000CC,$(font.monospace)
  103 
  104 #command.compile.*.f=spf.cmd $(FileNameExt)