-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated GML.js to 2023.1 version #3681
Conversation
Updated GML language data to most up-to-date version, based on 2023.100.0.264 runtime, with many features added in recent months. Many functions in current definition file were outdated (they were marked as deprecated for around 5-10 years or even already removed in recent months and years). Generated from GM internal `fnames` file, with rule: - `KEYWORDS`: manually - `BUILT_INS`: everything that have `(.*?)` in definition (both UK and US spelling) - `SYMBOLS`: everything that ended with `#` in `fnames` - `LANGUAGE_VARIABLES`: everything that ended by `*` (readonly), `@` (instance variable), or didn't ended with `(...)` That exact `fnames` file can be found here: https://gist.github.com/gnysek/a69ec324df61131b2546d1580f29a760
Please explain removal of LITERALS. |
I moved then to SYMBOLS, where other GM literals were already. All of those are generally macros which are converted (usually) to integers on compile time. GameMaker' function list file doesn't differentiate those that were under "literals" form those that were under "symbols" - they are all in same group, as "constants" - https://gist.github.com/gnysek/a69ec324df61131b2546d1580f29a760 (marked with |
(added 9 missing entries from 2023.1 by comparing with 2022.11)
Added dropped brackets which should close arrays ( ]; ).
Build Size ReportChanges to minified artifacts in 2 files changedTotal change +745 B View Changes
|
Build Size ReportChanges to minified artifacts in 5 files changedTotal change +749 B View Changes
|
Updated GML language data to most up-to-date version, based on 2023.100.0.264 runtime (January 2023 release), with many features added in recent months. Many functions in current definition file were outdated (they were marked as deprecated for around 5-10 years or even already removed in recent months and years).
Changes
Generated from GameMaker runtime internal
fnames
file, with rule:KEYWORDS
: manually, as they are built-in in IDE and not mentioned infnames
fileBUILT_INS
: functions; everything that have[a-z_]+\(.*?\)
in definition (both UK and US spelling)SYMBOLS
: macros; everything that ended with#
infnames
LANGUAGE_VARIABLES
: various global/local variables (reserved words); everything that ended by*
(readonly),@
(instance variable), or didn't ended with(...)
That exact
fnames
file can be found here: https://gist.github.com/gnysek/a69ec324df61131b2546d1580f29a760Checklist
CHANGES.md