This commit is contained in:
root
2019-08-30 19:30:19 +02:00
commit 6f2b105ca0
595 changed files with 78405 additions and 0 deletions

19
langs/dws/dws.txt Normal file
View 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
View 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
View 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
View File

@ -0,0 +1,25 @@
# Grouped operators
and
not
or
xor
div
mod
:=
<>
<=
>=
# Single operators
%
~
&
|
!
=
<
>
+
-
*
/

8
langs/dws/type.txt Normal file
View File

@ -0,0 +1,8 @@
Integer
Float
Char
String
Boolean
Array
Record
Variant