Thread with 8 posts

jump to expanded post

these last few weeks, @lynn and me have been working on a c compiler for uxn, based on rui ueyama's “chibicc”. it's been a lot of fun! it's such a cute little vm… assembly for this tiny stack machine involved so many little puzzles.

i made a demo https://github.com/lynn/chibicc/blob/uxn/examples/star.c :3

Open thread at this post

there are a number of important limitations, but it's already usable enough to write small games and demos. with some effort, it's even possible to port some existing software! i've managed to get a certain classic app working in it. i'm hoping to announce it soon :3

Open thread at this post

@neauoire a lot of this stuff i've just gradually accumulated in my head over time so i don't know how i first learned most of these things, but i do have references i use to check my knowledge:

  • the C standard isn't available for free, sadly, but you can usually find a copy of the last draft before a particular published version

  • https://en.cppreference.com/w/c is the best online C documentation I know about

Open thread at this post