HF RL Explorer

The morsecalc watch face calculator needs refactoring and simplification. The existing RPN calculator code…

The morsecalc watch face calculator needs refactoring and simplification. The existing RPN calculator code…: a task in LegoFlow-SWE (Harbor dataset). The calculator’s main public API is calc init() for initialization and calc input(calc state t cs, char word) , which processes a…

The task

The calculator’s main public API is `calc_init()` for initialization and `calc_input(calc_state_t *cs, char *word)`, which processes a whitespace‑delimited word as either a number or a command. It returns a status code: 0 for success, -1 for an unrecognised command, -2 for a stack overflow/underflow, and -3 for a…

Part of Lego-X/LegoFlow-SWE.