initial
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
LANGSPEC:GM.SPC
|
||||
KEYWORDS:GM.KEY
|
||||
@@ -0,0 +1,80 @@
|
||||
[-COMMENT-:GLOBAL]
|
||||
# GM GameMonkey LANGUAGE KEYWORDS FILE FOR CRIMSON EDITOR
|
||||
# FIRST EDITED BY Greg
|
||||
|
||||
[KEYWORDS0:GLOBAL]
|
||||
if
|
||||
else
|
||||
for
|
||||
foreach
|
||||
in
|
||||
and
|
||||
or
|
||||
while
|
||||
dowhile
|
||||
function
|
||||
return
|
||||
continue
|
||||
break
|
||||
null
|
||||
global
|
||||
local
|
||||
member
|
||||
table
|
||||
true
|
||||
false
|
||||
this
|
||||
|
||||
[KEYWORDS1:GLOBAL]
|
||||
debug
|
||||
typeId
|
||||
typeName
|
||||
typeRegisterOperator
|
||||
typeRegisterVariable
|
||||
sysCollectGarbage
|
||||
sysGetMemoryUsage
|
||||
sysSetDesiredMemoryUsageHard
|
||||
sysSetDesiredMemoryUsageSoft
|
||||
sysSetDesiredMemoryUsageAuto
|
||||
sysGetDesiredMemoryUsageHard
|
||||
sysGetDesiredMemoryUsageSoft
|
||||
sysTime
|
||||
doString
|
||||
globals
|
||||
threadTime
|
||||
threadId
|
||||
threadAllIds
|
||||
threadKill
|
||||
threadKillAll
|
||||
thread
|
||||
yield
|
||||
exit
|
||||
assert
|
||||
sleep
|
||||
signal
|
||||
block
|
||||
stateSet
|
||||
stateSetOnThread
|
||||
stateGet
|
||||
stateGetLast
|
||||
stateSetExitFunction
|
||||
tableCount
|
||||
tableDuplicate
|
||||
print
|
||||
format
|
||||
|
||||
[KEYWORDS2:GLOBAL]
|
||||
|
||||
[KEYWORDS3:GLOBAL]
|
||||
|
||||
[KEYWORDS4:GLOBAL]
|
||||
|
||||
[KEYWORDS5:GLOBAL]
|
||||
|
||||
[KEYWORDS6:GLOBAL]
|
||||
|
||||
[KEYWORDS7:GLOBAL]
|
||||
|
||||
[KEYWORDS8:GLOBAL]
|
||||
|
||||
[KEYWORDS9:GLOBAL]
|
||||
@@ -0,0 +1,34 @@
|
||||
# GM GameMonkey LANGUAGE SPECIFICATION FILE FOR CRIMSON EDITOR
|
||||
# FIRST EDITED BY Greg
|
||||
|
||||
$CASESENSITIVE=YES
|
||||
$DELIMITERS=~`!@#$%^&*()-+=|\{}[]:;"',.<>/?
|
||||
|
||||
# There are currently no preprocessor commands in GM, but there maybe sometime
|
||||
# $KEYWORDPREFIX=#
|
||||
|
||||
# Bit of a hack to highlight binary constants
|
||||
# Will need to set Variable color to match constants
|
||||
#$BINARYMARK=0x Be nice if this was available
|
||||
# The below lines don't behave as expected
|
||||
#$VARIABLEPREFIX=0b
|
||||
#$SPECIALVARIABLECHARS=0b
|
||||
|
||||
$HEXADECIMALMARK=0x
|
||||
|
||||
$ESCAPECHAR=\
|
||||
$QUOTATIONMARK1="
|
||||
$QUOTATIONMARK2='
|
||||
|
||||
# In the current version of CrimsonEditor (3.51), the $QUOTATIONMARK3
|
||||
# tag isn't supported, but maybe it will be in the future...
|
||||
#$QUOTATIONMARK3=`
|
||||
|
||||
$LINECOMMENT=//
|
||||
$BLOCKCOMMENTON=/*
|
||||
$BLOCKCOMMENTOFF=*/
|
||||
$INDENTATIONON={
|
||||
$INDENTATIONOFF=}
|
||||
$PAIRS1=()
|
||||
$PAIRS2=[]
|
||||
$PAIRS3={}
|
||||
Reference in New Issue
Block a user