What 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
Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
21–30 of 32 posts
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#22Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#23No boolean operators?! That's an odd choice.
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#24This is such a cool educational tool! I got it to run on repl.it https://repl.it/@amasad/selfie
I pulled your PR and even plan to use repl.it in the upcoming compiler class.
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#25Besides compiler, emulator, and hypervisor, there is a symbolic execution engine in selfie that we are working on and would love to get feedback from you. The goal is to teach, eventually, a more formal approach when reasoning about correctness already in undergraduate classes. But the engine is also a research vehicle, especially the bounded model checking part.
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#26No boolean operators?! That's an odd choice.
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#27What 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
#28Earlier quoted context omitted.
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?
Oberon is implemented in itself: http://www.projectoberon.com The implementation includes the hardware too. Taken together, the system including single-tasking OS, windowing system and Oberon takes about 9000 lines of code.
https://www.research-collection.ethz.ch/bitstream/handle/20....
Also, following on from A2, Composita introduces a component architecture to allow managed memory without GC, and contextless switches (IMHO better than Rust):
http://concurrency.ch/Content/publications/Blaeser_Component...
Re: Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor
#29What 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
#30I 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.
Oberon doesn't provide much advantage over that.