3 unstable releases
0.1.1 | May 21, 2021 |
---|---|
0.1.0 | May 17, 2021 |
0.0.1 | May 8, 2021 |
#430 in Text editors
135KB
4K
SLoC
QuickBMS-lsp
This is an experimental language server for the scripting language QuickBMS.
Language server endpoints
These are the currently supported language server endpoints.
initialize
textDocument/didOpen
textDocument/didChange
textDocument/documentSymbol
textDocument/hover
textDocument/definition
textDocument/references
- Currently only for functions
QuickBMS commands
The following QuickBMS commands are currently supported by the langauge server.
-
QuickBMSver VERSION
-
FindLoc VAR TYPE STRING [FILENUM] [ERR_VALUE] [END_OFF]
-
For [VAR] [OP] [VALUE] [COND] [VAR]
-
Next [VAR] [OP] [VALUE]
-
Get VAR TYPE [FILENUM] [OFFSET]
-
GetDString VAR LENGTH [FILENUM]
-
GoTo OFFSET [FILENUM] [TYPE]
-
IDString [FILENUM] STRING
-
Log NAME OFFSET SIZE [FILENUM] [XSIZE]
-
Clog NAME OFFSET ZSIZE SIZE [FILENUM] [XSIZE]
-
Math VAR OP VAR
-
XMath VAR INSTR
-
Open FOLDER NAME [FILENUM] [EXISTS]
-
SavePos VAR [FILENUM]
-
Set VAR [TYPE] VAR
-
Do
-
While VAR COND VAR
-
String VAR OP VAR
-
CleanExit
-
If VAR COND VAR [...]
- Support all comparison operators
-
[Elif VAR COND VAR]
-
[Else]
-
EndIf
-
GetCT VAR TYPE CHAR [FILENUM]
-
ComType ALGO [DICT] [DICT_SIZE]
-
ReverseShort VAR [ENDIAN]
-
ReverseLong VAR [ENDIAN]
-
ReverseLongLong VAR [ENDIAN]
-
Endian TYPE [VAR]
-
FileXOR SEQ [OFFSET] [FILENUM]
-
FileRot SEQ [OFFSET] [FILENUM]
-
FileCrypt SEQ [OFFSET] [FILENUM]
-
Strlen VAR VAR [SIZE]
-
GetVarChr VAR VAR OFFSET [TYPE]
-
PutVarChr VAR OFFSET VAR [TYPE]
-
Debug [MODE]
-
Padding VAR [FILENUM] [BASE_OFF]
-
Append [DIRECTION]
-
Encryption ALGO KEY [IVEC] [MODE] [KEYLEN]
-
Print MESSAGE
-
GetArray VAR ARRAY VAR_IDX
-
PutArray ARRAY VAR_IDX VAR
-
SortArray ARRAY [ALL]
-
SearchArray VAR ARRAY VAR
-
CallFunction NAME [KEEP_VAR] [ARG1] [ARG2] ... [ARGn]
-
StartFunction NAME
-
EndFunction
-
ScanDir PATH NAME SIZE [FILTER]
-
CallDLL DLLNAME FUNC/OFF CONV RET [ARG1] [ARG2] ... [ARGn]
-
Put VAR TYPE [FILENUM]
-
PutDString VAR LENGTH [FILENUM]
-
PutCT VAR TYPE CHAR [FILENUM]
-
GetBits VAR BITS [FILENUM]
-
PutBits VAR BITS [FILENUM]
-
Include FILENAME
-
NameCRC VAR CRC [LISTFILE] [TYPE] [POLYNOMIAL] [PARAMETERS]
-
Codepage VAR
-
SLog NAME OFFSET SIZE [TYPE] [FILENUM] [TAG]
-
Reimport [MODE]
-
Label NAME
-
Break [NAME]
-
Continue [NAME]
Dependencies
~6–8.5MB
~185K SLoC