How did you handle the railroad question? The amount of numbers and variables where unknown.
I just did a loop over the whole thing, and added and or and a blank space lol.
If I remember correctly, I first thought of it in EBNF terms:
Number <n> = <digit>{<digit>}|"."<digit>{<digit>}
Expression = <n>[<operator><variable>]|<variable>{<operator><variable>}
I think it was somethinike that tbh
Lol the ebnf doesn't make sense rn but I did something like it irl
Then I wrote it out as a railroad and made sure to define number seperately