skx/bfcc
View on GitHub ↗ ★ 30 Go
BrainFuck Compiler Challenge
6 mentions on Hacker News by 1 person: 0 stories, 6 comments · first 2020-06-20 · latest 2023-03-12
20082026
-
…into the appropriate output. You can see me convert brainfuck to C, or x86 assembly language here: https://github.com/skx/bfcc
comment by stevekemp · 2023-03-12 · in Ask HN: Guidance on writing a source to source compiler (transpiler) -
Related to this I used go to compile brainfuck to x86 assembly: https://github.com/skx/bfcc That was a fun project I challenged myself to complete in a weekend.
comment by stevekemp · 2022-06-07 · in I wrote a Brainfuck to Go compiler -
I wrote a simple compiler for brainfuck too: https://github.com/skx/bfcc Compiling to assembly language was pretty fast, but folding in repeated characters definitely made it faster still. Optimizing the assembly wasn't a particular goal,…
comment by stevekemp · 2021-12-05 · in Show HN: Optimizing brainfuck interpreter using only the C preprocessor -
…and if your destination language is fast enough, or optimized enough, then it'll work just fine. https://github.com/skx/bfcc/
comment by stevekemp · 2020-08-15 · in Write Your Own Virtual Machine -
…been revisiting things writing a couple of simple compilers: https://github.com/skx/math-compiler/ https://github.com/skx/bfcc/ The first was mostly written because I'd not done anything recently with floating-point, and the second because…
comment by stevekemp · 2020-07-25 · in Ask HN: How did you learn x86-64 assembly? -
…in 24 hours or less. The end result worked out pretty well, and took less time than I expected: https://github.com/skx/bfcc/
comment by stevekemp · 2020-06-20 · in An Intro to Compilers (2017)