NHacker Next
login
▲Compiler for the B Programming Languagegithub.com
66 points by ycuser2 4 days ago | 11 comments
Loading comments...
pveierland 10 hours ago [-]
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

aap_ 3 hours ago [-]
Always nice to see more B. Here's mine: https://github.com/aap/b
avmich 8 hours ago [-]
A pretty recent work: https://github.com/sergev/BCause .
treyd 15 hours ago [-]
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 15 hours ago [-]
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 6 hours ago [-]
Avoiding references means avoiding the borrow checker, and I don't think you can use much of stdlib if you avoid references...
int_19h 6 hours ago [-]
Nice, but it really needs to be written in B and self-hosted.
elvircrn 13 hours ago [-]
Had a go at this a while back: https://github.com/elvircrn/bcomp.
DiabloD3 15 hours ago [-]
This is the most tsoding thing possible.
nurettin 4 hours ago [-]
I have tsoding fatigue at this point. BTW are you the DiabloD3 from freenode/#sdl like 25 years ago?
DiabloD3 25 minutes ago [-]
Yep, it is me.
ZeroAurora 5 hours ago [-]
[dead]