Repository navigation
Add byte and short data types - #106
Merged
Merged
Conversation
Collaborator
|
sus |
Collaborator
|
I'm not at my main pc right now.. But this seems fairly buggy & I will probably work on fixing it alongside the LLVM implementation |
Collaborator
|
jarvis kill this man, anyway, will probably merge it into it's own branch and work on it from there |
Contributor
Author
|
Types, globals, dims, arrays and locals work fine when i tested it. (x86 compiler) |
byte-chan
suggested changes
Oct 30, 2026
| case '$':toker->next(); return "$"; | ||
| case '@':toker->next(); return "@"; | ||
| case '.':toker->next(); return parseIdent(); | ||
| case ':':toker->next(); return parseIdent(); |
Contributor
There was a problem hiding this comment.
This simple, innocent-looking change potentially breaks perfectly reasonable code like this:
MouseXSpeed : MouseYSpeed : MouseZSpeed
Contributor
Author
There was a problem hiding this comment.
@krimbopple please remove this line when you can
krimbopple
added a commit
that referenced
this pull request
Oct 30, 2026
This reverts commit 586c9f6.
MaxStar5
added a commit
to MaxStar5/BlitzX3D
that referenced
this pull request
Nov 10, 2026
This reverts commit 586c9f6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The syntax is really similar to BlitzMax because I plan to expand it further by adding signed & unsigned variants of other data types.
And I plan to add other c++ data types like vectors & maps.
The syntax would probably look similar to this:
Byte and short example: