Lists/arrays
Open
enhancement
rgbasm
- Dominant language
- C++
- Stars
- 1.6k
- Forks
- 193
- Avg merge
- 22h 17m
- Merged PRs (30d)
- 26
Description
```
MOVES EQU [$24, $3a]
db LENGTH(MOVES)
db MOVES[0], MOVES[1]
```
Is there any chance for something like this to happen at all? Is it even a good idea?
Should be made to work for strings too.
```
POKEMON_NAMES EQU ["BULBASAUR", "IVYSAUR"]
db "So you want ", POKEMON_NAMES[STARTER1], "?@"
```
Contributor guide
Research direction
Start by reviewing how the assembler currently represents constants and handles indexing, then compare the requested numeric and string examples against existing syntax and tests. Done means reaching a documented decision on whether lists and indexed string lists are supported, with behavior and tests covering the proposed forms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100