From 55f7068e91182dfe458fad41c3251388ea461569 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Thu, 10 Aug 2023 11:15:53 +0800 Subject: Add an example 'bfinterp' My plan is to build a little interpreter for an esoteric programming language as the most basic application of this package, before embarking on some more ambitious applications. --- test-data/brainfuck.abnf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test-data/brainfuck.abnf (limited to 'test-data/brainfuck.abnf') diff --git a/test-data/brainfuck.abnf b/test-data/brainfuck.abnf new file mode 100644 index 0000000..df3d1da --- /dev/null +++ b/test-data/brainfuck.abnf @@ -0,0 +1,4 @@ +brainfuck = *unit + +unit = ">" / "<" / "+" / "-" / "," / ";" / + "[" brainfuck "]" -- cgit v1.2.3-18-g5258