highlight.js
highlight.js copied to clipboard
Updated GML.js to 2023.1 version
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 infnamesfileBUILT_INS: functions; everything that have[a-z_]+\(.*?\)in definition (both UK and US spelling)SYMBOLS: macros; everything that ended with#infnamesLANGUAGE_VARIABLES: various global/local variables (reserved words); everything that ended by*(readonly),@(instance variable), or didn't ended with(...)That exactfnamesfile can be found here: https://gist.github.com/gnysek/a69ec324df61131b2546d1580f29a760
Checklist
- [x] Added markup tests, or they don't apply here because... (only keyword updates)
- [x] Updated the changelog at
CHANGES.md
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 # at end).
Build Size Report
Changes to minified artifacts in /build, after gzip compression.
2 files changed
Total change +745 B
View Changes
| file | base | pr | diff |
|---|---|---|---|
| es/languages/gml.min.js | 13.37 KB | 13.74 KB | +371 B |
| languages/gml.min.js | 13.37 KB | 13.74 KB | +374 B |
Build Size Report
Changes to minified artifacts in /build, after gzip compression.
5 files changed
Total change +749 B
View Changes
| file | base | pr | diff |
|---|---|---|---|
| es/core.min.js | 8.2 KB | 8.2 KB | +1 B |
| es/highlight.min.js | 8.2 KB | 8.2 KB | +1 B |
| es/languages/gml.min.js | 13.37 KB | 13.74 KB | +371 B |
| highlight.min.js | 8.23 KB | 8.23 KB | +2 B |
| languages/gml.min.js | 13.37 KB | 13.74 KB | +374 B |