fork
This commit is contained in:
10
langs/1c-kod/1c-kod.txt
Normal file
10
langs/1c-kod/1c-kod.txt
Normal file
@ -0,0 +1,10 @@
|
||||
### 1C LANGUAGE ###
|
||||
|
||||
NAME 1С (Код)
|
||||
VERSION 8.X
|
||||
PREPROCESSOR ((&|#)[^\n^',']*)
|
||||
COMMENT (?default)
|
||||
STRING (?default)
|
||||
OPERATOR (?alt:operator.txt)
|
||||
STATEMENT (?alt:statement.txt)([\s';']|$)
|
||||
ENTITY \b[0-9.]*\b
|
8
langs/1c-kod/operator.txt
Normal file
8
langs/1c-kod/operator.txt
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
;
|
||||
(
|
||||
)
|
||||
[
|
||||
]
|
||||
,
|
||||
.
|
82
langs/1c-kod/statement.txt
Normal file
82
langs/1c-kod/statement.txt
Normal file
@ -0,0 +1,82 @@
|
||||
# comparison
|
||||
=
|
||||
<>
|
||||
>=
|
||||
<=
|
||||
Новый
|
||||
Для
|
||||
Каждого
|
||||
Из
|
||||
Цикл
|
||||
Перем
|
||||
Экспорт
|
||||
Функция
|
||||
Процедура
|
||||
ИначеЕсли
|
||||
Если
|
||||
Или
|
||||
Не
|
||||
Ложь
|
||||
КонецПроцедуры
|
||||
КонецФункции
|
||||
Истина
|
||||
И
|
||||
КонецЕсли
|
||||
Возврат
|
||||
Тогда
|
||||
Попытка
|
||||
Исключение
|
||||
КонецПопытки
|
||||
КонецЦикла
|
||||
Неопределено
|
||||
НОВЫЙ
|
||||
ДЛЯ
|
||||
КАЖДОГО
|
||||
ИЗ
|
||||
ЦИКЛ
|
||||
ПЕРЕМ
|
||||
ЭКСПОРТ
|
||||
ФУНКЦИЯ
|
||||
ПРОЦЕДУРА
|
||||
ИНАЧЕЕСЛИ
|
||||
ЕСЛИ
|
||||
ИЛИ
|
||||
НЕ
|
||||
ЛОЖЬ
|
||||
КОНЕЦПРОЦЕДУРЫ
|
||||
КОНЕЦФУНКЦИИ
|
||||
ИСТИНА
|
||||
И
|
||||
КОНЕЦЕСЛИ
|
||||
ВОЗВРАТ
|
||||
ТОГДА
|
||||
ПОПЫТКА
|
||||
ИСКЛЮЧЕНИЕ
|
||||
КОНЕЦПОПЫТКИ
|
||||
КОНЕЦЦИКЛА
|
||||
НЕОПРЕДЕЛЕНО
|
||||
новый
|
||||
для
|
||||
каждого
|
||||
из
|
||||
цикл
|
||||
перем
|
||||
функция
|
||||
процедура
|
||||
иначеесли
|
||||
если
|
||||
или
|
||||
не
|
||||
ложь
|
||||
конецпроцедуры
|
||||
конецфункции
|
||||
истина
|
||||
и
|
||||
конецесли
|
||||
возврат
|
||||
тогда
|
||||
попытка
|
||||
исключение
|
||||
конецпопытки
|
||||
конеццикла
|
||||
неопределено
|
10
langs/1c-zapros/1c-zapros.txt
Normal file
10
langs/1c-zapros/1c-zapros.txt
Normal file
@ -0,0 +1,10 @@
|
||||
### 1C LANGUAGE ###
|
||||
|
||||
NAME 1С (Запрос)
|
||||
VERSION 8.X
|
||||
COMMENT (?default)
|
||||
VARIABLE (&[^\s^','^)]*)
|
||||
OPERATOR (?alt:operator.txt)([\s';']|$)
|
||||
STATEMENT (\s(?alt:statement.txt)(.?))+?(?=\()|(\s)(?alt:statement.txt)([\s';']|$)
|
||||
SYMBOL (?alt:symbol.txt)
|
||||
|
20
langs/1c-zapros/operator.txt
Normal file
20
langs/1c-zapros/operator.txt
Normal file
@ -0,0 +1,20 @@
|
||||
# logical
|
||||
ИЗ
|
||||
ВЫБРАТЬ
|
||||
ГДЕ
|
||||
КАК
|
||||
РАЗЛИЧНЫЕ
|
||||
СГРУППИРОВАТЬ
|
||||
ИТОГИ
|
||||
ПО
|
||||
РАЗРЕШЕННЫЕ
|
||||
ПЕРВЫЕ
|
||||
ПОМЕСТИТЬ
|
||||
ЧИСЛО
|
||||
СТРОКА
|
||||
ДАТА
|
||||
УНИЧТОЖИТЬ
|
||||
ЗНАЧЕНИЕ
|
||||
ТИПЗНАЧЕНИЯ
|
||||
ОБЪЕДИНИТЬ ВСЕ
|
||||
ОБЪЕДИНИТЬ
|
55
langs/1c-zapros/statement.txt
Normal file
55
langs/1c-zapros/statement.txt
Normal file
@ -0,0 +1,55 @@
|
||||
#Как делать регистр я так и не понял
|
||||
И
|
||||
НЕ
|
||||
В ИЕРАРХИИ
|
||||
ЕСТЬ
|
||||
NULL
|
||||
МАКСИМУМ
|
||||
МИНИМУМ
|
||||
КОЛИЧЕСТВО
|
||||
СУММА
|
||||
ИЛИ
|
||||
МЕЖДУ
|
||||
ПОДОБНО
|
||||
ВЫРАЗИТЬ
|
||||
ВЫБОР
|
||||
КОГДА
|
||||
ТОГДА
|
||||
ИНАЧЕ
|
||||
КОНЕЦ
|
||||
ГОД
|
||||
МЕСЯЦ
|
||||
КВАРТАЛ
|
||||
ДЕНЬ
|
||||
НЕДЕЛЯ
|
||||
ЧАС
|
||||
МИНУТА
|
||||
СЕКУНДА
|
||||
ЕСТЬNULL
|
||||
ДАТАВРЕМЯ
|
||||
и
|
||||
есть
|
||||
null
|
||||
максимум
|
||||
минимум
|
||||
количество
|
||||
сумма
|
||||
или
|
||||
между
|
||||
подобно
|
||||
выразить
|
||||
выбор
|
||||
когда
|
||||
тогда
|
||||
иначе
|
||||
конец
|
||||
год
|
||||
месяц
|
||||
квартал
|
||||
день
|
||||
неделя
|
||||
час
|
||||
минута
|
||||
секунда
|
||||
естьnull
|
||||
датавремя
|
15
langs/1c-zapros/symbol.txt
Normal file
15
langs/1c-zapros/symbol.txt
Normal file
@ -0,0 +1,15 @@
|
||||
#
|
||||
=
|
||||
>=
|
||||
>
|
||||
<=
|
||||
<
|
||||
<>
|
||||
/
|
||||
-
|
||||
%
|
||||
+
|
||||
*
|
||||
,
|
||||
(
|
||||
)
|
17
langs/abap/abap.txt
Normal file
17
langs/abap/abap.txt
Normal file
@ -0,0 +1,17 @@
|
||||
### ABAP LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME ABAP
|
||||
VERSION 1.8.4
|
||||
|
||||
COMMENT (^\s*\*.*?$)|(".*?$)
|
||||
STRING ('.*?')|(`.*?`)
|
||||
|
||||
RESERVED \b(?alt:reserved.txt)\b
|
||||
|
||||
ENTITY \b\w+(?=\([^\)]*\))
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
OPERATOR (?alt:operator.txt)
|
||||
CONSTANT (?default)
|
||||
SYMBOL (?default)
|
22
langs/abap/operator.txt
Normal file
22
langs/abap/operator.txt
Normal file
@ -0,0 +1,22 @@
|
||||
(
|
||||
)
|
||||
{
|
||||
}
|
||||
[
|
||||
]
|
||||
+
|
||||
-
|
||||
*
|
||||
/
|
||||
!
|
||||
%
|
||||
^
|
||||
&
|
||||
:
|
||||
.
|
||||
>=
|
||||
<=
|
||||
<
|
||||
>
|
||||
=
|
||||
?=
|
404
langs/abap/reserved.txt
Normal file
404
langs/abap/reserved.txt
Normal file
@ -0,0 +1,404 @@
|
||||
scientific_with_leading_zero
|
||||
scale_preserving_scientific
|
||||
class_constructor
|
||||
extended_monetary
|
||||
count_any_not_of
|
||||
cx_dynamic_check
|
||||
scale_preserving
|
||||
substring_before
|
||||
concat_lines_of
|
||||
cx_static_check
|
||||
exception-table
|
||||
find_any_not_of
|
||||
parameter-table
|
||||
right-specified
|
||||
sign_as_postfix
|
||||
substring_after
|
||||
col_background
|
||||
implementation
|
||||
left-justified
|
||||
substring_from
|
||||
error_message
|
||||
output-length
|
||||
value-request
|
||||
col_negative
|
||||
col_positive
|
||||
count_any_of
|
||||
display-mode
|
||||
errormessage
|
||||
filter-table
|
||||
help-request
|
||||
no-extension
|
||||
no-scrolling
|
||||
no-topofpage
|
||||
on change of
|
||||
redefinition
|
||||
shortdump-id
|
||||
substring_to
|
||||
transporting
|
||||
user-command
|
||||
with-heading
|
||||
abbreviated
|
||||
col_heading
|
||||
destination
|
||||
engineering
|
||||
environment
|
||||
find_any_of
|
||||
immediately
|
||||
intensified
|
||||
no-grouping
|
||||
non-unicode
|
||||
responsible
|
||||
shift_right
|
||||
title-lines
|
||||
trace-table
|
||||
activation
|
||||
attributes
|
||||
col_normal
|
||||
components
|
||||
dd/mm/yyyy
|
||||
deallocate
|
||||
decfloat16
|
||||
decfloat34
|
||||
definition
|
||||
department
|
||||
descending
|
||||
disconnect
|
||||
exceptions
|
||||
first-line
|
||||
from_mixed
|
||||
head-lines
|
||||
index-line
|
||||
line-count
|
||||
message-id
|
||||
mm/dd/yyyy
|
||||
no-display
|
||||
no-heading
|
||||
obligatory
|
||||
performing
|
||||
pushbutton
|
||||
queue-only
|
||||
returncode
|
||||
rightspace
|
||||
scientific
|
||||
shift_left
|
||||
statusinfo
|
||||
submatches
|
||||
table_line
|
||||
trace-file
|
||||
with-title
|
||||
appending
|
||||
ascending
|
||||
assigning
|
||||
col_group
|
||||
col_total
|
||||
comparing
|
||||
condition
|
||||
csequence
|
||||
dangerous
|
||||
end-lines
|
||||
excluding
|
||||
exporting
|
||||
importing
|
||||
including
|
||||
increment
|
||||
leftspace
|
||||
line-size
|
||||
numofchar
|
||||
quickinfo
|
||||
read-only
|
||||
receiving
|
||||
reference
|
||||
replacing
|
||||
resumable
|
||||
returning
|
||||
rightplus
|
||||
requested
|
||||
scrolling
|
||||
structure
|
||||
substring
|
||||
timestamp
|
||||
top-lines
|
||||
xsequence
|
||||
abstract
|
||||
allocate
|
||||
assigned
|
||||
backward
|
||||
centered
|
||||
changing
|
||||
char_off
|
||||
circular
|
||||
creating
|
||||
critical
|
||||
currency
|
||||
database
|
||||
datainfo
|
||||
dbmaxlen
|
||||
dd/mm/yy
|
||||
decfloat
|
||||
decimals
|
||||
deferred
|
||||
distance
|
||||
distinct
|
||||
encoding
|
||||
exponent
|
||||
find_end
|
||||
harmless
|
||||
language
|
||||
leftplus
|
||||
major-id
|
||||
minor-id
|
||||
mm/dd/yy
|
||||
modifier
|
||||
monetary
|
||||
no-title
|
||||
optional
|
||||
pos_high
|
||||
priority
|
||||
received
|
||||
receiver
|
||||
supplied
|
||||
timezone
|
||||
to_lower
|
||||
to_mixed
|
||||
to_upper
|
||||
between
|
||||
bit-and
|
||||
bit-not
|
||||
bit-set
|
||||
bit-xor
|
||||
byte-ca
|
||||
byte-cn
|
||||
byte-co
|
||||
byte-cs
|
||||
byte-na
|
||||
byte-ns
|
||||
calling
|
||||
casting
|
||||
charlen
|
||||
col_key
|
||||
comment
|
||||
context
|
||||
country
|
||||
current
|
||||
cx_root
|
||||
default
|
||||
exclude
|
||||
filters
|
||||
forward
|
||||
friends
|
||||
help-id
|
||||
hotspot
|
||||
initial
|
||||
inverse
|
||||
matches
|
||||
no-gaps
|
||||
no-sign
|
||||
no-zero
|
||||
numeric
|
||||
objects
|
||||
options
|
||||
pos_low
|
||||
raising
|
||||
results
|
||||
rescale
|
||||
reverse
|
||||
seconds
|
||||
segment
|
||||
varying
|
||||
version
|
||||
warning
|
||||
xstring
|
||||
xstrlen
|
||||
accept
|
||||
bit-or
|
||||
blocks
|
||||
bounds
|
||||
center
|
||||
client
|
||||
column
|
||||
copies
|
||||
ddmmyy
|
||||
escape
|
||||
exists
|
||||
filter
|
||||
giving
|
||||
handle
|
||||
having
|
||||
layout
|
||||
length
|
||||
medium
|
||||
memory
|
||||
module
|
||||
mmddyy
|
||||
no-gap
|
||||
number
|
||||
occurs
|
||||
offset
|
||||
option
|
||||
output
|
||||
others
|
||||
public
|
||||
result
|
||||
repeat
|
||||
screen
|
||||
simple
|
||||
single
|
||||
source
|
||||
stable
|
||||
static
|
||||
string
|
||||
strlen
|
||||
subkey
|
||||
switch
|
||||
unique
|
||||
values
|
||||
yymmdd
|
||||
alias
|
||||
align
|
||||
boolc
|
||||
boolx
|
||||
bound
|
||||
boxed
|
||||
clike
|
||||
close
|
||||
color
|
||||
count
|
||||
dummy
|
||||
equiv
|
||||
exact
|
||||
field
|
||||
final
|
||||
floor
|
||||
index
|
||||
inner
|
||||
inout
|
||||
log10
|
||||
level
|
||||
lines
|
||||
lower
|
||||
match
|
||||
nodes
|
||||
pages
|
||||
range
|
||||
regex
|
||||
reset
|
||||
right
|
||||
round
|
||||
short
|
||||
space
|
||||
spots
|
||||
state
|
||||
style
|
||||
super
|
||||
table
|
||||
times
|
||||
title
|
||||
trunc
|
||||
under
|
||||
using
|
||||
utf-8
|
||||
valid
|
||||
value
|
||||
where
|
||||
width
|
||||
acos
|
||||
area
|
||||
asin
|
||||
atan
|
||||
ceil
|
||||
cmax
|
||||
cmin
|
||||
cosh
|
||||
date
|
||||
font
|
||||
frac
|
||||
from
|
||||
high
|
||||
hold
|
||||
incl
|
||||
into
|
||||
join
|
||||
kind
|
||||
late
|
||||
left
|
||||
like
|
||||
line
|
||||
load
|
||||
long
|
||||
mail
|
||||
mode
|
||||
name
|
||||
next
|
||||
nmax
|
||||
nmin
|
||||
null
|
||||
only
|
||||
open
|
||||
page
|
||||
part
|
||||
rows
|
||||
sign
|
||||
sinh
|
||||
size
|
||||
some
|
||||
sqrt
|
||||
tanh
|
||||
then
|
||||
time
|
||||
type
|
||||
unit
|
||||
vary
|
||||
with
|
||||
word
|
||||
zero
|
||||
all
|
||||
and
|
||||
any
|
||||
avg
|
||||
cnt
|
||||
cpi
|
||||
cos
|
||||
div
|
||||
exp
|
||||
for
|
||||
ids
|
||||
iso
|
||||
key
|
||||
low
|
||||
lpi
|
||||
max
|
||||
min
|
||||
mod
|
||||
not
|
||||
off
|
||||
out
|
||||
pad
|
||||
sin
|
||||
tan
|
||||
tab
|
||||
yes
|
||||
as
|
||||
bt
|
||||
by
|
||||
ca
|
||||
cn
|
||||
co
|
||||
cp
|
||||
cs
|
||||
eq
|
||||
ge
|
||||
gt
|
||||
id
|
||||
in
|
||||
is
|
||||
le
|
||||
lt
|
||||
nb
|
||||
ne
|
||||
no
|
||||
of
|
||||
or
|
||||
to
|
||||
o
|
||||
z
|
670
langs/abap/statement.txt
Normal file
670
langs/abap/statement.txt
Normal file
@ -0,0 +1,670 @@
|
||||
using selection-sets of program
|
||||
preserving identifier escaping
|
||||
without further secondary keys
|
||||
receive results from function
|
||||
at next application statement
|
||||
corresponding fields of table
|
||||
ignoring structure boundaries
|
||||
keeping logical unit of work
|
||||
with further secondary keys
|
||||
ignoring conversion errors
|
||||
with explicit enhancements
|
||||
with implicit enhancements
|
||||
with inactive enhancements
|
||||
scan and check abap-source
|
||||
with current switchstates
|
||||
generate subroutine-pool
|
||||
leave to list-processing
|
||||
set left scroll-boundary
|
||||
accepting duplicate keys
|
||||
enhancement options into
|
||||
exporting list to memory
|
||||
no standard page heading
|
||||
skipping byte-order mark
|
||||
with precompiled headers
|
||||
without selection-screen
|
||||
syntax-check for program
|
||||
call customer subscreen
|
||||
corresponding fields of
|
||||
environment time format
|
||||
keeping directory entry
|
||||
new list identification
|
||||
end-enhancement-section
|
||||
syntax-check for dynpro
|
||||
call customer-function
|
||||
fixed-point arithmetic
|
||||
transporting no fields
|
||||
using selection-screen
|
||||
with list tokenization
|
||||
multiply-corresponding
|
||||
subtract-corresponding
|
||||
call selection-screen
|
||||
leave list-processing
|
||||
set run time analyzer
|
||||
and skip first screen
|
||||
begin of tabbed block
|
||||
during line-selection
|
||||
in legacy binary mode
|
||||
no database selection
|
||||
non-unique sorted key
|
||||
reduced functionality
|
||||
replacement character
|
||||
shared memory enabled
|
||||
with windows linefeed
|
||||
leave to transaction
|
||||
accepting truncation
|
||||
and return to screen
|
||||
archiving parameters
|
||||
begin of common part
|
||||
daylight saving time
|
||||
implementations from
|
||||
include program from
|
||||
on radiobutton group
|
||||
on value-request for
|
||||
renaming with suffix
|
||||
via selection-screen
|
||||
with byte-order mark
|
||||
with free selections
|
||||
with native linefeed
|
||||
with selection-table
|
||||
without spool dynpro
|
||||
divide-corresponding
|
||||
verification-message
|
||||
at selection-screen
|
||||
call transformation
|
||||
exit from step-loop
|
||||
adjacent duplicates
|
||||
at cursor-selection
|
||||
end of tabbed block
|
||||
first occurrence of
|
||||
in char-to-hex mode
|
||||
in legacy text mode
|
||||
on help-request for
|
||||
option class-coding
|
||||
preferred parameter
|
||||
using selection-set
|
||||
with non-unique key
|
||||
with smart linefeed
|
||||
enhancement-section
|
||||
assign table field
|
||||
convert time stamp
|
||||
set extended check
|
||||
set run time clock
|
||||
as search patterns
|
||||
dataset expiration
|
||||
dynamic selections
|
||||
end of common part
|
||||
frame program from
|
||||
from number format
|
||||
in background task
|
||||
in background unit
|
||||
into sortable code
|
||||
maximum width into
|
||||
not at end of mode
|
||||
radiobutton groups
|
||||
replacement length
|
||||
replacement offset
|
||||
using no edit mask
|
||||
with unix linefeed
|
||||
move-corresponding
|
||||
start-of-selection
|
||||
protected section
|
||||
at line-selection
|
||||
describe distance
|
||||
accepting padding
|
||||
all other columns
|
||||
defining database
|
||||
deleting trailing
|
||||
execute procedure
|
||||
for all instances
|
||||
in character mode
|
||||
include structure
|
||||
option syncpoints
|
||||
radiobutton group
|
||||
replacement count
|
||||
respecting blanks
|
||||
standard table of
|
||||
starting new task
|
||||
structure default
|
||||
add-corresponding
|
||||
end-of-definition
|
||||
enhancement-point
|
||||
assign component
|
||||
call transaction
|
||||
import directory
|
||||
insert text-pool
|
||||
set user-command
|
||||
truncate dataset
|
||||
all blob columns
|
||||
all clob columns
|
||||
as separate unit
|
||||
begin of version
|
||||
by kernel module
|
||||
bypassing buffer
|
||||
client specified
|
||||
create protected
|
||||
current position
|
||||
deleting leading
|
||||
enhancement into
|
||||
field value into
|
||||
init destination
|
||||
main table field
|
||||
matchcode object
|
||||
no intervals off
|
||||
no-extension off
|
||||
open for package
|
||||
replacement line
|
||||
spool parameters
|
||||
to number format
|
||||
unicode enabling
|
||||
with header line
|
||||
end-of-selection
|
||||
selection-screen
|
||||
on chain-request
|
||||
on value-request
|
||||
scan abap-source
|
||||
private section
|
||||
at user-command
|
||||
move percentage
|
||||
raise exception
|
||||
refresh control
|
||||
set blank lines
|
||||
set update task
|
||||
suppress dialog
|
||||
as person table
|
||||
at exit-command
|
||||
begin of screen
|
||||
compression off
|
||||
default program
|
||||
directory entry
|
||||
field selection
|
||||
for all entries
|
||||
from logfile id
|
||||
hashed table of
|
||||
inheriting from
|
||||
initial line of
|
||||
line value from
|
||||
line value into
|
||||
number of lines
|
||||
number of pages
|
||||
of current page
|
||||
on exit-command
|
||||
package section
|
||||
respecting case
|
||||
sorted table of
|
||||
statements into
|
||||
structures into
|
||||
using edit mask
|
||||
with type-pools
|
||||
with unique key
|
||||
authority-check
|
||||
load-of-program
|
||||
on help-request
|
||||
generate dynpro
|
||||
generate report
|
||||
include methods
|
||||
loop at screen
|
||||
public section
|
||||
delete dataset
|
||||
describe field
|
||||
describe table
|
||||
export nametab
|
||||
get time stamp
|
||||
appendage type
|
||||
begin of block
|
||||
code page hint
|
||||
code page into
|
||||
compression on
|
||||
create package
|
||||
create private
|
||||
default screen
|
||||
display offset
|
||||
end of version
|
||||
extension type
|
||||
from code page
|
||||
get connection
|
||||
global friends
|
||||
in binary mode
|
||||
in remote task
|
||||
in update task
|
||||
including gaps
|
||||
internal table
|
||||
list authority
|
||||
lob handle for
|
||||
maximum length
|
||||
no end of line
|
||||
non-unique key
|
||||
obligatory off
|
||||
on end of task
|
||||
receive buffer
|
||||
reference into
|
||||
sap cover page
|
||||
standard table
|
||||
type tableview
|
||||
visible length
|
||||
whenever found
|
||||
with table key
|
||||
with test code
|
||||
endenhancement
|
||||
initialization
|
||||
interface-pool
|
||||
call subscreen
|
||||
on chain-input
|
||||
import nametab
|
||||
select-options
|
||||
call function
|
||||
close dataset
|
||||
create object
|
||||
describe list
|
||||
exit from sql
|
||||
export dynpro
|
||||
get parameter
|
||||
get pf-status
|
||||
get reference
|
||||
insert report
|
||||
leave program
|
||||
modify screen
|
||||
read textpool
|
||||
rollback work
|
||||
set hold data
|
||||
set parameter
|
||||
set pf-status
|
||||
actual length
|
||||
before output
|
||||
before unwind
|
||||
begin of line
|
||||
binary search
|
||||
create public
|
||||
end of screen
|
||||
final methods
|
||||
for appending
|
||||
from database
|
||||
ignoring case
|
||||
in background
|
||||
include bound
|
||||
keep in spool
|
||||
keywords from
|
||||
little endian
|
||||
local friends
|
||||
messages into
|
||||
nesting level
|
||||
option coding
|
||||
option expand
|
||||
overflow into
|
||||
ref to object
|
||||
shared buffer
|
||||
shared memory
|
||||
to first page
|
||||
to lower case
|
||||
to upper case
|
||||
type tabstrip
|
||||
valid between
|
||||
with analysis
|
||||
with comments
|
||||
with includes
|
||||
with linefeed
|
||||
without trmac
|
||||
class-methods
|
||||
function-pool
|
||||
print-control
|
||||
import dynpro
|
||||
field-symbols
|
||||
close cursor
|
||||
convert date
|
||||
convert text
|
||||
get property
|
||||
get run time
|
||||
leave screen
|
||||
open dataset
|
||||
read dataset
|
||||
set language
|
||||
set property
|
||||
set titlebar
|
||||
according to
|
||||
archive mode
|
||||
as subscreen
|
||||
color yellow
|
||||
display like
|
||||
end of block
|
||||
field format
|
||||
for event of
|
||||
from context
|
||||
function key
|
||||
hashed table
|
||||
in byte mode
|
||||
in text mode
|
||||
include into
|
||||
include type
|
||||
initial line
|
||||
initial size
|
||||
keeping task
|
||||
list dataset
|
||||
match length
|
||||
match offset
|
||||
message into
|
||||
no intervals
|
||||
option class
|
||||
options from
|
||||
package size
|
||||
program from
|
||||
program type
|
||||
separated by
|
||||
sorted table
|
||||
to code page
|
||||
to last page
|
||||
to last line
|
||||
to sap spool
|
||||
using screen
|
||||
with pragmas
|
||||
class-events
|
||||
endinterface
|
||||
field-groups
|
||||
syntax-check
|
||||
syntax-trace
|
||||
call dialog
|
||||
call method
|
||||
call screen
|
||||
commit work
|
||||
create data
|
||||
delete from
|
||||
free memory
|
||||
get dataset
|
||||
modify line
|
||||
open cursor
|
||||
raise event
|
||||
read report
|
||||
set country
|
||||
set dataset
|
||||
set handler
|
||||
after input
|
||||
all methods
|
||||
area handle
|
||||
as checkbox
|
||||
at position
|
||||
backup into
|
||||
binary mode
|
||||
color black
|
||||
color green
|
||||
data buffer
|
||||
data values
|
||||
default key
|
||||
end of file
|
||||
end of line
|
||||
endian into
|
||||
for columns
|
||||
for testing
|
||||
frame entry
|
||||
from screen
|
||||
index table
|
||||
left margin
|
||||
levels into
|
||||
line format
|
||||
locator for
|
||||
match count
|
||||
next cursor
|
||||
offset into
|
||||
on rollback
|
||||
primary key
|
||||
ref to data
|
||||
result into
|
||||
search fkeq
|
||||
search fkge
|
||||
search gkeq
|
||||
search gkge
|
||||
send buffer
|
||||
starting at
|
||||
table field
|
||||
tokens into
|
||||
value check
|
||||
break-point
|
||||
concatenate
|
||||
editor-call
|
||||
end-of-file
|
||||
end-of-page
|
||||
endfunction
|
||||
enhancement
|
||||
new-section
|
||||
top-of-page
|
||||
load report
|
||||
system-call
|
||||
system-exit
|
||||
get cursor
|
||||
get locale
|
||||
read table
|
||||
set cursor
|
||||
set locale
|
||||
set margin
|
||||
set screen
|
||||
wait until
|
||||
wait up to
|
||||
all fields
|
||||
and return
|
||||
as listbox
|
||||
big endian
|
||||
color blue
|
||||
color pink
|
||||
connect to
|
||||
cover page
|
||||
cover text
|
||||
for output
|
||||
for select
|
||||
for update
|
||||
from table
|
||||
in program
|
||||
left outer
|
||||
lower case
|
||||
match line
|
||||
object key
|
||||
of program
|
||||
reader for
|
||||
risk level
|
||||
section of
|
||||
time stamp
|
||||
to context
|
||||
upper case
|
||||
valid from
|
||||
with frame
|
||||
writer for
|
||||
class-pool
|
||||
endprovide
|
||||
interfaces
|
||||
on request
|
||||
class-data
|
||||
parameters
|
||||
type-pools
|
||||
at end of
|
||||
call badi
|
||||
read line
|
||||
any table
|
||||
as symbol
|
||||
as window
|
||||
code page
|
||||
color red
|
||||
edit mask
|
||||
ending at
|
||||
for field
|
||||
for input
|
||||
for lines
|
||||
for table
|
||||
line into
|
||||
line page
|
||||
list name
|
||||
memory id
|
||||
no dialog
|
||||
no fields
|
||||
on commit
|
||||
on end of
|
||||
print off
|
||||
sorted by
|
||||
text mode
|
||||
time zone
|
||||
to column
|
||||
using key
|
||||
with hold
|
||||
with null
|
||||
word into
|
||||
endmethod
|
||||
endmodule
|
||||
endselect
|
||||
infotypes
|
||||
interface
|
||||
log-point
|
||||
translate
|
||||
type-pool
|
||||
constants
|
||||
at first
|
||||
exec sql
|
||||
get badi
|
||||
get time
|
||||
and mark
|
||||
and wait
|
||||
begin of
|
||||
for high
|
||||
for node
|
||||
for user
|
||||
group by
|
||||
if found
|
||||
in group
|
||||
in table
|
||||
lines of
|
||||
modif id
|
||||
no flush
|
||||
on block
|
||||
order by
|
||||
print on
|
||||
range of
|
||||
table of
|
||||
with key
|
||||
condense
|
||||
endclass
|
||||
function
|
||||
multiply
|
||||
new-line
|
||||
new-page
|
||||
position
|
||||
subtract
|
||||
transfer
|
||||
endchain
|
||||
on input
|
||||
continue
|
||||
endcatch
|
||||
endwhile
|
||||
controls
|
||||
at last
|
||||
loop at
|
||||
get bit
|
||||
set bit
|
||||
as icon
|
||||
as line
|
||||
as text
|
||||
for low
|
||||
line of
|
||||
of page
|
||||
to line
|
||||
to page
|
||||
via job
|
||||
aliases
|
||||
collect
|
||||
compute
|
||||
endexec
|
||||
endform
|
||||
extract
|
||||
include
|
||||
maximum
|
||||
message
|
||||
methods
|
||||
minimum
|
||||
overlay
|
||||
perform
|
||||
program
|
||||
provide
|
||||
refresh
|
||||
replace
|
||||
reserve
|
||||
summary
|
||||
summing
|
||||
process
|
||||
cleanup
|
||||
endcase
|
||||
endloop
|
||||
statics
|
||||
at new
|
||||
end of
|
||||
ref to
|
||||
append
|
||||
assign
|
||||
define
|
||||
delete
|
||||
demand
|
||||
detail
|
||||
divide
|
||||
export
|
||||
events
|
||||
format
|
||||
import
|
||||
insert
|
||||
method
|
||||
modify
|
||||
reject
|
||||
report
|
||||
scroll
|
||||
search
|
||||
select
|
||||
submit
|
||||
supply
|
||||
unpack
|
||||
update
|
||||
window
|
||||
assert
|
||||
elseif
|
||||
endtry
|
||||
resume
|
||||
return
|
||||
fields
|
||||
ranges
|
||||
tables
|
||||
up to
|
||||
clear
|
||||
class
|
||||
endon
|
||||
fetch
|
||||
input
|
||||
leave
|
||||
raise
|
||||
shift
|
||||
split
|
||||
uline
|
||||
write
|
||||
chain
|
||||
catch
|
||||
check
|
||||
endat
|
||||
endif
|
||||
enddo
|
||||
retry
|
||||
while
|
||||
local
|
||||
types
|
||||
find
|
||||
form
|
||||
free
|
||||
hide
|
||||
move
|
||||
pack
|
||||
skip
|
||||
sort
|
||||
case
|
||||
else
|
||||
exit
|
||||
loop
|
||||
stop
|
||||
when
|
||||
data
|
||||
add
|
||||
get
|
||||
put
|
||||
sum
|
||||
try
|
||||
at
|
||||
do
|
||||
if
|
16
langs/ada/README.md
Normal file
16
langs/ada/README.md
Normal file
@ -0,0 +1,16 @@
|
||||
crayon-lang-ada
|
||||
===============
|
||||
|
||||
some modifications for the crayon syntax highlighter.
|
||||
|
||||
Installation:
|
||||
-------------
|
||||
|
||||
1. Search for the folder langs inside your crayon installation
|
||||
2. Create a folder named ada
|
||||
3. copy **ALL** txt files into that folder
|
||||
4. DONE
|
||||
|
||||
|
||||
Aram (crayons creator) has added it to the crayon repo here on github. So you can simply pull the current repo to get it.
|
||||
https://github.com/aramkocharyan/crayon-syntax-highlighter
|
22
langs/ada/ada.txt
Normal file
22
langs/ada/ada.txt
Normal file
@ -0,0 +1,22 @@
|
||||
### ADA LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME ADA
|
||||
VERSION 0.0.2
|
||||
|
||||
COMMENT (--.*?$)
|
||||
STRING (?default)
|
||||
|
||||
NOTATION \@[\w-]+
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
RESERVED (?default)|\b(?alt:reserved.txt)\b
|
||||
TYPE (?default)|\b(?alt:type.txt)\b
|
||||
|
||||
ENTITY (?default)|\b[a-z_]\w+\s*\|\s*[a-z_]\w+\b\s+(?=\b[a-z_]\w+\b)
|
||||
VARIABLE (?default)
|
||||
GENERIC:ENTITY <\w+>
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR \b(?alt:operator.txt)\b
|
||||
SYMBOL (?default)
|
32
langs/ada/operator.txt
Normal file
32
langs/ada/operator.txt
Normal file
@ -0,0 +1,32 @@
|
||||
# Grouped operators
|
||||
=>
|
||||
..
|
||||
**
|
||||
:=
|
||||
/=
|
||||
>=
|
||||
<=
|
||||
<<
|
||||
>>
|
||||
<>
|
||||
|
||||
# Single operators
|
||||
&
|
||||
'
|
||||
(
|
||||
)
|
||||
*
|
||||
+
|
||||
,
|
||||
-
|
||||
.
|
||||
/
|
||||
:
|
||||
;
|
||||
<
|
||||
=
|
||||
>
|
||||
|
|
||||
|
||||
# Others
|
||||
"
|
73
langs/ada/reserved.txt
Normal file
73
langs/ada/reserved.txt
Normal file
@ -0,0 +1,73 @@
|
||||
abort
|
||||
abs
|
||||
abstract
|
||||
accept
|
||||
access
|
||||
aliased
|
||||
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
|
||||
interface
|
||||
is
|
||||
limited
|
||||
loop
|
||||
mod
|
||||
new
|
||||
not
|
||||
null
|
||||
of
|
||||
or
|
||||
others
|
||||
out
|
||||
overriding
|
||||
package
|
||||
pragma
|
||||
private
|
||||
procedure
|
||||
protected
|
||||
raise
|
||||
range
|
||||
record
|
||||
rem
|
||||
renames
|
||||
requeue
|
||||
return
|
||||
reverse
|
||||
select
|
||||
separate
|
||||
some
|
||||
subtype
|
||||
synchronized
|
||||
tagged
|
||||
task
|
||||
terminate
|
||||
then
|
||||
type
|
||||
until
|
||||
use
|
||||
when
|
||||
while
|
||||
with
|
||||
xor
|
26
langs/ada/statement.txt
Normal file
26
langs/ada/statement.txt
Normal file
@ -0,0 +1,26 @@
|
||||
begin
|
||||
continue
|
||||
switch
|
||||
break
|
||||
result
|
||||
finally
|
||||
raise
|
||||
while
|
||||
then
|
||||
case
|
||||
else
|
||||
goto
|
||||
and
|
||||
for
|
||||
try
|
||||
xor
|
||||
not
|
||||
end
|
||||
as
|
||||
do
|
||||
if
|
||||
or
|
||||
in
|
||||
is
|
||||
to
|
||||
downto
|
6
langs/ada/type.txt
Normal file
6
langs/ada/type.txt
Normal file
@ -0,0 +1,6 @@
|
||||
Integer
|
||||
Float
|
||||
Duration
|
||||
Character
|
||||
String
|
||||
Boolean
|
17
langs/aliases.txt
Normal file
17
langs/aliases.txt
Normal file
@ -0,0 +1,17 @@
|
||||
c# cs csharp
|
||||
c++ cpp
|
||||
xhtml xml html
|
||||
objc obj-c
|
||||
python py
|
||||
vb vbs
|
||||
js javascript
|
||||
sh shell unix bash
|
||||
ruby rb
|
||||
ilogic logic inventor inv ilog
|
||||
pgsql sql mysql
|
||||
as flash swf fla
|
||||
ps powershell
|
||||
asm x86
|
||||
perl pl
|
||||
delphi pascal
|
||||
plsql pls ora
|
20
langs/amigados/amigados.txt
Normal file
20
langs/amigados/amigados.txt
Normal file
@ -0,0 +1,20 @@
|
||||
### AmigaDOS SCRIPT ###
|
||||
### Author: Giuseppe Portelli giuseppe.portelli@gmail.com ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME AmigaDOS
|
||||
VERSION 1.0
|
||||
|
||||
STRING (?default)
|
||||
|
||||
COMMENT ;.*?$
|
||||
LABEL:FADED ^Lab\s.*$
|
||||
|
||||
COMMAND:KEYWORD \b(?alt:commands.txt)\b
|
||||
DEVICE:CONSTANT \b[a-zA-Z][a-zA-Z0-9]*:
|
||||
|
||||
VARIABLE \$[a-zA-Z][a-zA-Z0-9]*|\${[a-zA-Z][a-zA-Z0-9]*}
|
||||
|
||||
OPERATOR (?alt:symbols.txt)
|
||||
SYMBOL (?alt:wildcards.txt)
|
180
langs/amigados/commands.txt
Normal file
180
langs/amigados/commands.txt
Normal file
@ -0,0 +1,180 @@
|
||||
8SVX
|
||||
A2024
|
||||
AddBuffers
|
||||
AddDataTypes
|
||||
AddMonitor
|
||||
Alias
|
||||
AmigaGuide
|
||||
ANIM
|
||||
Ask
|
||||
Assign
|
||||
AutoPoint
|
||||
Avail
|
||||
BindDrivers
|
||||
BindMonitor
|
||||
Blanker
|
||||
Break
|
||||
BRU
|
||||
Calculator
|
||||
CD
|
||||
CDXL
|
||||
ChangeTaskPri
|
||||
Classes
|
||||
CLI
|
||||
ClickToFront
|
||||
Clipboard
|
||||
Clock
|
||||
CMD
|
||||
Colors
|
||||
Commodities
|
||||
ConClip
|
||||
Copy
|
||||
CPU
|
||||
CrossDOS
|
||||
Datatypes
|
||||
Date
|
||||
DblNTSC
|
||||
DblPAL
|
||||
Delete
|
||||
Dir
|
||||
DiskChange
|
||||
DiskCopy
|
||||
DiskDoctor
|
||||
Display
|
||||
DPat
|
||||
Echo
|
||||
Ed
|
||||
Edit
|
||||
Else
|
||||
EndCLI
|
||||
EndIf
|
||||
EndShell
|
||||
EndSkip
|
||||
Euro36
|
||||
Euro72
|
||||
Eval
|
||||
Exchange
|
||||
Execute
|
||||
Failat
|
||||
Fault
|
||||
Filenote
|
||||
FixFonts
|
||||
FKey
|
||||
Font
|
||||
Format
|
||||
Fountain
|
||||
FTXT
|
||||
Get
|
||||
Getenv
|
||||
GraphicDump
|
||||
HDBackup
|
||||
HDToolBox
|
||||
HI
|
||||
IconEdit
|
||||
IControl
|
||||
IconX
|
||||
If
|
||||
IHelp
|
||||
ILBM
|
||||
Info
|
||||
InitPrinter
|
||||
Input
|
||||
Install
|
||||
Installer
|
||||
Intellifont
|
||||
IPrefs
|
||||
Join
|
||||
KeyShow
|
||||
Lab
|
||||
Lacer
|
||||
LIST
|
||||
LoadResource
|
||||
LoadWb
|
||||
Locale
|
||||
Lock
|
||||
MagTape
|
||||
MakeDir
|
||||
Makefiles
|
||||
MakeLink
|
||||
MEmacs
|
||||
Monitors
|
||||
More
|
||||
Mount
|
||||
Mountlist
|
||||
MouseBlanker
|
||||
Multiscan
|
||||
Multiview
|
||||
NewCLI
|
||||
NewShell
|
||||
NoCapsLock
|
||||
NoFastMem
|
||||
NTSC
|
||||
Overscan
|
||||
PAL
|
||||
Palette
|
||||
Path
|
||||
PCD
|
||||
Pointer
|
||||
Preferences
|
||||
PrepCard
|
||||
Printer
|
||||
PrinterGfx
|
||||
PrinterPS
|
||||
PrintFiles
|
||||
PROGDIR:
|
||||
Prompt
|
||||
Protect
|
||||
Quit
|
||||
Relabel
|
||||
RemRad
|
||||
Rename
|
||||
RequestChoice
|
||||
RequestFile
|
||||
Resident
|
||||
RexxMast
|
||||
Run
|
||||
RX
|
||||
RXC
|
||||
RXLIB
|
||||
RXSET
|
||||
Say
|
||||
ScreenMode
|
||||
Search
|
||||
Serial
|
||||
Set
|
||||
SetClock
|
||||
SetDate
|
||||
SetEnv
|
||||
SetFont
|
||||
SetKeyboard
|
||||
SetMap
|
||||
SetPatch
|
||||
ShowConfig
|
||||
Skip
|
||||
Sort
|
||||
Sound
|
||||
SPat
|
||||
Stack
|
||||
Startup-Sequence
|
||||
Status
|
||||
Storage
|
||||
Super72
|
||||
TCC
|
||||
TCO
|
||||
TE
|
||||
Time
|
||||
TS
|
||||
Type
|
||||
UnAlias
|
||||
UnSet
|
||||
UnSetEnv
|
||||
User-Startup
|
||||
Version
|
||||
VGAOnly
|
||||
Wait
|
||||
WaitForPort
|
||||
WBPattern
|
||||
WBStartup
|
||||
WDisplay
|
||||
Which
|
||||
Why
|
14
langs/amigados/symbols.txt
Normal file
14
langs/amigados/symbols.txt
Normal file
@ -0,0 +1,14 @@
|
||||
`
|
||||
+
|
||||
*
|
||||
/
|
||||
\
|
||||
$
|
||||
:
|
||||
.
|
||||
?
|
||||
;
|
||||
>
|
||||
>>
|
||||
<
|
||||
<>
|
11
langs/amigados/wildcards.txt
Normal file
11
langs/amigados/wildcards.txt
Normal file
@ -0,0 +1,11 @@
|
||||
#
|
||||
?
|
||||
(
|
||||
)
|
||||
|
|
||||
~
|
||||
%
|
||||
[
|
||||
]
|
||||
-
|
||||
'
|
23
langs/apache/apache.txt
Normal file
23
langs/apache/apache.txt
Normal file
@ -0,0 +1,23 @@
|
||||
### APACHE LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME Apache
|
||||
VERSION 1.8.3
|
||||
|
||||
COMMENT #.*?$
|
||||
STRING (?default)
|
||||
|
||||
TAGNAME:RESERVED (?<=<)(\s*/\s*)?[^>\s]+
|
||||
TAG_DELIM:RESERVED <|(/\s*)?>
|
||||
TAG_ATTR:ENTITY [^<>\s]+(?=[^<>]*\s*>)
|
||||
|
||||
VARIABLE (^\s*\b\w+\b(?=\s*=))|(\$\w+\b)
|
||||
SPECIAL:VARIABLE %\{[^\}]*\}
|
||||
OPTION:VARIABLE -\w+
|
||||
ARRAY:CONSTANT \[[^]]*\]
|
||||
RESERVED ^\s*\b\w+\b
|
||||
CONSTANT (?default)
|
||||
TEXT:IDENTIFIER [\w-]+
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
200
langs/apache/reserved.txt
Normal file
200
langs/apache/reserved.txt
Normal file
@ -0,0 +1,200 @@
|
||||
enumFromThenTo
|
||||
properFraction
|
||||
isNegativeZero
|
||||
isDenomalized
|
||||
enumFromThen
|
||||
fromRational
|
||||
fromIntegral
|
||||
fromInteger
|
||||
floatDigits
|
||||
decodeFloat
|
||||
encodeFloat
|
||||
significand
|
||||
getContents
|
||||
enumFromTo
|
||||
toRational
|
||||
floatRadix
|
||||
floatRange
|
||||
scaleFloat
|
||||
isInfinite
|
||||
realToFrac
|
||||
showString
|
||||
appendFile
|
||||
qualified
|
||||
otherwise
|
||||
toInteger
|
||||
sequence_
|
||||
undefined
|
||||
concatMap
|
||||
teakWhile
|
||||
dropWhile
|
||||
showParen
|
||||
readsPrec
|
||||
readParen
|
||||
writeFile
|
||||
userError
|
||||
deriving
|
||||
instance
|
||||
fromEnum
|
||||
enumFrom
|
||||
minBound
|
||||
maxBound
|
||||
truncate
|
||||
exponent
|
||||
subtract
|
||||
sequence
|
||||
asTypeOf
|
||||
zipWith3
|
||||
showPrec
|
||||
showList
|
||||
showChar
|
||||
readList
|
||||
putStrLn
|
||||
interact
|
||||
readFile
|
||||
default
|
||||
newtype
|
||||
Foreign
|
||||
Numeric
|
||||
Prelude
|
||||
uncurry
|
||||
compare
|
||||
quotRem
|
||||
logBase
|
||||
ceiling
|
||||
'filter
|
||||
reverse
|
||||
product
|
||||
maximum
|
||||
minimum
|
||||
iterate
|
||||
splitAt
|
||||
notElem
|
||||
zipWith
|
||||
unlines
|
||||
unwords
|
||||
putChar
|
||||
getChar
|
||||
getLine
|
||||
ioError
|
||||
forall
|
||||
hiding
|
||||
import
|
||||
infixl
|
||||
infixr
|
||||
module
|
||||
either
|
||||
toEnum
|
||||
negate
|
||||
signum
|
||||
divMod
|
||||
isIEEE
|
||||
return
|
||||
length
|
||||
foldl1
|
||||
foldr1
|
||||
concat
|
||||
scanl1
|
||||
scanr1
|
||||
repeat
|
||||
lookup
|
||||
unzip3
|
||||
putStr
|
||||
readIO
|
||||
readLn
|
||||
class
|
||||
infix
|
||||
where
|
||||
maybe
|
||||
curry
|
||||
recip
|
||||
asinh
|
||||
acosh
|
||||
atanh
|
||||
round
|
||||
floor
|
||||
isNaN
|
||||
atan2
|
||||
mapM_
|
||||
const
|
||||
'flip
|
||||
until
|
||||
error
|
||||
foldl
|
||||
foldr
|
||||
scanl
|
||||
scanr
|
||||
cycle
|
||||
break
|
||||
unzip
|
||||
lines
|
||||
words
|
||||
shows
|
||||
reads
|
||||
print
|
||||
catch
|
||||
case
|
||||
data
|
||||
then
|
||||
else
|
||||
type
|
||||
succ
|
||||
pred
|
||||
quot
|
||||
sqrt
|
||||
asin
|
||||
acos
|
||||
atan
|
||||
sinh
|
||||
cosh
|
||||
tanh
|
||||
even
|
||||
fail
|
||||
fmap
|
||||
mapM
|
||||
'map
|
||||
head
|
||||
last
|
||||
tail
|
||||
init
|
||||
null
|
||||
take
|
||||
drop
|
||||
span
|
||||
elem
|
||||
zip3
|
||||
show
|
||||
read
|
||||
let
|
||||
not
|
||||
fst
|
||||
snd
|
||||
max
|
||||
min
|
||||
abs
|
||||
rem
|
||||
div
|
||||
mod
|
||||
exp
|
||||
log
|
||||
sin
|
||||
cos
|
||||
tan
|
||||
odd
|
||||
gcd
|
||||
lcm
|
||||
seq
|
||||
and
|
||||
any
|
||||
all
|
||||
sum
|
||||
zip
|
||||
lex
|
||||
as
|
||||
of
|
||||
do
|
||||
if
|
||||
in
|
||||
pi
|
||||
id
|
||||
or
|
29
langs/apache/type.txt
Normal file
29
langs/apache/type.txt
Normal file
@ -0,0 +1,29 @@
|
||||
Fractional
|
||||
RealFloat
|
||||
Ordering
|
||||
Rational
|
||||
Integral
|
||||
Floating
|
||||
RealFrac
|
||||
Bounded
|
||||
Integer
|
||||
Functor
|
||||
Either
|
||||
String
|
||||
Double
|
||||
Maybe
|
||||
Float
|
||||
Monad
|
||||
ShowS
|
||||
ReadS
|
||||
Bool
|
||||
Char
|
||||
Enum
|
||||
Real
|
||||
Show
|
||||
Read
|
||||
Ord
|
||||
Int
|
||||
Num
|
||||
Eq
|
||||
IO
|
19
langs/applescript/applescript.txt
Normal file
19
langs/applescript/applescript.txt
Normal file
@ -0,0 +1,19 @@
|
||||
### APPLESCRIPT LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME AppleScript
|
||||
VERSION 1.9.13
|
||||
|
||||
COMMENT ((--|#).*?$)|(\(\*.*?\*\))
|
||||
STRING (".*?")
|
||||
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
RESERVED \b(?alt:reserved.txt)\b
|
||||
|
||||
CONSTANT (?default)
|
||||
ENTITY \b(?alt:entity.txt)\b
|
||||
|
||||
IDENTIFIER (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
152
langs/applescript/entity.txt
Normal file
152
langs/applescript/entity.txt
Normal file
@ -0,0 +1,152 @@
|
||||
set the clipboard to
|
||||
choose from list
|
||||
do shell script
|
||||
default answer
|
||||
display dialog
|
||||
strikethrough
|
||||
do JavaScript
|
||||
AppleScript
|
||||
choose folder
|
||||
missing value
|
||||
the clipboard
|
||||
diacriticals
|
||||
application
|
||||
punctuation
|
||||
superscript
|
||||
choose file
|
||||
quoted form
|
||||
invisibles
|
||||
delimiters
|
||||
paragraphs
|
||||
POSIX path
|
||||
POSIX file
|
||||
properties
|
||||
duplicate
|
||||
expansion
|
||||
condensed
|
||||
subscript
|
||||
underline
|
||||
wednesday
|
||||
september
|
||||
shut down
|
||||
offset of
|
||||
paragraph
|
||||
receiving
|
||||
selection
|
||||
extension
|
||||
anything
|
||||
expanded
|
||||
thursday
|
||||
saturday
|
||||
february
|
||||
november
|
||||
december
|
||||
contents
|
||||
activate
|
||||
document
|
||||
info for
|
||||
path to
|
||||
integer
|
||||
version
|
||||
hyphens
|
||||
outline
|
||||
weekday
|
||||
tuesday
|
||||
january
|
||||
october
|
||||
minutes
|
||||
folders
|
||||
restart
|
||||
buttons
|
||||
desktop
|
||||
content
|
||||
between
|
||||
against
|
||||
delete
|
||||
exists
|
||||
launch
|
||||
reopen
|
||||
saving
|
||||
number
|
||||
string
|
||||
result
|
||||
hidden
|
||||
italic
|
||||
shadow
|
||||
monday
|
||||
friday
|
||||
sunday
|
||||
august
|
||||
folder
|
||||
window
|
||||
reveal
|
||||
adding
|
||||
bounds
|
||||
close
|
||||
count
|
||||
print
|
||||
alias
|
||||
space
|
||||
plain
|
||||
false
|
||||
month
|
||||
march
|
||||
april
|
||||
quote
|
||||
hours
|
||||
weeks
|
||||
files
|
||||
eject
|
||||
sleep
|
||||
items
|
||||
make
|
||||
move
|
||||
open
|
||||
quit
|
||||
save
|
||||
idle
|
||||
list
|
||||
text
|
||||
case
|
||||
bold
|
||||
true
|
||||
june
|
||||
july
|
||||
name
|
||||
days
|
||||
file
|
||||
disk
|
||||
item
|
||||
beep
|
||||
into
|
||||
onto
|
||||
run
|
||||
tab
|
||||
ask
|
||||
yes
|
||||
mon
|
||||
tue
|
||||
wed
|
||||
thu
|
||||
fri
|
||||
sat
|
||||
sun
|
||||
jan
|
||||
feb
|
||||
mar
|
||||
apr
|
||||
may
|
||||
jun
|
||||
jul
|
||||
aug
|
||||
sep
|
||||
oct
|
||||
nov
|
||||
dec
|
||||
new
|
||||
it
|
||||
me
|
||||
pi
|
||||
no
|
||||
id
|
||||
by
|
43
langs/applescript/reserved.txt
Normal file
43
langs/applescript/reserved.txt
Normal file
@ -0,0 +1,43 @@
|
||||
beginning
|
||||
contains
|
||||
seventh
|
||||
through
|
||||
greater
|
||||
second
|
||||
fourth
|
||||
eighth
|
||||
middle
|
||||
before
|
||||
equals
|
||||
every
|
||||
whose
|
||||
where
|
||||
index
|
||||
first
|
||||
third
|
||||
fifth
|
||||
sixth
|
||||
ninth
|
||||
tenth
|
||||
front
|
||||
named
|
||||
after
|
||||
equal
|
||||
each
|
||||
some
|
||||
last
|
||||
back
|
||||
thru
|
||||
isnt
|
||||
less
|
||||
the
|
||||
div
|
||||
mod
|
||||
and
|
||||
not
|
||||
st
|
||||
nd
|
||||
rd
|
||||
th
|
||||
as
|
||||
or
|
37
langs/applescript/statement.txt
Normal file
37
langs/applescript/statement.txt
Normal file
@ -0,0 +1,37 @@
|
||||
considering
|
||||
transaction
|
||||
property
|
||||
continue
|
||||
ignoring
|
||||
without
|
||||
timeout
|
||||
script
|
||||
global
|
||||
return
|
||||
repeat
|
||||
local
|
||||
given
|
||||
times
|
||||
while
|
||||
until
|
||||
error
|
||||
prop
|
||||
with
|
||||
tell
|
||||
then
|
||||
else
|
||||
from
|
||||
exit
|
||||
copy
|
||||
end
|
||||
set
|
||||
try
|
||||
get
|
||||
put
|
||||
to
|
||||
on
|
||||
of
|
||||
in
|
||||
if
|
||||
my
|
||||
is
|
24
langs/arduino/arduino.txt
Normal file
24
langs/arduino/arduino.txt
Normal file
@ -0,0 +1,24 @@
|
||||
### ARDUINO LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME Arduino
|
||||
VERSION 1.0.0
|
||||
|
||||
COMMENT (?default)
|
||||
PREPROCESSOR (?default)
|
||||
STRING (?default)
|
||||
|
||||
KEYWORD \b(?alt:keywords.txt)\b
|
||||
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
RESERVED (?default)|\b(?alt:reserved.txt)\b|\b(?alt:reserved2.txt)\b
|
||||
TYPE \b(?alt:types.txt)\b
|
||||
MODIFIER (?default)|\b(?alt:modifier.txt)\b
|
||||
|
||||
ENTITY \b(?alt:enity.txt)\b
|
||||
VARIABLE (?default)
|
||||
CONSTANT ((?-i)\b[A-Z_]*\b(?i))|((?default))
|
||||
IDENTIFIER (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
2
langs/arduino/enity.txt
Normal file
2
langs/arduino/enity.txt
Normal file
@ -0,0 +1,2 @@
|
||||
println
|
||||
print
|
7
langs/arduino/keywords.txt
Normal file
7
langs/arduino/keywords.txt
Normal file
@ -0,0 +1,7 @@
|
||||
INPUT
|
||||
INPUT_PULLUP
|
||||
OUTPUT
|
||||
LOW
|
||||
HIGH
|
||||
false
|
||||
true
|
36
langs/arduino/modifier.txt
Normal file
36
langs/arduino/modifier.txt
Normal file
@ -0,0 +1,36 @@
|
||||
transparent_union
|
||||
__extension__
|
||||
__attribute__
|
||||
__volatile__
|
||||
__complex__
|
||||
__inline__
|
||||
__restrict
|
||||
__signed__
|
||||
deprecated
|
||||
__const__
|
||||
__label__
|
||||
extension
|
||||
attribute
|
||||
may_alias
|
||||
volatile
|
||||
restrict
|
||||
register
|
||||
volatile
|
||||
__imag__
|
||||
__real__
|
||||
restrict
|
||||
nocommon
|
||||
complex
|
||||
aligned
|
||||
section
|
||||
cleanup
|
||||
inline
|
||||
signed
|
||||
extern
|
||||
packed
|
||||
unused
|
||||
const
|
||||
label
|
||||
imag
|
||||
real
|
||||
mode
|
52
langs/arduino/reserved.txt
Normal file
52
langs/arduino/reserved.txt
Normal file
@ -0,0 +1,52 @@
|
||||
__builtin_types_compatible_p
|
||||
__builtin_return_address
|
||||
constructor, destructor
|
||||
__builtin_frame_address
|
||||
no_instrument_function
|
||||
__builtin_choose_expr
|
||||
__builtin_constant_p
|
||||
__builtin_apply_args
|
||||
__builtin_prefetch
|
||||
regparm, stkparm
|
||||
__builtin_expect
|
||||
__builtin_return
|
||||
__builtin_apply
|
||||
always_inline
|
||||
__alignof__
|
||||
format_arg
|
||||
deprecated
|
||||
interrupt
|
||||
__FILE__
|
||||
__LINE__
|
||||
__func__
|
||||
noreturn
|
||||
noinline
|
||||
__asm__
|
||||
__align
|
||||
__align
|
||||
fortran
|
||||
alignof
|
||||
section
|
||||
nonnull
|
||||
nothrow
|
||||
sprintf
|
||||
sizeof
|
||||
pascal
|
||||
typeof
|
||||
format
|
||||
unused
|
||||
malloc
|
||||
printf
|
||||
malloc
|
||||
__asm
|
||||
__asm
|
||||
cdecl
|
||||
const
|
||||
alias
|
||||
auto
|
||||
near
|
||||
huge
|
||||
pure
|
||||
used
|
||||
asm
|
||||
far
|
46
langs/arduino/reserved2.txt
Normal file
46
langs/arduino/reserved2.txt
Normal file
@ -0,0 +1,46 @@
|
||||
analogWriteResolution
|
||||
analogReadResolution
|
||||
delayMicroseconds
|
||||
analogReference
|
||||
attachInterrupt
|
||||
detachInterrupt
|
||||
digitalWrite
|
||||
noInterrupts
|
||||
digitalRead
|
||||
analogWrite
|
||||
analogRead
|
||||
randomSeed
|
||||
interrupts
|
||||
constrain
|
||||
shiftOut
|
||||
highByte
|
||||
bitWrite
|
||||
bitClear
|
||||
pinMode
|
||||
shiftIn
|
||||
pulseIn
|
||||
lowByte
|
||||
bitRead
|
||||
noTone
|
||||
millis
|
||||
micros
|
||||
random
|
||||
bitSet
|
||||
delay
|
||||
float
|
||||
tone
|
||||
sqrt
|
||||
char
|
||||
byte
|
||||
word
|
||||
long
|
||||
min
|
||||
max
|
||||
abs
|
||||
map
|
||||
pow
|
||||
sin
|
||||
cos
|
||||
tan
|
||||
int
|
||||
bit
|
53
langs/arduino/statement.txt
Normal file
53
langs/arduino/statement.txt
Normal file
@ -0,0 +1,53 @@
|
||||
setup
|
||||
loop
|
||||
sizeof
|
||||
if
|
||||
else
|
||||
for
|
||||
switch
|
||||
case
|
||||
while
|
||||
do
|
||||
break
|
||||
continue
|
||||
return
|
||||
goto
|
||||
pinMode
|
||||
digitalWrite
|
||||
digitalRead
|
||||
analogReference
|
||||
analogRead
|
||||
analogWrite
|
||||
tone
|
||||
noTone
|
||||
shiftOut
|
||||
shiftIn
|
||||
pulseInO
|
||||
millis
|
||||
micros
|
||||
delay
|
||||
delayMicroseconds
|
||||
min
|
||||
max
|
||||
abs
|
||||
constrain
|
||||
map
|
||||
pow
|
||||
sqrt
|
||||
sin
|
||||
cos
|
||||
tan
|
||||
randomSeed
|
||||
random
|
||||
lowByte
|
||||
highByte
|
||||
bitRead
|
||||
bitWrite
|
||||
bitSet
|
||||
bitClear
|
||||
bit
|
||||
attachInterrupt
|
||||
detachInterrupt
|
||||
interrupts
|
||||
noInterrupts
|
||||
serial
|
13
langs/arduino/types.txt
Normal file
13
langs/arduino/types.txt
Normal file
@ -0,0 +1,13 @@
|
||||
void
|
||||
boolean
|
||||
char
|
||||
unsigned
|
||||
byte
|
||||
int
|
||||
word
|
||||
long
|
||||
float
|
||||
double
|
||||
string
|
||||
String
|
||||
array
|
22
langs/as/as.txt
Normal file
22
langs/as/as.txt
Normal file
@ -0,0 +1,22 @@
|
||||
### ACTIONSCRIPT LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME ActionScript
|
||||
VERSION 1.8.0
|
||||
|
||||
COMMENT (?default)
|
||||
STRING (?default)
|
||||
|
||||
STATEMENT (?default)|\b(?alt:statement.txt)\b
|
||||
RESERVED (?default)|\b(?<![:\.])(?-i:(?alt:reserved.txt))(?![:\.])\b
|
||||
TYPE (?default)
|
||||
MODIFIER (?default)
|
||||
|
||||
ENTITY (?default)
|
||||
LIBRARY:ENTITY \b(?alt:library.txt)\b
|
||||
VARIABLE (?default)
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
16
langs/as/library.txt
Normal file
16
langs/as/library.txt
Normal file
@ -0,0 +1,16 @@
|
||||
flash.xml
|
||||
flash.utils
|
||||
flash.ui
|
||||
flash.text
|
||||
flash.system
|
||||
flash.profiler
|
||||
flash.printing
|
||||
flash.net,
|
||||
flash.media
|
||||
flash.geom
|
||||
flash.filters
|
||||
flash.external
|
||||
flash.events
|
||||
flash.errors
|
||||
flash.display
|
||||
flash.accessibility
|
8
langs/as/reserved.txt
Normal file
8
langs/as/reserved.txt
Normal file
@ -0,0 +1,8 @@
|
||||
instanceof
|
||||
undefined
|
||||
typeof
|
||||
import
|
||||
set
|
||||
get
|
||||
internal
|
||||
delete
|
1
langs/as/statement.txt
Normal file
1
langs/as/statement.txt
Normal file
@ -0,0 +1 @@
|
||||
with
|
16
langs/asm/asm.txt
Normal file
16
langs/asm/asm.txt
Normal file
@ -0,0 +1,16 @@
|
||||
### X86 ASSEMBLY LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME Assembly (x86)
|
||||
VERSION 1.9.1
|
||||
|
||||
COMMENT (;.*?$)
|
||||
STRING (?default)
|
||||
|
||||
OPERATION:RESERVED ^\s*\w+
|
||||
|
||||
REGISTER:VARIABLE %?[a-z]+
|
||||
CONSTANT \$?(?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
22
langs/asp/asp.txt
Normal file
22
langs/asp/asp.txt
Normal file
@ -0,0 +1,22 @@
|
||||
### ASP LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME ASP
|
||||
VERSION 1.0.0
|
||||
|
||||
COMMENT (?default)|('.*?$)
|
||||
STRING (?default)
|
||||
|
||||
TAG <%=?|%>|^%
|
||||
STATEMENT (?default)|\b(?alt:statement.txt)\b
|
||||
RESERVED (?default)|\b(?alt:reserved.txt)\b
|
||||
TYPE (?default)|\b(?alt:type.txt)\b
|
||||
MODIFIER (?default)
|
||||
|
||||
ENTITY (?default)
|
||||
VARIABLE (?default)
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
70
langs/asp/reserved.txt
Normal file
70
langs/asp/reserved.txt
Normal file
@ -0,0 +1,70 @@
|
||||
include
|
||||
file
|
||||
Const
|
||||
Dim
|
||||
Option
|
||||
Explicit
|
||||
Implicit
|
||||
Get
|
||||
Set
|
||||
Select
|
||||
ReDim
|
||||
Preserve
|
||||
ByVal
|
||||
ByRef
|
||||
Fix
|
||||
Xor
|
||||
var
|
||||
CreateObject
|
||||
Write
|
||||
Redirect
|
||||
Cookies
|
||||
BinaryRead
|
||||
ServerVariables
|
||||
TotalBytes
|
||||
AddHeader
|
||||
AppendToLog
|
||||
BinaryWrite
|
||||
Buffer
|
||||
CacheControl
|
||||
Clear
|
||||
Expires
|
||||
ExpiresAbsolute
|
||||
Flush
|
||||
End
|
||||
IsClientConnected
|
||||
PICS
|
||||
Status
|
||||
Recordset
|
||||
Execute
|
||||
Abandon
|
||||
Lock
|
||||
UnLock
|
||||
Command
|
||||
Fields
|
||||
Properties
|
||||
Property
|
||||
Send
|
||||
Replace
|
||||
InStr
|
||||
TRIM
|
||||
NOW
|
||||
LCase
|
||||
UCase
|
||||
Abs
|
||||
Array
|
||||
As
|
||||
LEN
|
||||
MoveFirst
|
||||
MoveLast
|
||||
MovePrevious
|
||||
MoveNext
|
||||
LBound
|
||||
UBound
|
||||
Transfer
|
||||
Open
|
||||
Close
|
||||
MapPath
|
||||
FileExists
|
||||
OpenTextFile
|
||||
ReadAll
|
25
langs/asp/statement.txt
Normal file
25
langs/asp/statement.txt
Normal file
@ -0,0 +1,25 @@
|
||||
with
|
||||
If
|
||||
Then
|
||||
Else
|
||||
Each
|
||||
In
|
||||
Is
|
||||
ElseIf
|
||||
Case
|
||||
With
|
||||
NOT
|
||||
While
|
||||
Wend
|
||||
For
|
||||
Loop
|
||||
Do
|
||||
Or
|
||||
Request
|
||||
Response
|
||||
Server
|
||||
To
|
||||
Let
|
||||
Resume
|
||||
GoTo
|
||||
Call
|
48
langs/asp/type.txt
Normal file
48
langs/asp/type.txt
Normal file
@ -0,0 +1,48 @@
|
||||
Null
|
||||
Nothing
|
||||
And
|
||||
False
|
||||
True
|
||||
BOF
|
||||
EOF
|
||||
Function
|
||||
Class
|
||||
New
|
||||
Sub
|
||||
INT
|
||||
CINT
|
||||
CBOOL
|
||||
CDATE
|
||||
CBYTE
|
||||
CCUR
|
||||
CDBL
|
||||
CLNG
|
||||
CSNG
|
||||
CSTR
|
||||
String
|
||||
Boolean
|
||||
Currency
|
||||
Me
|
||||
Single
|
||||
Long
|
||||
Variant
|
||||
Double
|
||||
Error
|
||||
Imp
|
||||
Global
|
||||
Session
|
||||
Application
|
||||
Sgn
|
||||
Array
|
||||
Day
|
||||
Month
|
||||
Hour
|
||||
Minute
|
||||
Second
|
||||
Year
|
||||
MonthName
|
||||
Charset
|
||||
ContentType
|
||||
QueryString
|
||||
Form
|
||||
Command
|
20
langs/autoit/autoit.txt
Normal file
20
langs/autoit/autoit.txt
Normal file
@ -0,0 +1,20 @@
|
||||
### AUTOIT LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME AutoIt
|
||||
VERSION 1.8.2
|
||||
|
||||
COMMENT (#(comments-start|cs).*?#(comments-end|ce))|(;.*?$)
|
||||
PREPROCESSOR (#.*?$)
|
||||
STRING (?default)
|
||||
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
RESERVED \b(?alt:reserved.txt)\b
|
||||
|
||||
ENTITY (?default)
|
||||
VARIABLE \$[A-Za-z_]\w*\b
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
11
langs/autoit/reserved.txt
Normal file
11
langs/autoit/reserved.txt
Normal file
@ -0,0 +1,11 @@
|
||||
FuncGlobal
|
||||
Default
|
||||
Switch
|
||||
ByRef
|
||||
Const
|
||||
False
|
||||
Local
|
||||
ReDim
|
||||
Enum
|
||||
True
|
||||
Dim
|
27
langs/autoit/statement.txt
Normal file
27
langs/autoit/statement.txt
Normal file
@ -0,0 +1,27 @@
|
||||
ContinueLoopDefault
|
||||
EndSelectEndSwitch
|
||||
ContinueCase
|
||||
ReturnSelect
|
||||
WhileWith
|
||||
ExitLoop
|
||||
EndFunc
|
||||
EndWith
|
||||
ElseIf
|
||||
Switch
|
||||
EndIf
|
||||
Until
|
||||
Case
|
||||
Else
|
||||
Exit
|
||||
Next
|
||||
Step
|
||||
Then
|
||||
WEnd
|
||||
And
|
||||
For
|
||||
Not
|
||||
Do
|
||||
If
|
||||
In
|
||||
Or
|
||||
To
|
25
langs/batch/batch.txt
Normal file
25
langs/batch/batch.txt
Normal file
@ -0,0 +1,25 @@
|
||||
### MS DOS BATCH SCRIPT ###
|
||||
### Author: Giuseppe Portelli giuseppe.portelli@gmail.com ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME MS DOS
|
||||
VERSION 1.1
|
||||
|
||||
STRING (?default)|(?<=\becho\b).*?$
|
||||
|
||||
COMMENT ^::.*?$|^rem\s(.*?)$
|
||||
|
||||
LABEL:FADED :[a-zA-Z_\-][a-zA-Z0-9_\-\.]+
|
||||
|
||||
KEYWORD @?\b(?alt:keywords.txt)\b
|
||||
|
||||
RESERVED @?\b(?alt:builtins.txt)\b
|
||||
COMMAND:RESERVED ^@?\b[a-zA-Z][a-zA-Z0-9_\-\.]*\b
|
||||
|
||||
VARIABLE %?%[0-9]+|%[^%\s]+%
|
||||
|
||||
PARAMETER:ENTITY \s-[a-zA-Z][a-zA-Z0-9]*
|
||||
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
75
langs/batch/builtins.txt
Normal file
75
langs/batch/builtins.txt
Normal file
@ -0,0 +1,75 @@
|
||||
smartdrive
|
||||
echo off
|
||||
fastopen
|
||||
intersvr
|
||||
interlnk
|
||||
loadhigh
|
||||
memmaker
|
||||
scandisk
|
||||
truename
|
||||
undelete
|
||||
restore
|
||||
deltree
|
||||
echo on
|
||||
exe2bin
|
||||
loadfix
|
||||
append
|
||||
assign
|
||||
attrib
|
||||
backup
|
||||
basica
|
||||
chkdsk
|
||||
choice
|
||||
defrag
|
||||
format
|
||||
pcpark
|
||||
setver
|
||||
verify
|
||||
basic
|
||||
chdir
|
||||
erase
|
||||
edlin
|
||||
fdisk
|
||||
label
|
||||
mkdir
|
||||
pause
|
||||
print
|
||||
rmdir
|
||||
share
|
||||
subst
|
||||
xcopy
|
||||
call
|
||||
chcp
|
||||
copy
|
||||
ctty
|
||||
echo
|
||||
edit
|
||||
exit
|
||||
comp
|
||||
find
|
||||
help
|
||||
join
|
||||
mode
|
||||
more
|
||||
move
|
||||
path
|
||||
sort
|
||||
time
|
||||
date
|
||||
tree
|
||||
type
|
||||
cls
|
||||
del
|
||||
dir
|
||||
mem
|
||||
msd
|
||||
rem
|
||||
ren
|
||||
set
|
||||
sys
|
||||
ver
|
||||
cd
|
||||
fc
|
||||
lh
|
||||
md
|
||||
rd
|
19
langs/batch/keywords.txt
Normal file
19
langs/batch/keywords.txt
Normal file
@ -0,0 +1,19 @@
|
||||
errorlevel
|
||||
setlocal
|
||||
endlocal
|
||||
choice
|
||||
lfnfor
|
||||
shift
|
||||
pause
|
||||
exist
|
||||
start
|
||||
else
|
||||
call
|
||||
goto
|
||||
echo
|
||||
for
|
||||
not
|
||||
set
|
||||
do
|
||||
in
|
||||
if
|
23
langs/c#/c#.txt
Normal file
23
langs/c#/c#.txt
Normal file
@ -0,0 +1,23 @@
|
||||
### C# LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME C#
|
||||
VERSION 1.8.1
|
||||
|
||||
COMMENT (?default)
|
||||
PREPROCESSOR (?default)
|
||||
VERBATIMSTR:STRING (?<!\\)(@\".*?(?<!(\"))\")
|
||||
STRING (?default)
|
||||
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
RESERVED \b(?alt:reserved.txt)\b
|
||||
TYPE \b(?alt:type.txt)\b
|
||||
MODIFIER \b(?alt:modifier.txt)\b
|
||||
|
||||
ENTITY (?default)
|
||||
VARIABLE (?default)
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
20
langs/c#/modifier.txt
Normal file
20
langs/c#/modifier.txt
Normal file
@ -0,0 +1,20 @@
|
||||
protected
|
||||
readonly
|
||||
implicit
|
||||
internal
|
||||
abstract
|
||||
volatile
|
||||
explicit
|
||||
override
|
||||
private
|
||||
virtual
|
||||
unsafe
|
||||
sealed
|
||||
extern
|
||||
public
|
||||
extern
|
||||
static
|
||||
async
|
||||
const
|
||||
fixed
|
||||
ref
|
14
langs/c#/reserved.txt
Normal file
14
langs/c#/reserved.txt
Normal file
@ -0,0 +1,14 @@
|
||||
stackalloc
|
||||
unchecked
|
||||
delegate
|
||||
explicit
|
||||
checked
|
||||
nameof
|
||||
params
|
||||
typeof
|
||||
sizeof
|
||||
await
|
||||
event
|
||||
this
|
||||
base
|
||||
new
|
25
langs/c#/statement.txt
Normal file
25
langs/c#/statement.txt
Normal file
@ -0,0 +1,25 @@
|
||||
continue
|
||||
finally
|
||||
foreach
|
||||
default
|
||||
switch
|
||||
return
|
||||
using
|
||||
throw
|
||||
break
|
||||
catch
|
||||
while
|
||||
lock
|
||||
case
|
||||
goto
|
||||
else
|
||||
out
|
||||
try
|
||||
for
|
||||
as
|
||||
if
|
||||
in
|
||||
do
|
||||
is
|
||||
get
|
||||
set
|
28
langs/c#/type.txt
Normal file
28
langs/c#/type.txt
Normal file
@ -0,0 +1,28 @@
|
||||
interface
|
||||
namespace
|
||||
operator
|
||||
decimal
|
||||
struct
|
||||
ushort
|
||||
struct
|
||||
object
|
||||
double
|
||||
string
|
||||
ulong
|
||||
sbyte
|
||||
false
|
||||
float
|
||||
class
|
||||
short
|
||||
uint
|
||||
null
|
||||
bool
|
||||
true
|
||||
byte
|
||||
char
|
||||
void
|
||||
long
|
||||
enum
|
||||
int
|
||||
dynamic
|
||||
var
|
23
langs/c++/c++.txt
Normal file
23
langs/c++/c++.txt
Normal file
@ -0,0 +1,23 @@
|
||||
### C++ LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME C++
|
||||
VERSION 1.8.1
|
||||
|
||||
COMMENT (?default)
|
||||
PREPROCESSOR (?default)
|
||||
STRING (?default)
|
||||
|
||||
STATEMENT (?default)|\b(?alt:statement.txt)\b
|
||||
RESERVED (?default)|\b(?alt:reserved.txt)\b
|
||||
TYPE (?default)|\b(?alt:type.txt)\b
|
||||
MODIFIER (?default)|\b(?alt:modifier.txt)\b
|
||||
|
||||
ENTITY (?default)
|
||||
# TODO: the use of priorities would be suitable here, last check for &*** vars might match entity
|
||||
VARIABLE (?default)|(?default:identifier)(?=::)|\b(?<=\-\>)\s*[A-Za-z_]\w*|&(?default:identifier)\s*(?!\()
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
30
langs/c++/modifier.txt
Normal file
30
langs/c++/modifier.txt
Normal file
@ -0,0 +1,30 @@
|
||||
__forceinline
|
||||
__attribute__
|
||||
__extension__
|
||||
thread_local
|
||||
__volatile__
|
||||
__complex__
|
||||
__abstract
|
||||
__declspec
|
||||
__property
|
||||
__inline__
|
||||
__restrict
|
||||
selectany
|
||||
__const__
|
||||
__label__
|
||||
volatile
|
||||
register
|
||||
__inline
|
||||
noinline
|
||||
property
|
||||
register
|
||||
__imag__
|
||||
__real__
|
||||
restrict
|
||||
mutable
|
||||
virtual
|
||||
__cdecl
|
||||
extern
|
||||
inline
|
||||
__pin
|
||||
ref
|
57
langs/c++/reserved.txt
Normal file
57
langs/c++/reserved.txt
Normal file
@ -0,0 +1,57 @@
|
||||
__multiple_inheritance
|
||||
__virtual_inheritance
|
||||
__single_inheritance
|
||||
reinterpret_cast
|
||||
dynamic_cast
|
||||
__identifier
|
||||
static_cast
|
||||
__unaligned
|
||||
__alignof__
|
||||
const_cast
|
||||
__delegate
|
||||
deprecated
|
||||
__fastcall
|
||||
__alignof
|
||||
dllexport
|
||||
dllimport
|
||||
__stdcall
|
||||
alignas
|
||||
explicit
|
||||
noexcept
|
||||
typename
|
||||
__assume
|
||||
delegate
|
||||
__except
|
||||
initonly
|
||||
ifstream
|
||||
ofstream
|
||||
noreturn
|
||||
novtable
|
||||
safecast
|
||||
__sealed
|
||||
__unhook
|
||||
__uuidof
|
||||
alignof
|
||||
__based
|
||||
__event
|
||||
nothrow
|
||||
__raise
|
||||
__super
|
||||
__align
|
||||
__asm__
|
||||
sizeof
|
||||
export
|
||||
typeid
|
||||
__hook
|
||||
__noop
|
||||
sealed
|
||||
compl
|
||||
using
|
||||
__asm
|
||||
__box
|
||||
event
|
||||
naked
|
||||
__asm
|
||||
cout
|
||||
uuid
|
||||
asm
|
16
langs/c++/statement.txt
Normal file
16
langs/c++/statement.txt
Normal file
@ -0,0 +1,16 @@
|
||||
__if_not_exists
|
||||
static_assert
|
||||
__if_exists
|
||||
__try_cast
|
||||
__finally
|
||||
__finally
|
||||
__except
|
||||
__leave
|
||||
and_eq
|
||||
bitand
|
||||
not_eq
|
||||
xor_eq
|
||||
bitor
|
||||
or_eq
|
||||
__try
|
||||
__try
|
42
langs/c++/type.txt
Normal file
42
langs/c++/type.txt
Normal file
@ -0,0 +1,42 @@
|
||||
uint_least16_t
|
||||
uint_least32_t
|
||||
interior_ptr
|
||||
__interface
|
||||
__signed__
|
||||
_Imaginary
|
||||
constexpr
|
||||
friend_as
|
||||
__wchar_t
|
||||
decltype
|
||||
char16_t
|
||||
char32_t
|
||||
operator
|
||||
template
|
||||
template
|
||||
_Complex
|
||||
nullptr
|
||||
wchar_t
|
||||
generic
|
||||
__int16
|
||||
__int32
|
||||
__int64
|
||||
literal
|
||||
__m128d
|
||||
__m128i
|
||||
nullptr
|
||||
__value
|
||||
wchar_t
|
||||
friend
|
||||
struct
|
||||
__int8
|
||||
__m128
|
||||
__nogc
|
||||
thread
|
||||
union
|
||||
gcnew
|
||||
__m64
|
||||
value
|
||||
__w64
|
||||
_Bool
|
||||
enum
|
||||
__gc
|
22
langs/c/c.txt
Normal file
22
langs/c/c.txt
Normal file
@ -0,0 +1,22 @@
|
||||
### C LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME C
|
||||
VERSION 1.8.1
|
||||
|
||||
COMMENT (?default)
|
||||
PREPROCESSOR (?default)
|
||||
STRING (?default)
|
||||
|
||||
STATEMENT (?default)
|
||||
RESERVED (?default)|\b(?alt:reserved.txt)\b
|
||||
TYPE (?default)|\b(?alt:type.txt)\b
|
||||
MODIFIER (?default)|\b(?alt:modifier.txt)\b
|
||||
|
||||
ENTITY (?default)
|
||||
VARIABLE (?default)
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
36
langs/c/modifier.txt
Normal file
36
langs/c/modifier.txt
Normal file
@ -0,0 +1,36 @@
|
||||
transparent_union
|
||||
__extension__
|
||||
__attribute__
|
||||
__volatile__
|
||||
__complex__
|
||||
__inline__
|
||||
__restrict
|
||||
__signed__
|
||||
deprecated
|
||||
__const__
|
||||
__label__
|
||||
extension
|
||||
attribute
|
||||
may_alias
|
||||
volatile
|
||||
restrict
|
||||
register
|
||||
volatile
|
||||
__imag__
|
||||
__real__
|
||||
restrict
|
||||
nocommon
|
||||
complex
|
||||
aligned
|
||||
section
|
||||
cleanup
|
||||
inline
|
||||
signed
|
||||
extern
|
||||
packed
|
||||
unused
|
||||
const
|
||||
label
|
||||
imag
|
||||
real
|
||||
mode
|
52
langs/c/reserved.txt
Normal file
52
langs/c/reserved.txt
Normal file
@ -0,0 +1,52 @@
|
||||
__builtin_types_compatible_p
|
||||
__builtin_return_address
|
||||
constructor, destructor
|
||||
__builtin_frame_address
|
||||
no_instrument_function
|
||||
__builtin_choose_expr
|
||||
__builtin_constant_p
|
||||
__builtin_apply_args
|
||||
__builtin_prefetch
|
||||
regparm, stkparm
|
||||
__builtin_expect
|
||||
__builtin_return
|
||||
__builtin_apply
|
||||
always_inline
|
||||
__alignof__
|
||||
format_arg
|
||||
deprecated
|
||||
interrupt
|
||||
__FILE__
|
||||
__LINE__
|
||||
__func__
|
||||
noreturn
|
||||
noinline
|
||||
__asm__
|
||||
__align
|
||||
__align
|
||||
fortran
|
||||
alignof
|
||||
section
|
||||
nonnull
|
||||
nothrow
|
||||
sprintf
|
||||
sizeof
|
||||
pascal
|
||||
typeof
|
||||
format
|
||||
unused
|
||||
malloc
|
||||
printf
|
||||
malloc
|
||||
__asm
|
||||
__asm
|
||||
cdecl
|
||||
const
|
||||
alias
|
||||
auto
|
||||
near
|
||||
huge
|
||||
pure
|
||||
used
|
||||
asm
|
||||
far
|
6
langs/c/type.txt
Normal file
6
langs/c/type.txt
Normal file
@ -0,0 +1,6 @@
|
||||
_Imaginary
|
||||
_Complex
|
||||
intmax_t
|
||||
struct
|
||||
union
|
||||
_Bool
|
21
langs/clojure/clojure.txt
Normal file
21
langs/clojure/clojure.txt
Normal file
@ -0,0 +1,21 @@
|
||||
### CLOJURE LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME Clojure
|
||||
VERSION 1.0
|
||||
|
||||
COMMENT (;.*?$)|(;\|.*?\|;)
|
||||
STRING (?<!\\)".*?(?<!\\)"
|
||||
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
SPECIAL \b(?alt:special.txt)\b
|
||||
TYPE \b(?alt:type.txt)\b
|
||||
HOF \b(?alt:hof.txt)\b
|
||||
VAR \b(?alt:vars.txt)\b
|
||||
KEYWORD (?<=\()\s*[a-z-]*[a-z]\b
|
||||
|
||||
IDENTIFIER [a-z-]*[a-z]
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)|\(|\)
|
||||
SYMBOL (?default)
|
8
langs/clojure/hof.txt
Normal file
8
langs/clojure/hof.txt
Normal file
@ -0,0 +1,8 @@
|
||||
not-every?
|
||||
not-any?
|
||||
filter
|
||||
reduce
|
||||
every?
|
||||
some
|
||||
map
|
||||
for
|
18
langs/clojure/special.txt
Normal file
18
langs/clojure/special.txt
Normal file
@ -0,0 +1,18 @@
|
||||
defrecord
|
||||
defmacro
|
||||
quote
|
||||
throw
|
||||
recur
|
||||
defn
|
||||
when
|
||||
cond
|
||||
loop
|
||||
try
|
||||
def
|
||||
not
|
||||
and
|
||||
let
|
||||
if
|
||||
or
|
||||
do
|
||||
fn
|
577
langs/clojure/statement.txt
Normal file
577
langs/clojure/statement.txt
Normal file
@ -0,0 +1,577 @@
|
||||
*
|
||||
+
|
||||
+'
|
||||
-
|
||||
-'
|
||||
->
|
||||
->>
|
||||
->ArrayChunk
|
||||
->Vec
|
||||
->VecNode
|
||||
->VecSeq
|
||||
-cache-protocol-fn
|
||||
-reset-methods
|
||||
.
|
||||
..
|
||||
/
|
||||
<
|
||||
<=
|
||||
=
|
||||
==
|
||||
>
|
||||
>=
|
||||
accessor
|
||||
aclone
|
||||
add-classpath
|
||||
add-watch
|
||||
agent
|
||||
agent-error
|
||||
agent-errors
|
||||
aget
|
||||
alength
|
||||
alias
|
||||
all-ns
|
||||
alter
|
||||
alter-meta!
|
||||
alter-var-root
|
||||
amap
|
||||
ancestors
|
||||
and
|
||||
apply
|
||||
areduce
|
||||
array-map
|
||||
as->
|
||||
aset
|
||||
aset-boolean
|
||||
aset-byte
|
||||
aset-char
|
||||
aset-double
|
||||
aset-float
|
||||
aset-int
|
||||
aset-long
|
||||
aset-short
|
||||
assert
|
||||
assoc
|
||||
assoc!
|
||||
assoc-in
|
||||
associative?
|
||||
atom
|
||||
await
|
||||
await-for
|
||||
await1
|
||||
bases
|
||||
bean
|
||||
bigdec
|
||||
bigint
|
||||
biginteger
|
||||
binding
|
||||
bit-and
|
||||
bit-and-not
|
||||
bit-clear
|
||||
bit-flip
|
||||
bit-not
|
||||
bit-or
|
||||
bit-set
|
||||
bit-shift-left
|
||||
bit-shift-right
|
||||
bit-test
|
||||
bit-xor
|
||||
boolean
|
||||
boolean-array
|
||||
booleans
|
||||
bound-fn
|
||||
bound-fn*
|
||||
bound?
|
||||
butlast
|
||||
byte
|
||||
byte-array
|
||||
bytes
|
||||
case
|
||||
cast
|
||||
catch
|
||||
char
|
||||
char-array
|
||||
char-escape-string
|
||||
char-name-string
|
||||
char?
|
||||
chars
|
||||
chunk
|
||||
chunk-append
|
||||
chunk-buffer
|
||||
chunk-cons
|
||||
chunk-first
|
||||
chunk-next
|
||||
chunk-rest
|
||||
chunked-seq?
|
||||
class
|
||||
class?
|
||||
clear-agent-errors
|
||||
clojure-version
|
||||
coll?
|
||||
comment
|
||||
commute
|
||||
comp
|
||||
comparator
|
||||
compare
|
||||
compare-and-set!
|
||||
compile
|
||||
complement
|
||||
concat
|
||||
cond
|
||||
cond->
|
||||
cond->>
|
||||
condp
|
||||
conj
|
||||
conj!
|
||||
cons
|
||||
constantly
|
||||
construct-proxy
|
||||
contains?
|
||||
count
|
||||
counted?
|
||||
create-ns
|
||||
create-struct
|
||||
cycle
|
||||
dec
|
||||
dec'
|
||||
decimal?
|
||||
declare
|
||||
def
|
||||
default-data-readers
|
||||
definline
|
||||
definterface
|
||||
defmacro
|
||||
defmethod
|
||||
defmulti
|
||||
defn
|
||||
defn-
|
||||
defonce
|
||||
defprotocol
|
||||
defrecord
|
||||
defstruct
|
||||
deftype
|
||||
delay
|
||||
delay?
|
||||
deliver
|
||||
denominator
|
||||
deref
|
||||
derive
|
||||
descendants
|
||||
destructure
|
||||
disj
|
||||
disj!
|
||||
dissoc
|
||||
dissoc!
|
||||
distinct
|
||||
distinct?
|
||||
do
|
||||
doall
|
||||
dorun
|
||||
doseq
|
||||
dosync
|
||||
dotimes
|
||||
doto
|
||||
double
|
||||
double-array
|
||||
doubles
|
||||
drop
|
||||
drop-last
|
||||
drop-while
|
||||
empty
|
||||
EMPTY-NODE
|
||||
empty?
|
||||
ensure
|
||||
enumeration-seq
|
||||
error-handler
|
||||
error-mode
|
||||
eval
|
||||
even?
|
||||
every-pred
|
||||
every?
|
||||
ex-data
|
||||
ex-info
|
||||
extend
|
||||
extend-protocol
|
||||
extend-type
|
||||
extenders
|
||||
extends?
|
||||
false?
|
||||
ffirst
|
||||
file-seq
|
||||
filter
|
||||
filterv
|
||||
finally
|
||||
find
|
||||
find-keyword
|
||||
find-ns
|
||||
find-protocol-impl
|
||||
find-protocol-method
|
||||
find-var
|
||||
first
|
||||
flatten
|
||||
float
|
||||
float-array
|
||||
float?
|
||||
floats
|
||||
flush
|
||||
fn
|
||||
fn?
|
||||
fnext
|
||||
fnil
|
||||
for
|
||||
force
|
||||
format
|
||||
frequencies
|
||||
future
|
||||
future-call
|
||||
future-cancel
|
||||
future-cancelled?
|
||||
future-done?
|
||||
future?
|
||||
gen-class
|
||||
gen-interface
|
||||
gensym
|
||||
get
|
||||
get-in
|
||||
get-method
|
||||
get-proxy-class
|
||||
get-thread-bindings
|
||||
get-validator
|
||||
group-by
|
||||
hash
|
||||
hash-combine
|
||||
hash-map
|
||||
hash-ordered-coll
|
||||
hash-set
|
||||
hash-unordered-coll
|
||||
identical?
|
||||
identity
|
||||
if
|
||||
if-let
|
||||
if-not
|
||||
if-some
|
||||
ifn?
|
||||
import
|
||||
in-ns
|
||||
inc
|
||||
inc'
|
||||
init-proxy
|
||||
instance?
|
||||
int
|
||||
int-array
|
||||
integer?
|
||||
interleave
|
||||
intern
|
||||
interpose
|
||||
into
|
||||
into-array
|
||||
ints
|
||||
io!
|
||||
isa?
|
||||
iterate
|
||||
iterator-seq
|
||||
juxt
|
||||
keep
|
||||
keep-indexed
|
||||
key
|
||||
keys
|
||||
keyword
|
||||
keyword?
|
||||
last
|
||||
lazy-cat
|
||||
lazy-seq
|
||||
let
|
||||
letfn
|
||||
line-seq
|
||||
list
|
||||
list*
|
||||
list?
|
||||
load
|
||||
load-file
|
||||
load-reader
|
||||
load-string
|
||||
loaded-libs
|
||||
locking
|
||||
long
|
||||
long-array
|
||||
longs
|
||||
loop
|
||||
macroexpand
|
||||
macroexpand-1
|
||||
make-array
|
||||
make-hierarchy
|
||||
map
|
||||
map-indexed
|
||||
map?
|
||||
mapcat
|
||||
mapv
|
||||
max
|
||||
max-key
|
||||
memfn
|
||||
memoize
|
||||
merge
|
||||
merge-with
|
||||
meta
|
||||
method-sig
|
||||
methods
|
||||
min
|
||||
min-key
|
||||
mix-collection-hash
|
||||
mod
|
||||
munge
|
||||
name
|
||||
namespace
|
||||
namespace-munge
|
||||
neg?
|
||||
newline
|
||||
next
|
||||
nfirst
|
||||
nil?
|
||||
nnext
|
||||
not
|
||||
not-any?
|
||||
not-empty
|
||||
not-every?
|
||||
not=
|
||||
ns
|
||||
ns-aliases
|
||||
ns-imports
|
||||
ns-interns
|
||||
ns-map
|
||||
ns-name
|
||||
ns-publics
|
||||
ns-refers
|
||||
ns-resolve
|
||||
ns-unalias
|
||||
ns-unmap
|
||||
nth
|
||||
nthnext
|
||||
nthrest
|
||||
num
|
||||
number?
|
||||
numerator
|
||||
object-array
|
||||
odd?
|
||||
or
|
||||
parents
|
||||
partial
|
||||
partition
|
||||
partition-all
|
||||
partition-by
|
||||
pcalls
|
||||
peek
|
||||
persistent!
|
||||
pmap
|
||||
pop
|
||||
pop!
|
||||
pop-thread-bindings
|
||||
pos?
|
||||
pr
|
||||
pr-str
|
||||
prefer-method
|
||||
prefers
|
||||
primitives-classnames
|
||||
print
|
||||
print-ctor
|
||||
print-dup
|
||||
print-method
|
||||
print-simple
|
||||
print-str
|
||||
printf
|
||||
println
|
||||
println-str
|
||||
prn
|
||||
prn-str
|
||||
promise
|
||||
proxy
|
||||
proxy-call-with-super
|
||||
proxy-mappings
|
||||
proxy-name
|
||||
proxy-super
|
||||
push-thread-bindings
|
||||
pvalues
|
||||
quot
|
||||
quote
|
||||
rand
|
||||
rand-int
|
||||
rand-nth
|
||||
range
|
||||
ratio?
|
||||
rational?
|
||||
rationalize
|
||||
re-find
|
||||
re-groups
|
||||
re-matcher
|
||||
re-matches
|
||||
re-pattern
|
||||
re-seq
|
||||
read
|
||||
read-line
|
||||
read-string
|
||||
realized?
|
||||
record?
|
||||
recur
|
||||
reduce
|
||||
reduce-kv
|
||||
reduced
|
||||
reduced?
|
||||
reductions
|
||||
ref
|
||||
ref-history-count
|
||||
ref-max-history
|
||||
ref-min-history
|
||||
ref-set
|
||||
refer
|
||||
refer-clojure
|
||||
reify
|
||||
release-pending-sends
|
||||
rem
|
||||
remove
|
||||
remove-all-methods
|
||||
remove-method
|
||||
remove-ns
|
||||
remove-watch
|
||||
repeat
|
||||
repeatedly
|
||||
replace
|
||||
replicate
|
||||
require
|
||||
reset!
|
||||
reset-meta!
|
||||
resolve
|
||||
rest
|
||||
restart-agent
|
||||
resultset-seq
|
||||
reverse
|
||||
reversible?
|
||||
rseq
|
||||
rsubseq
|
||||
satisfies?
|
||||
second
|
||||
select-keys
|
||||
send
|
||||
send-off
|
||||
send-via
|
||||
seq
|
||||
seq?
|
||||
seque
|
||||
sequence
|
||||
sequential?
|
||||
set
|
||||
set!
|
||||
set-agent-send-executor!
|
||||
set-agent-send-off-executor!
|
||||
set-error-handler!
|
||||
set-error-mode!
|
||||
set-validator!
|
||||
set?
|
||||
short
|
||||
short-array
|
||||
shorts
|
||||
shuffle
|
||||
shutdown-agents
|
||||
slurp
|
||||
some
|
||||
some->
|
||||
some->>
|
||||
some-fn
|
||||
some?
|
||||
sort
|
||||
sort-by
|
||||
sorted-map
|
||||
sorted-map-by
|
||||
sorted-set
|
||||
sorted-set-by
|
||||
sorted?
|
||||
special-symbol?
|
||||
spit
|
||||
split-at
|
||||
split-with
|
||||
str
|
||||
string?
|
||||
struct
|
||||
struct-map
|
||||
subs
|
||||
subseq
|
||||
subvec
|
||||
supers
|
||||
swap!
|
||||
symbol
|
||||
symbol?
|
||||
sync
|
||||
take
|
||||
take-last
|
||||
take-nth
|
||||
take-while
|
||||
test
|
||||
the-ns
|
||||
thread-bound?
|
||||
throw
|
||||
time
|
||||
to-array
|
||||
to-array-2d
|
||||
trampoline
|
||||
transient
|
||||
tree-seq
|
||||
true?
|
||||
try
|
||||
type
|
||||
unchecked-add
|
||||
unchecked-add-int
|
||||
unchecked-byte
|
||||
unchecked-char
|
||||
unchecked-dec
|
||||
unchecked-dec-int
|
||||
unchecked-divide-int
|
||||
unchecked-double
|
||||
unchecked-float
|
||||
unchecked-inc
|
||||
unchecked-inc-int
|
||||
unchecked-int
|
||||
unchecked-long
|
||||
unchecked-multiply
|
||||
unchecked-multiply-int
|
||||
unchecked-negate
|
||||
unchecked-negate-int
|
||||
unchecked-remainder-int
|
||||
unchecked-short
|
||||
unchecked-subtract
|
||||
unchecked-subtract-int
|
||||
underive
|
||||
unquote
|
||||
unquote-splicing
|
||||
unsigned-bit-shift-right
|
||||
update-in
|
||||
update-proxy
|
||||
use
|
||||
val
|
||||
vals
|
||||
var
|
||||
var-get
|
||||
var-set
|
||||
var?
|
||||
vary-meta
|
||||
vec
|
||||
vector
|
||||
vector-of
|
||||
vector?
|
||||
when
|
||||
when-first
|
||||
when-let
|
||||
when-not
|
||||
when-some
|
||||
while
|
||||
with-bindings
|
||||
with-bindings*
|
||||
with-in-str
|
||||
with-loading-context
|
||||
with-local-vars
|
||||
with-meta
|
||||
with-open
|
||||
with-out-str
|
||||
with-precision
|
||||
with-redefs
|
||||
with-redefs-fn
|
||||
xml-seq
|
||||
zero?
|
||||
zipmap
|
5
langs/clojure/type.txt
Normal file
5
langs/clojure/type.txt
Normal file
@ -0,0 +1,5 @@
|
||||
vector
|
||||
map-hash
|
||||
list
|
||||
atom
|
||||
seq
|
34
langs/clojure/vars.txt
Normal file
34
langs/clojure/vars.txt
Normal file
@ -0,0 +1,34 @@
|
||||
*'
|
||||
*1
|
||||
*2
|
||||
*3
|
||||
*agent*
|
||||
*allow-unresolved-vars*
|
||||
*assert*
|
||||
*clojure-version*
|
||||
*command-line-args*
|
||||
*compile-files*
|
||||
*compile-path*
|
||||
*compiler-options*
|
||||
*data-readers*
|
||||
*default-data-reader-fn*
|
||||
*e
|
||||
*err*
|
||||
*file*
|
||||
*flush-on-newline*
|
||||
*fn-loader*
|
||||
*in*
|
||||
*math-context*
|
||||
*ns*
|
||||
*out*
|
||||
*print-dup*
|
||||
*print-length*
|
||||
*print-level*
|
||||
*print-meta*
|
||||
*print-readably*
|
||||
*read-eval*
|
||||
*source-path*
|
||||
*unchecked-math*
|
||||
*use-context-classloader*
|
||||
*verbose-defrecords*
|
||||
*warn-on-reflection*
|
24
langs/coffee/coffee.txt
Normal file
24
langs/coffee/coffee.txt
Normal file
@ -0,0 +1,24 @@
|
||||
### COFFEESCRIPT LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME CoffeeScript
|
||||
VERSION 1.0
|
||||
|
||||
COMMENT (###[\s\S]*?###|#.*?$)
|
||||
STRING (?default)|(%\w?\([^\)]*\))|(\`[^\`]*`)|(\<\<["'-]?\w+["']?)
|
||||
|
||||
FUNCTION:KEYWORD \b(?alt:function.txt)\b
|
||||
MODULE:KEYWORD \b(?alt:module.txt)\b
|
||||
EXCEPTION:KEYWORD \b(?alt:exception.txt)\b
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
RESERVED \b(?alt:reserved.txt)\b
|
||||
TYPE \b(?alt:type.txt)\b
|
||||
MODIFIER \b(?alt:modifier.txt)\b
|
||||
|
||||
ENTITY ((?-i)\b[A-Z_][A-Za-z_]*(?i))|(\w+):
|
||||
VARIABLE ((@+)\w+)|this
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR (?default)
|
||||
SYMBOL (?default)
|
5
langs/coffee/exception.txt
Normal file
5
langs/coffee/exception.txt
Normal file
@ -0,0 +1,5 @@
|
||||
RangeError
|
||||
ReferenceError
|
||||
SyntaxError
|
||||
TypeError
|
||||
RegExpURIError
|
4
langs/coffee/function.txt
Normal file
4
langs/coffee/function.txt
Normal file
@ -0,0 +1,4 @@
|
||||
parseInt
|
||||
parseFloat
|
||||
isNaN
|
||||
isFinite
|
2
langs/coffee/modifier.txt
Normal file
2
langs/coffee/modifier.txt
Normal file
@ -0,0 +1,2 @@
|
||||
__defineGetter__
|
||||
__defineSetter__
|
3
langs/coffee/module.txt
Normal file
3
langs/coffee/module.txt
Normal file
@ -0,0 +1,3 @@
|
||||
console
|
||||
document
|
||||
export
|
20
langs/coffee/reserved.txt
Normal file
20
langs/coffee/reserved.txt
Normal file
@ -0,0 +1,20 @@
|
||||
class
|
||||
extends
|
||||
super
|
||||
require
|
||||
undefined
|
||||
null
|
||||
return
|
||||
prototype
|
||||
is
|
||||
isnt
|
||||
or
|
||||
and
|
||||
yes
|
||||
on
|
||||
no
|
||||
off
|
||||
true
|
||||
false
|
||||
typeof
|
||||
arguments
|
17
langs/coffee/statement.txt
Normal file
17
langs/coffee/statement.txt
Normal file
@ -0,0 +1,17 @@
|
||||
if
|
||||
else
|
||||
try
|
||||
catch
|
||||
finally
|
||||
throw
|
||||
while
|
||||
until
|
||||
unless
|
||||
do
|
||||
in
|
||||
of
|
||||
then
|
||||
when
|
||||
switch
|
||||
for
|
||||
new
|
1
langs/coffee/type.txt
Normal file
1
langs/coffee/type.txt
Normal file
@ -0,0 +1 @@
|
||||
void
|
21
langs/css/css.txt
Normal file
21
langs/css/css.txt
Normal file
@ -0,0 +1,21 @@
|
||||
### CSS LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME CSS
|
||||
VERSION 1.9.1
|
||||
|
||||
COMMENT (/\*.*?\*/)
|
||||
STRING (?default)
|
||||
NOTATION \@[\w-]+[^;\{]*;?
|
||||
|
||||
# For the <style> tag
|
||||
ATT_STR:STRING (((?<!\\)".*?(?<!\\)")|((?<!\\)'.*?(?<!\\)'))
|
||||
TAG (</?\s*[^<\s>]+\s*>?)|(\s*>)
|
||||
ATTR:ENTITY [\w-]+(?=\s*=\s*["'])
|
||||
|
||||
SELECTOR:KEYWORD [^\s\;\{\}][^\;\{\}]*(?=\{)
|
||||
PROPERTY:ENTITY [\w-]+(?=\s*:)
|
||||
IMP:CONSTANT !important
|
||||
VALUE:IDENTIFIER [^\s\{\}\;\:\!\(\)]+
|
||||
SYMBOL (?default)
|
30
langs/default/default.txt
Normal file
30
langs/default/default.txt
Normal file
@ -0,0 +1,30 @@
|
||||
### DEFAULT LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME Default
|
||||
VERSION 1.8.1
|
||||
|
||||
COMMENT (/\*.*?\*/)|(//.*?$)
|
||||
PREPROCESSOR (#.*?$)
|
||||
STRING ((?<![^\\]\\)".*?(?<![^\\]\\)")|((?<![^\\]\\)'.*?(?<![^\\]\\)')
|
||||
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
RESERVED \b(?<![:\.])(?alt:reserved.txt)\b
|
||||
# \b(?<![:\.])(?alt:reserved.txt)(?![:\.])\b
|
||||
TYPE \b(?alt:type.txt)\b
|
||||
MODIFIER \b(?alt:modifier.txt)\b
|
||||
|
||||
# func() | func { | (Type) Var
|
||||
ENTITY (\b[a-z_]\w*\b(?=\s*\([^\)]*\)))|((?<!\.)(\b[a-z_]\w*\b)(?=[^}=|,.:;"'\)]*{))|(\b[a-z_]\w+\b\s+(?=\b[a-z_]\w+\b))
|
||||
# C variants only: String *
|
||||
POINTER_TYPE:ENTITY (\b[a-z_]\w*\s*\*)
|
||||
|
||||
VARIABLE [A-Za-z_]\w*(?=\s*(?alt:operator.txt)|(?alt:symbol.txt)|$)
|
||||
IDENTIFIER \b[A-Za-z_]\w*\b
|
||||
CONSTANT (?<!\w)[0-9][\.\w]*
|
||||
OPERATOR (?alt:operator.txt)
|
||||
SYMBOL &[^;]+;|(?alt:symbol.txt)
|
||||
|
||||
# |[^\w\s\d'"] in SYMBOL causes it to crash
|
||||
|
10
langs/default/modifier.txt
Normal file
10
langs/default/modifier.txt
Normal file
@ -0,0 +1,10 @@
|
||||
protected
|
||||
abstract
|
||||
property
|
||||
private
|
||||
global
|
||||
public
|
||||
static
|
||||
native
|
||||
const
|
||||
final
|
46
langs/default/operator.txt
Normal file
46
langs/default/operator.txt
Normal file
@ -0,0 +1,46 @@
|
||||
# Grouped operators
|
||||
=&
|
||||
<<<
|
||||
>>>
|
||||
<<
|
||||
>>
|
||||
<<=
|
||||
=>>
|
||||
!==
|
||||
!=
|
||||
^=
|
||||
*=
|
||||
&=
|
||||
%=
|
||||
|=
|
||||
/=
|
||||
+=
|
||||
-=
|
||||
===
|
||||
==
|
||||
<>
|
||||
->
|
||||
<=
|
||||
>=
|
||||
++
|
||||
--
|
||||
&&
|
||||
||
|
||||
::
|
||||
|
||||
# Single operators
|
||||
\#
|
||||
+
|
||||
-
|
||||
*
|
||||
/
|
||||
%
|
||||
=
|
||||
&
|
||||
|
|
||||
^
|
||||
~
|
||||
!
|
||||
<
|
||||
>
|
||||
:
|
13
langs/default/reserved.txt
Normal file
13
langs/default/reserved.txt
Normal file
@ -0,0 +1,13 @@
|
||||
implements
|
||||
instanceof
|
||||
declare
|
||||
default
|
||||
extends
|
||||
typedef
|
||||
parent
|
||||
super
|
||||
child
|
||||
clone
|
||||
self
|
||||
this
|
||||
new
|
38
langs/default/statement.txt
Normal file
38
langs/default/statement.txt
Normal file
@ -0,0 +1,38 @@
|
||||
enddeclare
|
||||
endforeach
|
||||
endswitch
|
||||
continue
|
||||
endwhile
|
||||
foreach
|
||||
finally
|
||||
default
|
||||
elseif
|
||||
endfor
|
||||
return
|
||||
switch
|
||||
assert
|
||||
break
|
||||
catch
|
||||
endif
|
||||
throw
|
||||
while
|
||||
then
|
||||
case
|
||||
else
|
||||
goto
|
||||
each
|
||||
and
|
||||
for
|
||||
try
|
||||
use
|
||||
xor
|
||||
and
|
||||
not
|
||||
end
|
||||
as
|
||||
do
|
||||
if
|
||||
or
|
||||
in
|
||||
is
|
||||
to
|
21
langs/default/symbol.txt
Normal file
21
langs/default/symbol.txt
Normal file
@ -0,0 +1,21 @@
|
||||
~
|
||||
`
|
||||
!
|
||||
@
|
||||
#
|
||||
$
|
||||
%
|
||||
(
|
||||
)
|
||||
_
|
||||
{
|
||||
}
|
||||
[
|
||||
]
|
||||
|
|
||||
\
|
||||
:
|
||||
;
|
||||
,
|
||||
.
|
||||
?
|
29
langs/default/type.txt
Normal file
29
langs/default/type.txt
Normal file
@ -0,0 +1,29 @@
|
||||
cfunction
|
||||
interface
|
||||
namespace
|
||||
function
|
||||
unsigned
|
||||
boolean
|
||||
integer
|
||||
package
|
||||
double
|
||||
struct
|
||||
string
|
||||
signed
|
||||
object
|
||||
class
|
||||
array
|
||||
float
|
||||
short
|
||||
false
|
||||
char
|
||||
long
|
||||
void
|
||||
word
|
||||
byte
|
||||
bool
|
||||
null
|
||||
true
|
||||
enum
|
||||
var
|
||||
int
|
5
langs/delimiters.txt
Normal file
5
langs/delimiters.txt
Normal file
@ -0,0 +1,5 @@
|
||||
php <\?(?:php)?.*?\?\>
|
||||
js <script\b[^\>]*>.*?</script>
|
||||
css <style\b[^\>]*>.*?</style>
|
||||
ruby (<%.*?%>)|(^%.*?[\r\n])
|
||||
swift \\\(.*?\)
|
23
langs/delphi/delphi.txt
Normal file
23
langs/delphi/delphi.txt
Normal file
@ -0,0 +1,23 @@
|
||||
### DELPHI LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME Delphi/Pascal
|
||||
VERSION 1.0.0
|
||||
|
||||
COMMENT (?default)
|
||||
STRING (?default)
|
||||
|
||||
NOTATION \@[\w-]+
|
||||
STATEMENT \b(?alt:statement.txt)\b
|
||||
RESERVED (?default)|\b(?alt:reserved.txt)\b
|
||||
TYPE (?default)|\b(?alt:type.txt)\b
|
||||
MODIFIER \b(?alt:modifier.txt)\b
|
||||
|
||||
ENTITY (?default)|\b[a-z_]\w+\s*\|\s*[a-z_]\w+\b\s+(?=\b[a-z_]\w+\b)
|
||||
VARIABLE (?default)
|
||||
GENERIC:ENTITY <\w+>
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT (?default)
|
||||
OPERATOR \b(?alt:operator.txt)\b
|
||||
SYMBOL (?default)
|
20
langs/delphi/modifier.txt
Normal file
20
langs/delphi/modifier.txt
Normal file
@ -0,0 +1,20 @@
|
||||
property
|
||||
virtual
|
||||
extern
|
||||
stdcall
|
||||
override
|
||||
overload
|
||||
reintroduce
|
||||
interface
|
||||
public
|
||||
private
|
||||
protected
|
||||
implementation
|
||||
const
|
||||
constructor
|
||||
destructor
|
||||
uses
|
||||
unit
|
||||
initialization
|
||||
class
|
||||
end.
|
25
langs/delphi/operator.txt
Normal file
25
langs/delphi/operator.txt
Normal file
@ -0,0 +1,25 @@
|
||||
# Grouped operators
|
||||
and
|
||||
not
|
||||
or
|
||||
div
|
||||
mod
|
||||
:=
|
||||
<>
|
||||
<=
|
||||
>=
|
||||
|
||||
# Single operators
|
||||
%
|
||||
^
|
||||
~
|
||||
&
|
||||
|
|
||||
!
|
||||
=
|
||||
<
|
||||
>
|
||||
+
|
||||
-
|
||||
*
|
||||
/
|
314
langs/delphi/reserved.txt
Normal file
314
langs/delphi/reserved.txt
Normal file
@ -0,0 +1,314 @@
|
||||
# Functions
|
||||
Abs
|
||||
Addr
|
||||
AnsiCompareStr
|
||||
AnsiCompareText
|
||||
AnsiContainsStr
|
||||
AnsiContainsText
|
||||
AnsiEndsStr
|
||||
AnsiIndexStr
|
||||
AnsiLeftStr
|
||||
AnsiLowerCase
|
||||
AnsiMatchStr
|
||||
AnsiMidStr
|
||||
AnsiPos
|
||||
AnsiReplaceStr
|
||||
AnsiReverseString
|
||||
AnsiRightStr
|
||||
AnsiStartsStr
|
||||
AnsiUpperCase
|
||||
ArcCos
|
||||
ArcSin
|
||||
ArcTan
|
||||
Assigned
|
||||
BeginThread
|
||||
Bounds
|
||||
CelsiusToFahrenheit
|
||||
ChangeFileExt
|
||||
Convert
|
||||
CompareStr
|
||||
CompareText
|
||||
CompareValue
|
||||
Concat
|
||||
Convert
|
||||
Copy
|
||||
Cos
|
||||
CreateDir
|
||||
CurrToStr
|
||||
CurrToStrF
|
||||
Date
|
||||
DateTimeToFileDate
|
||||
DateTimeToStr
|
||||
DateToStr
|
||||
DayOfTheMonth
|
||||
DayOfTheWeek
|
||||
DayOfTheYear
|
||||
DayOfWeek
|
||||
DaysBetween
|
||||
DaysInAMonth
|
||||
DaysInAYear
|
||||
DaySpan
|
||||
DegToRad
|
||||
DeleteFile
|
||||
DirectoryExists
|
||||
DiskFree
|
||||
DiskSize
|
||||
DupeString
|
||||
EncodeDate
|
||||
EncodeDateTime
|
||||
EncodeTime
|
||||
EndOfADay
|
||||
EndOfAMonth
|
||||
Eof
|
||||
Eoln
|
||||
Exp
|
||||
ExtractFileDir
|
||||
ExtractFileDrive
|
||||
ExtractFileExt
|
||||
ExtractFileName
|
||||
ExtractFilePath
|
||||
FahrenheitToCelsius
|
||||
FileAge
|
||||
FileDateToDateTime
|
||||
FileExists
|
||||
FileGetAttr
|
||||
FilePos
|
||||
FileSearch
|
||||
FileSetAttr
|
||||
FileSetDate
|
||||
FileSize
|
||||
FindClose
|
||||
FindCmdLineSwitch
|
||||
FindFirst
|
||||
FindNext
|
||||
FloatToStr
|
||||
FloatToStrF
|
||||
ForceDirectories
|
||||
Format
|
||||
FormatCurr
|
||||
FormatDateTime
|
||||
FormatFloat
|
||||
Frac
|
||||
GetCurrentDir
|
||||
GetLastError
|
||||
GetMem
|
||||
Hi
|
||||
High
|
||||
IncDay
|
||||
IncHour
|
||||
IncMillisecond
|
||||
IncMinute
|
||||
IncMonth
|
||||
IncSecond
|
||||
IncYear
|
||||
InputBox
|
||||
InputQuery
|
||||
Int
|
||||
IntToHex
|
||||
IntToStr
|
||||
IOResult
|
||||
IsInfinite
|
||||
IsLeapYear
|
||||
IsMultiThread
|
||||
IsNaN
|
||||
LastDelimiter
|
||||
Length
|
||||
Ln
|
||||
Lo
|
||||
Log10
|
||||
Low
|
||||
LowerCase
|
||||
Max
|
||||
Mean
|
||||
MessageDlg
|
||||
MessageDlgPos
|
||||
Min
|
||||
MonthOfTheYear
|
||||
Now
|
||||
Odd
|
||||
Ord
|
||||
ParamCount
|
||||
ParamStr
|
||||
Pi
|
||||
Point
|
||||
PointsEqual
|
||||
Pos
|
||||
Pred
|
||||
Printer
|
||||
PromptForFileName
|
||||
PtInRect
|
||||
RadToDeg
|
||||
Random
|
||||
RandomRange
|
||||
RecodeDate
|
||||
RecodeTime
|
||||
Rect
|
||||
RemoveDir
|
||||
RenameFile
|
||||
Round
|
||||
SeekEof
|
||||
SeekEoln
|
||||
SelectDirectory
|
||||
SetCurrentDir
|
||||
Sin
|
||||
SizeOf
|
||||
Slice
|
||||
Sqr
|
||||
Sqrt
|
||||
StringOfChar
|
||||
StringReplace
|
||||
StringToWideChar
|
||||
StrScan
|
||||
StrToCurr
|
||||
StrToDate
|
||||
StrToDateTime
|
||||
StrToFloat
|
||||
StrToInt
|
||||
StrToInt64
|
||||
StrToInt64Def
|
||||
StrToIntDef
|
||||
StrToTime
|
||||
StuffString
|
||||
Succ
|
||||
Sum
|
||||
Tan
|
||||
Time
|
||||
TimeToStr
|
||||
Tomorrow
|
||||
Trim
|
||||
TrimLeft
|
||||
TrimRight
|
||||
Trunc
|
||||
UpCase
|
||||
UpperCase
|
||||
VarType
|
||||
WideCharToString
|
||||
WrapText
|
||||
Yesterday
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# working on these
|
||||
absolute
|
||||
abstract
|
||||
and
|
||||
Application
|
||||
as
|
||||
asm
|
||||
assembler
|
||||
at
|
||||
automated
|
||||
case
|
||||
cdecl
|
||||
class
|
||||
comp
|
||||
const
|
||||
constructor
|
||||
contains
|
||||
default
|
||||
deprecated
|
||||
destructor
|
||||
dispid
|
||||
dispinterface
|
||||
div
|
||||
do
|
||||
downto
|
||||
dynamic
|
||||
else
|
||||
end
|
||||
except
|
||||
Exception
|
||||
export
|
||||
exports
|
||||
external
|
||||
false
|
||||
far
|
||||
file
|
||||
final
|
||||
finalization
|
||||
finally
|
||||
for
|
||||
forward
|
||||
function
|
||||
goto
|
||||
if
|
||||
implementation
|
||||
implements
|
||||
in
|
||||
index
|
||||
inherited
|
||||
initialization
|
||||
inline
|
||||
interface
|
||||
is
|
||||
label
|
||||
library
|
||||
local
|
||||
message
|
||||
mod
|
||||
name
|
||||
near
|
||||
nil
|
||||
null
|
||||
nodefault
|
||||
not
|
||||
of
|
||||
on
|
||||
or
|
||||
out
|
||||
overload
|
||||
override
|
||||
package
|
||||
packed
|
||||
pascal
|
||||
platform
|
||||
private
|
||||
procedure
|
||||
program
|
||||
property
|
||||
protected
|
||||
public
|
||||
published
|
||||
raise
|
||||
read
|
||||
readonly
|
||||
record
|
||||
register
|
||||
reintroduce
|
||||
remove
|
||||
repeat
|
||||
requires
|
||||
resident
|
||||
resourcestring
|
||||
safecall
|
||||
Self
|
||||
set
|
||||
shl
|
||||
shr
|
||||
static
|
||||
stdcall
|
||||
stored
|
||||
strictprivate
|
||||
strictprotected
|
||||
then
|
||||
threadvar
|
||||
to
|
||||
true
|
||||
try
|
||||
type
|
||||
unit
|
||||
unsafe
|
||||
until
|
||||
uses
|
||||
var
|
||||
varargs
|
||||
virtual
|
||||
while
|
||||
with
|
||||
write
|
||||
writeonly
|
||||
xor
|
26
langs/delphi/statement.txt
Normal file
26
langs/delphi/statement.txt
Normal file
@ -0,0 +1,26 @@
|
||||
begin
|
||||
continue
|
||||
switch
|
||||
break
|
||||
result
|
||||
finally
|
||||
raise
|
||||
while
|
||||
then
|
||||
case
|
||||
else
|
||||
goto
|
||||
and
|
||||
for
|
||||
try
|
||||
xor
|
||||
not
|
||||
end
|
||||
as
|
||||
do
|
||||
if
|
||||
or
|
||||
in
|
||||
is
|
||||
to
|
||||
downto
|
72
langs/delphi/type.txt
Normal file
72
langs/delphi/type.txt
Normal file
@ -0,0 +1,72 @@
|
||||
Byte
|
||||
PByte
|
||||
ShortInt
|
||||
PShortInt
|
||||
Word
|
||||
PWord
|
||||
SmallInt
|
||||
PSmallInt
|
||||
Cardinal
|
||||
PCardinal
|
||||
LongWord
|
||||
PLongWord
|
||||
Integer
|
||||
PInteger
|
||||
LongInt
|
||||
PLongint
|
||||
UInt64
|
||||
PUInt64
|
||||
Int64
|
||||
PInt64
|
||||
Single
|
||||
PSingle
|
||||
TSingleRec
|
||||
Double
|
||||
PDouble
|
||||
TDoubleRec
|
||||
Extended
|
||||
Real
|
||||
AnsiChar
|
||||
PAnsiChar
|
||||
Char
|
||||
PChar
|
||||
WideChar
|
||||
PWideChar
|
||||
AnsiString
|
||||
PAnsiString
|
||||
RawByteString
|
||||
PRawByteString
|
||||
UnicodeString
|
||||
PUnicodeString
|
||||
String
|
||||
PString
|
||||
ShortString
|
||||
PShortString
|
||||
WideString
|
||||
PWideString
|
||||
TextFile
|
||||
Text
|
||||
Boolean
|
||||
PBoolean
|
||||
ByteBool
|
||||
WordBool
|
||||
PWordBool
|
||||
LongBool
|
||||
PLongBool
|
||||
Array
|
||||
Record
|
||||
Variant
|
||||
PVariant
|
||||
Pointer
|
||||
PPointer
|
||||
Currency
|
||||
PCurrency
|
||||
tstringlist
|
||||
tstrings
|
||||
tobject
|
||||
tdatetime
|
||||
tdate
|
||||
ttime
|
||||
PTextBuff
|
||||
Byte
|
||||
Cardinal
|
13
langs/diff/diff.txt
Normal file
13
langs/diff/diff.txt
Normal file
@ -0,0 +1,13 @@
|
||||
### DIFF LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME diff
|
||||
VERSION 1.10.1
|
||||
|
||||
RESERVED ^([\-\*]{3}.+?)$
|
||||
INS:STRING ^([\+>].+?)$
|
||||
DEL:CONSTANT ^([\-<].+?)$
|
||||
COMMENT ^(@@.+?)$
|
||||
SAME:ENTITY ^(!.+?)$
|
||||
SYMBOL ^\s.+?$
|
19
langs/dws/dws.txt
Normal file
19
langs/dws/dws.txt
Normal file
@ -0,0 +1,19 @@
|
||||
### DWS LANGUAGE ###
|
||||
|
||||
# ELEMENT_NAME [optional-css-class] REGULAR_EXPRESSION
|
||||
|
||||
NAME DelphiWebScript/DWS
|
||||
VERSION 1.0.0
|
||||
|
||||
PREPROCESSOR \{\$[a-zA-Z][\s\S]*?}
|
||||
COMMENT {(?!\$)[\s\S]*?}|\(\*[\s\S]*?\*\)|//[\s\S]*?$
|
||||
STRING (?default)|#[0-9]+\b
|
||||
|
||||
RESERVED (?default)|\b(?alt:keywords.txt)\b
|
||||
TYPE (?default)|\b(?alt:type.txt)\b
|
||||
|
||||
VARIABLE (?default)
|
||||
IDENTIFIER (?default)
|
||||
CONSTANT \$[a-zA-Z0-9]+\b|\b[\d\.]+\b|(?default)
|
||||
OPERATOR \b(?alt:operator.txt)\b
|
||||
SYMBOL (?default)
|
96
langs/dws/keywords.txt
Normal file
96
langs/dws/keywords.txt
Normal file
@ -0,0 +1,96 @@
|
||||
# Keywords
|
||||
abstract
|
||||
and
|
||||
array
|
||||
as
|
||||
asm
|
||||
begin
|
||||
break
|
||||
case
|
||||
cdecl
|
||||
class
|
||||
const
|
||||
constructor
|
||||
contains
|
||||
continue
|
||||
deprecated
|
||||
destructor
|
||||
div
|
||||
do
|
||||
downto
|
||||
else
|
||||
end
|
||||
ensure
|
||||
except
|
||||
exit
|
||||
export
|
||||
exports
|
||||
external
|
||||
final
|
||||
finalization
|
||||
finally
|
||||
for
|
||||
forward
|
||||
function
|
||||
helper
|
||||
if
|
||||
implementation
|
||||
implements
|
||||
implies
|
||||
in
|
||||
inherited
|
||||
initialization
|
||||
inline
|
||||
interface
|
||||
is
|
||||
lambda
|
||||
lazy
|
||||
library
|
||||
message
|
||||
method
|
||||
mod
|
||||
new
|
||||
nil
|
||||
not
|
||||
object
|
||||
of
|
||||
old
|
||||
on
|
||||
operator
|
||||
or
|
||||
overload
|
||||
override
|
||||
pascal
|
||||
partial
|
||||
private
|
||||
procedure
|
||||
program
|
||||
property
|
||||
protected
|
||||
public
|
||||
published
|
||||
raise
|
||||
record
|
||||
register
|
||||
reintroduce
|
||||
repeat
|
||||
require
|
||||
resourcestring
|
||||
sar
|
||||
sealed
|
||||
set
|
||||
shl
|
||||
shr
|
||||
static
|
||||
step
|
||||
then
|
||||
to
|
||||
try
|
||||
type
|
||||
unit
|
||||
until
|
||||
uses
|
||||
var
|
||||
virtual
|
||||
while
|
||||
xor
|
20
langs/dws/modifier.txt
Normal file
20
langs/dws/modifier.txt
Normal file
@ -0,0 +1,20 @@
|
||||
property
|
||||
virtual
|
||||
extern
|
||||
stdcall
|
||||
override
|
||||
overload
|
||||
reintroduce
|
||||
interface
|
||||
public
|
||||
private
|
||||
protected
|
||||
implementation
|
||||
const
|
||||
constructor
|
||||
destructor
|
||||
uses
|
||||
unit
|
||||
initialization
|
||||
class
|
||||
end.
|
25
langs/dws/operator.txt
Normal file
25
langs/dws/operator.txt
Normal file
@ -0,0 +1,25 @@
|
||||
# Grouped operators
|
||||
and
|
||||
not
|
||||
or
|
||||
xor
|
||||
div
|
||||
mod
|
||||
:=
|
||||
<>
|
||||
<=
|
||||
>=
|
||||
|
||||
# Single operators
|
||||
%
|
||||
~
|
||||
&
|
||||
|
|
||||
!
|
||||
=
|
||||
<
|
||||
>
|
||||
+
|
||||
-
|
||||
*
|
||||
/
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user