cbmbasic icon indicating copy to clipboard operation
cbmbasic copied to clipboard

How was generated the code?

Open daitangio opened this issue 6 years ago • 2 comments

How was generated the C code? IWas it pre-processed some way? It would be useful to know it a bit.

daitangio avatar Jan 02 '20 16:01 daitangio

Is this "static recompiler" used to produce this available anywhere, or at least some hint as to go about making one of my own?

jduerstock avatar Feb 28 '22 01:02 jduerstock

Okay, I finally uploaded my old static recompiler that was used to create this.

https://github.com/mist64/static6502

I then used LLVM to take the C code, optimize it and spit out C source again. Today, you would need llvm-cbe to do this part.

mist64 avatar Mar 03 '22 02:03 mist64