Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私の入力は次のような再帰構造です (空白の 2 行目に注意してください)。
xxx @{} yyy @{ zzz @{} wwww }
私が見る文法は次のようになります。
start = item+ item = thing / space thing = '@{' item* '}' space = (!'@' .)+
しかし、私が得るのは
行 2、列 1: "@{"、"}"、または入力の末尾以外の任意の文字が必要です。
私は何を間違っていますか?