MarcelGarus / MarcelGarus/c1c

Support custom step sizes

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

It would be nice to be able to configure custom step sizes.
For example, one might want to access array elements like this:
```c
int a[] = { 1, 2, 3 };
printf("%d %d %d", a[2.1], a[2.2], a[2.3]);
// Expected output: 1 2 3
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by locating the compiler's array-indexing implementation and understand how expressions such as a[2.1] are parsed and evaluated. Done should include a defined custom-step-size behavior matching the example and coverage for the resulting output.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.