‹ BackHN Continuity

Thread

C++ Insights – See your source code with the eyes of a Compiler

172 points · 36 comments · rramadass

  1. alankarmisra · · focus · HN ↗
    Ooo I love these things. I wrote a C++ -> Clang -> JS transpiler so I could show value change states on top of the C++ source code in html and allow people to step through the whole state change. They can also vary the input and see the values change cause the JS layer could recompute the values - which is why I bothered with the transpiling - otherwise I could have just output the state changes and parsed them as CSV for the steps. Fun project!

    <a href="https:&#x2F;&#x2F;youtu.be&#x2F;ZPGysUX62OY" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;ZPGysUX62OY

    1. ranger_danger · · focus · HN ↗
      This is really cool. Is the source available?
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.