Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/gbdev/rgbds
Rednex Game Boy Development System - An assembly toolchain for the Nintendo Game Boy and Game Boy Color
https://github.com/gbdev/rgbds
handle inline c-like comments in lexer
7e1d20acdfd03bed76c66e213d2fd93cc703ac87 authored over 4 years ago5230104852a7af729105f2b13f1de78d95c3f9c8 authored over 4 years ago
55be77be69fb2392404203ab6735e05a9fcea067 authored over 4 years ago
Report only one error when invalid shift has argument
42b3a173566a70c665066bf9e1f8d2568b9b176c authored over 4 years ago4e1d79081c3aba476daf38ba42180281752a8e3b authored over 4 years ago
Not *necessary*, but if you don't know better, you should probably use it.
Fixes rgbds-www#9
Don't overwrite symbol when it's not allowed
05256946ac03124188b0157ebd8f75a26f3b43e6 authored over 4 years agoDon't consider difference of invalid labels constant
73396166aaca4542fc1708d6febd0a959e05df88 authored over 4 years ago
If a label is defined outside of a section, avoid trying to obtain its
value.
Not to mention that incrementing a variable in a loop is kinda dumb.
045a9e8b93048379b60afc9992d6f245d5129a89 authored over 4 years ago4419f0d54f32eaf3e34b8b9154b71d832bdb903c authored over 4 years ago
When a user tried to overwrite a builtin symbol, it would change its
type despite the error, mak...
reserveSpace: don't assume one doubling is enough
e4f5df1306c4eb09de57728f9756b951b41565aa authored over 4 years agodc62d60e9b3ff28667e4d6652c7d51491ff8e918 authored over 4 years ago
71d8aeb4c276d29764bf0f76879a2b6047c85803 authored over 4 years ago
utf8decoder: Use byte-sized byte argument
0836f67d429d2f545f43e203023d174ca4442779 authored over 4 years agoReport error when shifting outside a macro
176a57a1e96c53513b82b093b105bb9b4f92da6c authored over 4 years agoReport error when aligning outside of a section
0d02355dbf9fef92c2cf40be09e304601a931014 authored over 4 years ago
This prevents passing a negative value out of a signed char by accident.
Also renders some casts...
They were made useless with the lexer rewrite
2dd9015dc60c8e0bf4fffa25039395e14827eb93 authored over 4 years ago217c10ddac43fa0b87566bb44bef8236b0eab316 authored over 4 years ago
822e4e7c44a8b7e1d1d2e2172f34ac57aec6a06e authored over 4 years ago
0b1d01792d0b370e79fcf6c5fef2bef6161c8097 authored over 4 years ago
This should make the purpose of that file clearer to newcomers
01637768cf19aedf85882b0d9f53284299239037 authored over 4 years agoFixes #598
6a8ae643d5e900b2dbe7d741a1f14df5912cede8 authored over 4 years ago
There seems to be no way to make the check work, and Actions are disabled
in forks by default an...
No, they cannot start with a digit!
914856342ce02d23bfa2424eb06da6d644e9e946 authored over 4 years agoFix #586: Update the `charmaps` hashmap when an existing charmap is resized
91889fc14abbf705271bb484e89e349e08f76477 authored over 4 years ago7c8ec5a5edbdae184ce5c0f6bbcde6037340f209 authored over 4 years ago
effc6788ebe0958f64b3218fbd341b4091ed016b authored over 4 years ago
Add MSVC in CI
f9daf27511bfa49a100fa45648c5098098d696b5 authored over 4 years ago
MSVC does not support those...
Also add a `develop` warning about VLAs, to avoid future incidents
Required for `open`, `close`, `read`, and `STDIN_FILENO`,
which are defined elsewhere on MSVC.
fd4cec93cd5d50bb478655f488a0a8420f96fdd0 authored over 4 years ago
This caused `make develop` to fail
92f2055a6c3328a101e2560d26c75fdc4fe1f8be authored over 4 years agoAdd directory summary to README.rst
be9b1198e940ed36c95778d30099a11cbf803860 authored over 4 years ago56bea083f966306c49156d38f5c5d15d010994e9 authored over 4 years ago
Modularize CMake build configuration
fdfc02ab963ed2ccdcae08cb3ad7231bf9b40bda authored over 4 years agolink: Suppress cascading errors.
fc7f042ad6ee4b5af83cf7908e5621a184864ea0 authored over 4 years ago
Build type no longer defaults to Release (!)
have separate options for extra warning flags and s...
b421c983d6cd577905b0bafe2c5c200f681552ef authored over 4 years ago
New lexer 2 — Electric Boogaloo
3036b5859894be1bc4523d7e309fca5015728679 authored over 4 years ago
Since the lexer buffer wraps, the refilling gets handled in two steps:
First, iff the buffer wou...
138523570e1b8a6a4e45f5c64a4335807c37c657 authored over 4 years ago
8e7afb0ab38aa80464317774a5166e09bd5aa084 authored over 4 years ago
ac011fe69f009152eb3bc87707d6140620995547 authored over 4 years ago
Removes a false positive from Clang static analysis
ee9e45b3d45f0b6f4342159ec75179df503fdc29 authored over 4 years agoMacOS treats them differently, for some reason.
b65ea64a583855ae69b685e3c094d0697d86b2c3 authored over 4 years ago
There isn't really a better alternative.
Making several mappings instead requires too much bookk...
96cb5e10ed87e7f072f9f98440a4139a13ba013d authored over 4 years ago
Gets rid of `open_memstream`, enabling Windows compatibility again
Also fixes #491 as a nice bonus!
b224cab3e052e79ee8628ed896d4350765e1b75d authored over 4 years ago
"Initialization, sizeof, and the assignment operator ignore the flexible array member."
Oops!
82469ac0fde1b2e73bfbfc58853a7ecb95e4a794 authored over 4 years ago
71a0a42cfb482929834973fd206f5dcc1bdbdaae authored over 4 years ago
7381d7b92fa21cce3c086cb01199036053687078 authored over 4 years ago
dbef51ba052ff9d98fbed87f36b53e5a2d4af074 authored over 4 years ago
And added a test to check their behavior
c952dd8a6e1837ebfbcb5ade04f7d66cefa38cbd authored over 4 years agoTranslate it to \\n regardless of the lexer mode
423a7c48994fc9430960f83955d6697d484e342a authored over 4 years ago
Attempt to grow it to the max size first.
Seriously, if this triggers, *how*
Also use a cleaner way, instead of hardcoding to capture
f7b7a97407c473c246546905e8ed4123503b579b authored over 4 years agoece6853e0f5d206d5b2159aa300ce2a81030d130 authored over 4 years ago
615f1072d95d5d382012b2f0b2b55bc5ec61c436 authored over 4 years ago
9e3d7a50e6a93152f60872dd03080c2c1942a97e authored over 4 years ago
e33c2ad6a2b5b04903c1ebbce5bed8f547898451 authored over 4 years ago
And add a test for it
b83b9825f81e99414df95b000df0fd47d55004aa authored over 4 years ago
Since the "skip ELSE blocks" variable is global, it used to get carried
over from the macro's `i...
aa76603da9a1c04835f4a431251f77d481c26bdb authored over 4 years ago
35396e6410e471626db52c917f405fcf65034373 authored over 4 years ago
Made possible by #491
8d18b39eeed5188216483e21675911c046586b72 authored over 4 years ago4d1333e124369a63f69ee9ef4bc94bd6073f9b41 authored over 4 years ago
As noted in the function's code, this is very error-prone, but
will do the job; this needs rewri...
d641972cded4339c8763d55115760c58c9b78c18 authored over 4 years ago
b7b03ee4510f1dd3f8b7dfdbe4a21d5c0d9bfeb2 authored over 4 years ago
62ecdce0b0db976894f88336f1fa7f257a77e950 authored over 4 years ago
baeb180acdfa7d4f49d7afd53035e8f707fe6551 authored over 4 years ago
e4f2fad215650efd9155adc5312bb76c6c0c3747 authored over 4 years ago
Also clean up built-in symbol creation
This is not great, but currently okay.
Should be fixed la...
3f5f9bcaf01c0f6b3382f6fb85daa3ac7857ebee authored over 4 years ago
08867b3cec6fbc8bc215a1049055e3c65281751c authored over 4 years ago
Used to be broken, so it was removed, but doing so prevents escaping them.
So it was instead put...
cf992164f79a0e5c0fd49b445d698be2361a9b67 authored over 4 years ago
Hidden behind a #define, like YYDEBUG
d9ecaabac1f49ebf074d1170777135bd6359b3a7 authored over 4 years agoAlso added an assertion to check against more such overflows
b27b821e7f7bf1c3e0ce8c07cb047cca6cf09434 authored over 4 years agoMore to come...
cd747d81750f6a04867782e3581a19b66272380b authored over 4 years ago
They were expanded during the capture, and there was no easy way to
avoid expanding them (believ...
df75fd2ec2d959e8c69e54b491eb6c1de4157cd3 authored over 4 years ago
This finally allows running 90% of the test suite, debugging time!
6e805cd3182390d756dc973dd61f2d31a476cdb1 authored over 4 years agoadcaf4cd46615d424ea328431fbd4feb60d84cf0 authored over 4 years ago
It's currently defined in fstack.c, making it more prone to accidental
dropping. Let's not repea...
Missing colon and space after the file stack
7c895f8a1b02e433f9790d43f1376ae163b3dbe8 authored over 4 years ago2ec10012b6633f5e23012330fd5faddcfea490b8 authored over 4 years ago
e56c6cc2918003f404edfd7c8575c0ab343ba2da authored over 4 years ago
And fix line counting with expansion-made newlines.
This has the same bug as the old lexer (equs...
More expansions were allowed than the limit specified, and reporting code
did not account for th...
Freeing an expansion should free its children, not its siblings...
Fixes a use-after-free report...
5ad7a9375076f1d352a9825379e0abee43c2fdfc authored over 4 years ago
The biggest problem was simply that the length of children expansions was
not accounted for when...
Add keywords and identifiers
Add comments
Add number literals
Add strings
Add a lot of new token...
The lexer itself is very much incomplete, but this is intended to be a
safe point to revert to s...