382 B
382 B
BACKLOG — phase lex
Build backlog
All items completed.
- D1: Implement
NUMBERtoken (int + float, including.5and10.) - D2: Implement operator and paren tokens (
PLUS,MINUS,STAR,SLASH,LPAREN,RPAREN) - D3: Skip whitespace; raise
LexErrorfor invalid characters - D4: Write
calc/test_lexer.pywith unittest coverage for D1–D3