From ddabe769b0338d5a64ee0c7ee0f3ab718e44853e Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Thu, 5 Oct 2023 15:02:40 +0200 Subject: [PATCH] Example program --- bfpcompiler/test.bf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/bfpcompiler/test.bf b/bfpcompiler/test.bf index 9e9a718..de06b19 100644 --- a/bfpcompiler/test.bf +++ b/bfpcompiler/test.bf @@ -1,5 +1,10 @@ -,>,< read two operands; return to cell zero -> move to cell to add -[ <+>- ] move cell to cell zero -. print result -[] endless loop ++[> +-[.- +>-[- +>-[- +>-[- +]< +]< +]< +] +<]