Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've thinking about learning OCaml and write myself a Brainfuck interpreter, so this has been helpful, thanks!
I just had a couple of issues running this project:
Compilation
Even though I could compile the
.mli
file, it had different signatures than the implementation one, I've got this error:So I've fixed the interface file 😉
hello.txt example
This example had the name of the file inside it, and since it has an extension, the
.
could be interpreted as part of the program, so I made it similar to the other examples where the name is before the content.Wrong outputs
In
README.md
it was saying the output would be100
, but it was50
and40
, like shown below:So I've fixed the outputs on
README.md
.