menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

The tinies...
source image

Dev

4w

read

155

img
dot

Image Credit: Dev

The tiniest transpiler you'll ever see

  • The author has written a brainf**k to C transpiler in under 50 lines of C code.
  • Brainf**k is an esoteric coding language that is considered Turing complete and has a minimal syntax of only 8 characters.
  • The transpiler converts brainf**k code to C code by interpreting the brainf**k commands and generating the corresponding C code.
  • The author chose C for various reasons, including practice, speed, portability, and suitability for the task, while leveraging integer overflow for handling brainf**k memory tape.

Read Full Article

like

9 Likes

For uninterrupted reading, download the app