aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-08-20 11:55:09 +0200
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-08-20 11:55:18 +0200
commitecd10c643962ac1122fa016e30aee8b7796f8c45 (patch)
tree90bfe7a3df9fd3e0df0d7780a857e2af15a16292 /README.md
parent2ddf90479e704afa34c54385b5cd9f76ee04374e (diff)
downloadparadox-ecd10c643962ac1122fa016e30aee8b7796f8c45.tar.xz
add brainfuck interpreter
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 82002c9..df398e3 100644
--- a/README.md
+++ b/README.md
@@ -119,3 +119,5 @@ It is possible to make memory allocations using strings by compiling your progra
In the program, you can then use `12+;` at the beginning of the file to extract a pointer to your allocation.
Since all operations fetch 64-bits, it is recommended to set the allocation size to 7 bytes higher than desired (if you wish to fetch/write the last few bytes of the allocation individually).
+
+As an example for pointer arithmetic, see `examples/brainfuck.false` which implements brainfuck using paradox pointer arithmetic.