fork
This commit is contained in:
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
|
Reference in New Issue
Block a user