-
Notifications
You must be signed in to change notification settings - Fork 0
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
3.9.0 Release Plan #231
Comments
Internal Changes
|
Breaking Changes
i.e. the following code is no longer valid if MODEL1 and MODEL100 are unknown names.
Previously the compiler would try to add those modes to the DEFINE OBJECT list if it was an SCM file (not CLEO) and replaced model names with negative indexes in that list, e.g. -1 or -2. This behavior most likely deviates from the script goal and leads to many confusions. SolutionTo compile this code, the compiler should have access to the game's data folder, meaning one should set the game directory in the options. Then, it scans the standard IDE files (see above) and finds an id for the given models (MODEL1 and MODEL100). If such names are not found, another error is thrown. Alternative path is to replace model names in the code with their respective IDs (numbers).
SolutionUse unique name for each constant.
SolutionUpdate the code to match the spec. |
Release Notesbeta.2
beta.1
beta.0
alpha.2
alpha.1
alpha.0
Now it is possible to write:
there should be no whitespace between a byte and a number of repetitions enclosed in braces. You can use this syntax many times per block:
will be unwrapped to
N can be a constant defined earlier in the code:
will read the
will be compiled without need for opcodes. See #97 for the complete reference.
which is similar to SA SCR mode, but does not require any keywords be explicitly declared in keywords.txt. To support an enormous amount of new keywords in IDE the autocomplete list was limited to 200 names.
|
Breaking Changes
Some old code may not compile in this version. Read through the notes down below.
Download
https://github.com/sannybuilder/dev/releases/tag/v3.9.0
Features
byte(n)
syntaxconst x = 1
var $x: int
const x = 1, y = 2
,var $x:int, $z: array 10 of int
,int x, y = 1, z = 3
{$USE}
directive accepts multiple comma-separated extensionsBug Fixes
The text was updated successfully, but these errors were encountered: