Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
brainfucker
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
brainfucker
Commits
1a1f78a3
Commit
1a1f78a3
authored
Jan 08, 2015
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated About
parent
bee977a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
README.md
README.md
+6
-2
No files found.
README.md
View file @
1a1f78a3
...
...
@@ -4,8 +4,12 @@ About
This is a minimal compiler for the
[
Brainfuck
](
https://en.wikipedia.org/wiki/Brainfuck
)
language, written for the
purpose of practicing OCaml LLVM bindings and seeing how well LLVM optimizes
arrays. Brainfuck commands are transformed to LLVM IR, which is generated in
such a way that it is easy to optimize for LLVM's
`opt`
utility.
arrays. Brainfuck commands are transformed to
[
LLVM
IR
](
http://llvm.org/docs/LangRef.html
)
, which is generated in such a way that
it is easy to optimize for LLVM's
`opt`
utility.
The (only) source file
`bf.ml`
pretty much explains itself, as does the.
`hello.b`
and
`rot13.b`
can be used for quick testing as demonstrated below.
Building and usage
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment