Credits: @kokole , @Nukem for file struct and some opcodes. Thanks to @barata for source code of his console, it really helped me. Thanks to jzm contributors, I used part of code from there.
Changelog:
v3.2
Added support for redacted. Now you have to define path with your gsc files, instead single file. If loader can find file in assets database, which has the same name with file in your path, this file in game will be overriden, if not - loader will add new record to assets database. File with .txt extension will be compiled and loaded, file with .gsc extension only will be loaded.
v3.15
Fixed issue, when only the last break in the loop actually worked.
Returned support for mp(which was accidentally removed)
v3.11
Added support for all internal functions(even if they used really rarely).
v3.1:
Precedence for boolean expressions. Fixed error if identifier starts with '_', fixed some other bugs. Compiler finally done(I think).
v3:
Added support for continue and break.
v2.95:
Fixed bugged notify, boolNot in boolean expressions, added support for animtrees, get animation and waittillframeend, symbol '\' now can be used in includes.
v2.9:
Loader merged with compiler, unused methods was removed from script.
v2.8:
Fixed crash when you calling pointer with more than one parameter.
Changelog:
v3.2
Added support for redacted. Now you have to define path with your gsc files, instead single file. If loader can find file in assets database, which has the same name with file in your path, this file in game will be overriden, if not - loader will add new record to assets database. File with .txt extension will be compiled and loaded, file with .gsc extension only will be loaded.
v3.15
Fixed issue, when only the last break in the loop actually worked.
Returned support for mp(which was accidentally removed)
v3.11
Added support for all internal functions(even if they used really rarely).
v3.1:
Precedence for boolean expressions. Fixed error if identifier starts with '_', fixed some other bugs. Compiler finally done(I think).
v3:
Added support for continue and break.
v2.95:
Fixed bugged notify, boolNot in boolean expressions, added support for animtrees, get animation and waittillframeend, symbol '\' now can be used in includes.
v2.9:
Loader merged with compiler, unused methods was removed from script.
v2.8:
Fixed crash when you calling pointer with more than one parameter.