Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
11–20 of 32 posts
Such a great post- https://www.completeconnection.ca/trending-mobile-phone-apps...
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#12Selfie, hypster, mipster, monster... these names are great.
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#13What drivel. Make an artificial language which nobody uses, with a target architecture=X. Post it pretending that it is relevant.
I Call BS on OP
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#14This is such a cool educational tool! I got it to run on repl.it https://repl.it/@amasad/selfie
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#15Beautiful, beautiful project. Containing the deepest twists of computation in a single file, and not a single #include. I only missed it including a text editor. Love it!
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#16The C subset it compiles is called C* but it appears unrelated to the language of the same name created for the Connection Machine hardware: https://en.wikipedia.org/wiki/C*
At least it's not mosdef C =P
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#17No boolean operators?! That's an odd choice.
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#18I think Oberon would be a better candidate for this than C. You could get a tiny and extremely fast compiler for a full-featured programming language.
I'm looking into self-hosting compilers, is there a good link for Oberons code that achieves this? Or you just are mentioning that Oberon would probably be able to if one were implemented?
You might be interested in oberonc [0] an oberon-07 self-hosting compiler for the JVM.
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#19Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#20I think Oberon would be a better candidate for this than C. You could get a tiny and extremely fast compiler for a full-featured programming language.
Funny because Selfie reminds me of a maximally compact version of http://www.projectoberon.com/