logoalt Hacker News

owlstuffing • yesterday at 3:11 PM • 3 replies • view on HN

Impressive. But the critical missing feature is a step in the process that transforms the resulting source into readable source, using transforms that are provably identical in behavior.


Replies

rayiner • yesterday at 3:47 PM

The code is quite readable and well documented. Look at, for example, the register allocator. It’s quite readable what’s going on, and the comment at the top of each file describes the general algorithm.

bazzargh • yesterday at 4:00 PM

it has exactly that step, described in HOW_IT_WORKS:

https://github.com/abedegno/borland-reborn/blob/main/docs/HO...

    6. Make it readable

    With every byte proved, the source was rewritten for people,
    one step at a time, with the full check after each step
(the original has more detail). Whether this step succeeded is a different question.
➕ show 1 reply
cubano • yesterday at 4:09 PM

Hmmm...sure looks mighty readable to me. Not sure exactly what your complaint about the codebase could be?

My problem seems to be stranger...is anyone else having the Github Unicorn error message popping up everywhere, or is it just me? I am unable to view more than 2 or 3 C files before my review is held up by these rather strange errors.

Its been a little while since I've scanned thru Github...maybe this is a common problem now?