swieros
MIPS-Sudoku-Solver
swieros | MIPS-Sudoku-Solver | |
---|---|---|
3 | 1 | |
1,038 | 4 | |
- | - | |
10.0 | 3.2 | |
over 3 years ago | 4 months ago | |
C | Assembly | |
GNU General Public License v3.0 only | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swieros
-
A tiny hand crafted CPU emulator, C compiler, and Operating System
There's a very interesting C interpreter/compiler there as well [1]. From the header:
"c is the c compiler. It takes a single source file and creates an executable file or else executes the compiled code immediately. The compiler does not reach full standards compliance, so some programs need minor adjustment.
There is no preprocessor, although the #include keyword is allowed supporting a single level of file inclusion."
[1] https://github.com/rswier/swieros/blob/master/root/bin/c.c
-
Best practice to store context for a C compiler
swierosc
MIPS-Sudoku-Solver
-
A tiny hand crafted CPU emulator, C compiler, and Operating System
Ooh, this is super cool!
I love this sort of miniaturization in virtualization. In college, I did an independent study where I created a stack-based VM in C -- designed the ISA, wrote an assembler, etc. It wasn't very good, but I was able to write simple programs and run them. It felt like magic to me. I wrote a Sudoku solver in MIPS assembly [1] a while before that, and I wanted to port it over but I was missing some features. And now that's gone. #LikeTearsInRain
I haven't really revisited virtualization. Sad thing about my career is that I don't really get to spend half my time working on indendependent study.[2] All of my side projects tend to just be spurts of inspiration that fizzle out quickly.
Anyway, I'm gonna dig into this. It looks awesome!
[1] https://github.com/ndouglas/MIPS-Sudoku-Solver/blob/main/mip...
[2] "I've been in the private sector. They expect results." – Dr. Raymond Stantz
What are some alternatives?
z88dk - The development kit for over a hundred z80 family machines - c compiler, assembler, linker, libraries.
selfie - An educational software system of a tiny self-compiling C compiler, a tiny self-executing RISC-V emulator, and a tiny self-hosting RISC-V hypervisor.
wcc - wo4mei3's c compiler written in ocaml
c4 - C in four functions
sncc - Self hosted C compiler at seccamp2018
weicc - A small C compiler
riscv32_beluga - c compiler beluga with riscv32 backend
mcc
hcc - happo31's C Compiler.
jcc - Simple C compiler for x86-64
C-Compiler - Tiny self-hosting C compiler
hcc - huang's c compiler - a tiny C99 compiler.