lisapple / bf-compiler-tutorial-with-llvm Goto Github PK
View Code? Open in Web Editor NEWBrainF**k Compiler Tutorial with LLVM
License: MIT License
BrainF**k Compiler Tutorial with LLVM
License: MIT License
This is not the most recent released version.
If you follow the LLVM releases religiously the most recent release is 3.7.
If you follow your distribution the most recent release may be 3.5 or 3.4 (or earlier).
Distributions still include version 2.7.
All these releases are incompatible with each other, but only in the (massive amounts of) boilerplate needed AFAICS.
You need to cover this or you're already out of date.
Hi,
Thanks for this beautiful tutorial!
It has been awesome to learn the basics of LLVM!
My question is... Do you know a way of minimizing the size of the final executable?
On my Linux the final executable has been generating about 80Mb, although I do not think that I would need so much in pure C, for example. I have a Brainfuck Interpreter that is sized 16Kb (even though small, still very big)...
I do not have any clues about the libraries I could take off when executing my Makefile
...
Brainfuck is a very small language and for that, I would like to try to make a small compiler as well...
Although I understand the power of the LLVM... Brainfuck may be only too simple.
Anyways I love your tutorial!
Thank you so much!
Luiz.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.