XBrained: A Brainf*** Compiler

Post Reply
Toboter
Posts: 15
Joined: Fri Oct 13, 2023 2:55 pm

XBrained: A Brainf*** Compiler

Post by Toboter »

I present to everyone who cares to listen:
The first finished on-system compiler of the X16 - A Brainf*** compiler

It still uses ASCII, mostly ISO mode, but also uses 0A as newline instead of 0D. Also, input is terminated by 00, memory cells are limited to one byte, and there's only 256 of them. So have fun y'all!
Attachments
main.c
(6.48 KiB) Downloaded 146 times
bfc.prg
(3.99 KiB) Downloaded 133 times
Last edited by Toboter on Mon Nov 27, 2023 12:40 pm, edited 1 time in total.
Ed Minchau
Posts: 486
Joined: Sat Jul 11, 2020 3:30 pm

Re: Brainf*** Compiler

Post by Ed Minchau »

I knew it would happen eventually.
TomXP411
Posts: 1730
Joined: Tue May 19, 2020 8:49 pm

Re: Brainf*** Compiler

Post by TomXP411 »

Hi, guys. I know the name of the programming language is acceptable in some circles... but the forum is both SFW and PG.

For anyone who is not familiar with the BrainF* programming langauage: it's designed to be the smallest possible language, while also being "complete".

You can read more at Wikipedia: https://en.wikipedia.org/wiki/Brainf***
Post Reply