Backseating-Committee-2k / Backseating-Committee-2k/Upholsterer2k
refactor the lexer
- Dominant language
- C
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
At the moment the lexer uses one huge function (`tokenize`) to tokenize the code. The code could become cleaner, if this could be refactored into several functions. For this some kind of `LexerState`-struct would be necessary.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the lexer entry point named `tokenize` and inspect its current responsibilities and tokenization behavior. Identify suitable function boundaries and the required `LexerState` structure; the refactor is done when the lexer is split into several functions without changing its behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100