Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@Electrux
It is on my GitHub, but beware it has no proper documentation so you're on your own.
https://github.com/batburger/...
If you want to compile it - it only uses the standard library, the input file must be called test.txt(unless you change main.cpp), the output assembly file is a.asm, it will try to compile and link it, but that only works if you have nasam and ld installed. When you open the log file in your Browser you can click the grey headings to see the messages. Creates assembly for 64bit x86_64 linux machines.
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
-
sam966911Hats off to this lady .... I would have just flipped the machine
I've just managed to add the ability to call functions to my compiler. Currently, the capabilities are rather limited but I am pleased with it.
It keeps the schematics of the source code well enough that it can handle
recursive calls.
:D
On the Image, you can see the program's output (left), the generated x86_64 assembly, and the source code of the compiled program (bottom).
rant
compiler
c++
x86