Pascal lexer
Posted: 29.02.2020 13:03
Hello!
I think there is only one Pascal lexer for all the variations (Delphi, Turbo Pascal, Borland Pascal, Free Pascal, RemObjects PascalScript, ...).
There are keywords, types which do not be highlighted.
The & "operator" (https://www.freepascal.org/docs-html/cu ... 5-140001.4):
procedure &while; // declaring
&while; // calling
method declaration (https://www.freepascal.org/docs-html/cu ... 980006.5.1):
message reintroduce
function modifiers (https://www.freepascal.org/docs-html/cu ... 0900014.10):
alias export interrupt iocheck local noreturn nostackframe saveregisters softfloat
number, boolean, pointer types (https://www.freepascal.org/docs-html/cu ... 5-240003.1):
Integer Shortint SmallInt Longint Longword Int64 Byte Word Cardinal QWord
Real Single Double Extended Comp Currency
Boolean Boolean8 Boolean16 Boolean32 Boolean64 ByteBool WordBool LongBool QWordBool
Pointer
character, string types (https://www.freepascal.org/docs-html/cu ... 8-310003.2):
ShortString AnsiString WideString UnicodeString
Char AnsiChar WideChar
Pchar Punicodechar
set operators (basically functions) (https://www.freepascal.org/docs-html/cu ... 400012.8.5):
include( ), exclude( )
Thank you!
I think there is only one Pascal lexer for all the variations (Delphi, Turbo Pascal, Borland Pascal, Free Pascal, RemObjects PascalScript, ...).
There are keywords, types which do not be highlighted.
The & "operator" (https://www.freepascal.org/docs-html/cu ... 5-140001.4):
procedure &while; // declaring
&while; // calling
method declaration (https://www.freepascal.org/docs-html/cu ... 980006.5.1):
message reintroduce
function modifiers (https://www.freepascal.org/docs-html/cu ... 0900014.10):
alias export interrupt iocheck local noreturn nostackframe saveregisters softfloat
number, boolean, pointer types (https://www.freepascal.org/docs-html/cu ... 5-240003.1):
Integer Shortint SmallInt Longint Longword Int64 Byte Word Cardinal QWord
Real Single Double Extended Comp Currency
Boolean Boolean8 Boolean16 Boolean32 Boolean64 ByteBool WordBool LongBool QWordBool
Pointer
character, string types (https://www.freepascal.org/docs-html/cu ... 8-310003.2):
ShortString AnsiString WideString UnicodeString
Char AnsiChar WideChar
Pchar Punicodechar
set operators (basically functions) (https://www.freepascal.org/docs-html/cu ... 400012.8.5):
include( ), exclude( )
Thank you!