Remix.run Logo
Compiler for the B Programming Language(github.com)
60 points by ycuser2 4 days ago | 10 comments
aap_ an hour ago | parent | next [-]

Always nice to see more B. Here's mine: https://github.com/aap/b

pveierland 9 hours ago | parent | prev | next [-]

Fun to see that it implements codegen for Uxn :)

https://github.com/tsoding/b/blob/main/src/codegen/uxn.rs

https://wiki.xxiivv.com/site/uxn.html

avmich 6 hours ago | parent | prev | next [-]

A pretty recent work: https://github.com/sergev/BCause .

treyd 13 hours ago | parent | prev | next [-]

Interesting that this is in a self-developed subset/dialect of Rust called Crust which attempts to treat it as a better C, using unsafe everywhere among other things.

kzrdude 13 hours ago | parent [-]

That's a little bit interesting. It remains then a C-like language with generics, and that sounds a lot more fun than regular C. I don't yet understand the point of avoiding references or libstd, though.

int_19h 5 hours ago | parent [-]

Avoiding references means avoiding the borrow checker, and I don't think you can use much of stdlib if you avoid references...

int_19h 5 hours ago | parent | prev | next [-]

Nice, but it really needs to be written in B and self-hosted.

elvircrn 12 hours ago | parent | prev | next [-]

Had a go at this a while back: https://github.com/elvircrn/bcomp.

DiabloD3 13 hours ago | parent | prev [-]

This is the most tsoding thing possible.

nurettin 3 hours ago | parent [-]

I have tsoding fatigue at this point. BTW are you the DiabloD3 from freenode/#sdl like 25 years ago?