home.social

#monqjfa — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #monqjfa, aggregated by home.social.

fetched live
  1. When you move, for example your software from Github to Codeberg, you should install a Nachsendeantrag (forwarding request).😜

    Not the least because the old version persists in search engine results.

    I now did so on Github leading to my NFA/DFA software for Java: codeberg.org/harald/monqjfa

    Which was previously hosted on #github: github.com/HaraldKi/monqjfa

    #codeberg #monqjfa #nfa #dfa

  2. #monqjfa, my #nfa/#dfa, #regex library for #Java got some cleanup in the way finite automata are built. They do not only have the accepting states, but a state may also store a value. The values can be used for special tricks during state traversal. Historically the only "trick" was that this was an accepting state.

    The latest refactoring made it clearer that more can be done and how states with values and accepting states are related.

    harald.codeberg.page/monqjfa/

    Feedback welcome.

  3. #monqjfa, my #nfa/#dfa, #regex library for #Java has a grep-like program as an example of the use of the library. This got a new feature resembling grep's --color option to show matches with colors, using ANSI escape sequences

    ooo r='RuleParser->{c:#44ff11}'

    Yes, the program is called "ooo" 🙂 Why? ... Why not?

    There are more things possible within the braces, the simplest one is

    '...->{c}' as a shortcut for '...->{:red}

    to get the match in red.

    harald.codeberg.page/monqjfa/j