A Raku Grammar for Navigation Lights
summary
Shows how Raku’s built-in Grammar and Actions features (with its OO system) can be used to parse and interpret navigation-light codes like “Fl(4)15s37m28M”. Presents a code walkthrough with live examples that demonstrate using Raku grammars as a practical alternative to regexes or external recursive-descent parsers for extracting characteristics such as color, duration, phase, occulting, speed, height and visibility.
AI-written summary · about