考虑到FAME编程语言的模糊程度,这可能是黑暗中的一个镜头,但是是否有人熟悉Vim已经存在的FAME语法高亮文件?
答案 0 :(得分:0)
我为Notepad ++制作了一个语法高亮显示文件。
它并不完美,随意升级它。
<NotepadPlus>
<UserLang name="FAME" ext="pro inp" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="yes" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="yes" Keywords3="yes" Keywords4="no" Keywords5="no" Keywords6="yes" Keywords7="yes" Keywords8="yes" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00-- 01 02 03/* 04*/</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">&</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open">' + ,</Keywords>
<Keywords name="Folders in code1, middle">; = , + " :</Keywords>
<Keywords name="Folders in code1, close">,</Keywords>
<Keywords name="Folders in code2, open"></Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close"></Keywords>
<Keywords name="Folders in comment, open">--=</Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close">=--</Keywords>
<Keywords name="Keywords1">BLOCK
CD
CLOSE
CREATE
DISPLAY
END
EXHIBIT
EXIT
HELP
INFO
INPUT
MESSAGE
OPEN
OUTPUT
REDO
REFILE
RESET
SETENV
SLEEP
SUBSTITUTE
SYSTEM
TYPE
UNSAVE
UNSETENV
WRITE
BLOCK
CD
CLOSE
CREATE
DISPLAY
END
EXHIBIT
EXIT
HELP
INFO
INPUT
MESSAGE
OPEN
OUTPUT
REDO
REFILE
RESET
SETENV
SLEEP
SUBSTITUTE
SYSTEM
TYPE
UNSAVE
UNSETENV
WRITE
ALIAS
ASSOCIATE
ATTRIBUTE
BASIS
CATALOG
COPY
DBSTATUS
DELETE
DESCRIPTION
DIMENSION
DOCUMENTATION
EXTRADOTS
FORMULA
GLFORMULA
GLNAME
MODIFY
NEW
OBSERVED
POST
RENAME
REOPEN
RESTORE
SCALAR
SEARCH
SERIES
SET
STRINGLENGTH
UPDATE
WHATS
WHICH
CONNECT
DISCONNECT
OPEN
EXIT
CLOSE
OPEN
RABORT
RASSERT
RATTRIBUTE
RCOMMIT
RCOPY
RDELETE
RRENAME
RSET
ADJUST
BEST
CORRELATE
EXTRAPOLATE
FIT
STEST
SUMMARIZE
APPLY
BACKTO
ENTER
ENTRY
FIELD
FORM
GHOST
INITIALIZE
LEAVE
MENU
RECALCULATE
REENTER
TERMINATE
TRIGGER
UNGHOST
VALIDATE
CLEAR
DATA
DATA PIE
DRAW ARROW
DRAW BOX
DRAW LINE
DRAW MARKING
DRAW NOTE
DRAW REGION
DRAW TEXT
GRAPH
GRAPH PIE
PICTURE
REFRESH
BLANK
FOOTING
HEADING
LINE
NEWPAGE
PRINT
REPORT
SCORE
SELECT
STROKE
TEXT
VALPRINT
ACCEPT
ARGUMENT
CANCEL
CATCH
CLOAD
COMPILE
ESCAPE
EXEC
EXECUTE
FUNCTION
IF
LOAD
LOCAL
LOOP
NEXT
PEEL
PROCEDURE
PROMPT
READ
RESIGNAL
RETURN
SIGNAL
TRY
UNLOAD
CONCEAL
HIDE
REVEAL
XYGET
ITEM
GLUE
OVER
IGNORE
IMAGE
FALSE
TRUE
DISP
OTHERWISE
ELSE
DECIMAL
channel
TRACE</Keywords>
<Keywords name="Keywords2">ANNUAL
BIMONTHLY
BIWEEKLY
BUSINESS
DAILY
HOURLY
MILLISECONDLY
MINUTELY
MONTHLY
PPY
QUARTERLY
SECONDLY
SEMIANNUAL
TENDAY
TWICEMONTHLY
WEEKLY
YPP</Keywords>
<Keywords name="Keywords3">ACCESS
ACF
AGGR
AGR
ALIAS
ALL
ALPHA
AMORT
ANNPCT
ANY
AR
ARGUMENT
ARIMA
ARMA
ASSOCIATE
AVE
BASEFREQ
BASETYPE
BASIS
BIWK
BOOLFMT
CASEORDER
CAVE
CHANNELS
CHANNELTYPE
CHR
CLASS
CMAX
CMIN
COLOR
CONNAME
CONVERT
CORR
CPROD
CREATED
CROSSLIST
CSUM
CTOT
DATEFMT
DATEOF
DATEORDER
DAY
DB
DBCREATED
DBUPDATED
DBVERSION
DESCRIPTION
DIFF
DIMCHAR
DIMENSION
DIMNUM
DOCUMENTATION
DTY
EMA
EOF
ERRORTEXT
EVAL
EXISTS
EXTRACT
EXTRADOTS
FILE
FILESPEC
FIRST
FIRSTCASE
FIRSTDATE
FIRSTVALUE
FONT
FPERIOD
FREQ
FYEAR
GETENV
GETID
GROWTH
HOUR
ID
INDENT
INDEX
INISCAN
INTERP
IRR
KIND
LARGEST
LAST
LASTCASE
LASTDATE
LASTERROR
LASTVALUE
LASTWARNING
LEFT
LENGTH
LENGTHCASE
LENGTHDATE
LIST
LMAX
LMIN
LOCATION
LOOKUP
LOWER
LTRIM
MA
MAGIC
MAKE
MAKEDATE
MAVE
MAVEC
MAX
MAXCASE
MAXDATE
MCORR
MEAN
MEDIAN
MERGE
MILLISECOND
MIN
MINCASE
MINDATE
MINUTE
MIRROR
MISSING
MMAX
MMEDIAN
MMIN
MONTH
MOVE
MSTDDEV
MSUM
MVAR
NAME
NAMELOC
NL
NORMAL
NOW
NPV
NUMBER
NUMFMT
OBSERVED
ORD
OVERLAY
PACF
PACK
PAD
PAYBACK
PCT
PENDING
PERIOD
PIXELS
POINTS
PRECFMT
PROD
REALNAME
REMEVAL
REPEAT
REPLACE
REVERSE
RIGHT
ROBLOC
ROBVAR
RTRIM
SANNPCT
SARIMA
SCAN
SCREENINFO
SCRIPT
SECOND
SELECTNAMES
SERIES
SHIFT
SHIFTMTH
SHIFTYR
SL
SLICE
SMALLEST
SORTDATA
SORTINDEX
SORTNAMES
SOURCE
SPECIAL
STDDEV
STRING
STRINGLENGTH
STUFF
SUBSTRING
SUM
SYSTEM
SYSTEMERROR
THISDAY
TIME
TODAY
TOT
TRIM
TUNE
TYPE
UNIFORM
UNIQUE
UPDATED
UPPER
VAR
WEEKDAY
WILDLIST
WILDNAMES
WINFRAMEINFO
WININFO
YEAR
YTD
YTYDIFF
YTYPCT
$</Keywords>
<Keywords name="Keywords4">ALL
AND
AUTO
BLANK
BOOLEAN
BREAK
CASE
CASEORDER
CIRCLE
COMPLETE
DASH
DATA
DATE
DATEORDER
DESCRIPTION
DIALOG
DIV
DMAX
DMIN
DOT
ELSE
EQ
EQL
ERRORTEXT
EXCEPT
FALSE
FIRSTCASE
FIRSTDATE
FRACTION
FULL
GE
GT
HORIZONTAL
IF
INFINITY
INFO
INPUT
INTERSECT
KEYBOARD
LASTCASE
LASTDATE
LASTERROR
LASTWARNING
LE
LENGTHCASE
LENGTHDATE
LOCAL
LT
MAJOR
MATCH
MAXCASE
MAXDATE
MESSAGE
MINCASE
MINDATE
MOD
N
NA
NAMELIST
NC
ND
NE
NEGINFINITY
NEL
NEWLINE
NO
NOARG
NONE
NORMAL
NOT
NOTHING
NOW
NULL
NUMERIC
OFF
ON
OR
OUTPUT
PERIODICITY
PI
PICTURE
PRECISION
PREVIOUS
PRTn
QUOTE
SCAN
SCIRCLE
SQUARE
SSQUARE
STANDARD
STARMAGICDATE
STEP
STRIANGLE
STRING
SUBSET
SYSTEMERROR
T
TERMINAL
THEN
TIME
TODAY
TOTAL
TRIANGLE
TRUE
UNIFORM
UNION
UNSPEC
VALUE
VERSION
WORK
XOR
YES
AS
TO
IN
FOR
error</Keywords>
<Keywords name="Keywords5">ACCEPT
ARGUMENT
CANCEL
CATCH
CLOAD
COMPILE
ESCAPE
EXECUTE
FUNCTION
Function Call
IF
LOAD
LOCAL
LOOP
NEXT
PEEL
PROCEDURE
Procedure Call
PROMPT
READ
RESIGNAL
RETURN
SIGNAL
TRY
UNLOAD</Keywords>
<Keywords name="Keywords6">@</Keywords>
<Keywords name="Keywords7">&&</Keywords>
<Keywords name="Keywords8">%
</Keywords>
<Keywords name="Delimiters">00" 01 02" 03( 04 05) 06{ 07 08} 09[ 10 11] 12< 13 14> 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="008000" bgColor="F0F0F0" fontName="Source Code Pro" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="008000" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="0000FF" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="FF8000" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="18B4C5" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="BF4043" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="5C2E2E" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="0080FF" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="00FF40" fontName="Source Code Pro" fontStyle="1" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="CC7700" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="FF0000" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="1" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="FFFF00" bgColor="FFFFFF" fontName="@FangSong" fontStyle="3" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="0080C0" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="F3F3F3" fontName="Source Code Pro" fontStyle="0" nesting="117702655" />
<WordsStyle name="DELIMITERS3" fgColor="8000FF" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="1" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFC4C4" fontName="Source Code Pro" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FF8000" fontName="Source Code Pro" fontStyle="1" nesting="512" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="Source Code Pro" fontStyle="0" nesting="0" />
</Styles>
</UserLang>