Comment

Comment by simlevesque

I ran the installation lines and got this error:

    make && sh test.sh
    cc -std=c99 -Wall -Wextra -Wpedantic -o2 trre_nft.c -o trre
    cc -std=c99 -Wall -Wextra -Wpedantic -o2 trre_dft.c -o trre_dft
    test.sh: 14: Syntax error: "(" unexpected
Using bash fixed it.

Then I ran one of the generator examples:

    echo '' | trre -g ':(0|1){,3}?'
And I got this error:

    ./trre: invalid option -- 'g'
    Usage: ./trre [-d] [-m] expr [file]

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton