New parser #13

Closed
opened 2024-10-08 17:50:34 +02:00 by MarieEckert · 0 comments
MarieEckert commented 2024-10-08 17:50:34 +02:00 (Migrated from github.com)

The old parsing code is really bad which makes bugs annoying to fix and new features hard to implement. A new parser which is more extensible and comprehensible is needed.

  • Implement the lexer
    • Lex Keywords
    • Number Literals
    • String Literals
    • Associate Line Numbers with tokens for better errors
  • Implement the parser
    • Translation into the existing structs
      • File Structure (Sector, Sections)
      • Fields
        • Number Type / Boolean Fields
        • String Fields
        • Lists
          • Number Type / Boolean Lists
          • String Lists
    • ( Validity Checking )
  • Update the public MCFG/2 headers to be compatible with the new parser
  • Field Test
The old parsing code is really bad which makes bugs annoying to fix and new features hard to implement. A new parser which is more extensible and comprehensible is needed. * [X] Implement the lexer * [X] Lex Keywords * [X] Number Literals * [X] String Literals * [x] Associate Line Numbers with tokens for better errors * [x] Implement the parser * [x] Translation into the existing structs * [X] File Structure (Sector, Sections) * [x] Fields * [X] Number Type / Boolean Fields * [x] String Fields * [x] Lists * [x] Number Type / Boolean Lists * [x] String Lists * [x] ( Validity Checking ) * [x] Update the public MCFG/2 headers to be compatible with the new parser * [ ] Field Test
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
marie/mcfg_2#13
No description provided.