TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

I wrote a Brainfuck to Go compiler

36 pointsby kabirgoelalmost 3 years ago

4 comments

lifthrasiiralmost 3 years ago
Meanwhile, a Go to Brainfuck compiler remains uncharted territory.<p>(If you are genuinely curious, there is already a BASIC-to-Brainfuck compiler [1] and a C-to-Brainfuck compiler [2].)<p>[1] <a href="https:&#x2F;&#x2F;esolangs.org&#x2F;wiki&#x2F;BFBASIC" rel="nofollow">https:&#x2F;&#x2F;esolangs.org&#x2F;wiki&#x2F;BFBASIC</a><p>[2] <a href="https:&#x2F;&#x2F;esolangs.org&#x2F;wiki&#x2F;C2BF" rel="nofollow">https:&#x2F;&#x2F;esolangs.org&#x2F;wiki&#x2F;C2BF</a> (and I think I&#x27;ve seen at least two more)
评论 #31650758 未加载
stevekempalmost 3 years ago
Related to this I used go to compile brainfuck to x86 assembly:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;skx&#x2F;bfcc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;skx&#x2F;bfcc</a><p>That was a fun project I challenged myself to complete in a weekend.
AdvicePlzalmost 3 years ago
I might be wrong, but is this not a transpiler instead of a compiler?
评论 #31650670 未加载
评论 #31650334 未加载
评论 #31651926 未加载
评论 #31658719 未加载
评论 #31652394 未加载
评论 #31650508 未加载
Hnrobert42almost 3 years ago
I can never take Brainfuck seriously because it has such a juvenile name.
评论 #31652453 未加载