shecc
scamp-cpu
shecc | scamp-cpu | |
---|---|---|
6 | 12 | |
1,045 | 283 | |
1.6% | - | |
8.7 | 8.4 | |
4 days ago | 5 months ago | |
C | Slash | |
BSD 2-clause "Simplified" License | 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.
shecc
-
A self-hosting and educational C optimizing compiler
Yes, consider the case of shecc. It requires just a handful of C code lines to interpret directives set in the C preprocessor. Unlike relying on existing tools like cpp, as, or ld, shecc stands alone as a minimalist cross-compiler. This design could be particularly beneficial for students delving into the study of compiler construction. See https://github.com/sysprog21/shecc/blob/master/src/lexer.c#L...
-
Compiler Class
I'm looking at this one for a CPU design I've been working on. :)
https://github.com/jserv/shecc
- Shecc: Self-hosting and educational C compiler
- shecc: self-hosting and educational C compiler
- shecc: Self-hosting and educational C compiler
scamp-cpu
-
500 Lines or Less – Writing a useful program in fewer than 500 line code – AOSA
Re the text editor, when I was writing an editor for my homemade CPU I used the one from this tutorial: https://viewsourcecode.org/snaptoken/kilo/index.html - it is 1000 lines of C.
I have diverged a bit from the tutorial because I didn't want syntax highlighting and I really wanted vi-style keybindings. Mine is at https://github.com/jes/scamp-cpu/blob/master/sys/kilo.sl (in my made-up programming language).
-
-🎄- 2021 Day 8 Solutions -🎄-
I made the computer myself: https://github.com/jes/scamp-cpu/
-
🎄 AoC 2021 🎄 [Adventure Time!]
PROJECT LINK: Solutions GitHub - CPU GitHub - YouTube
- Scamp CPU: A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system
- A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system
-
Designing a CPU for Advent of Code
In case you're interested, there's more about this project in the github repo: https://github.com/jes/scamp-cpu/ and on my blog: https://incoherency.co.uk/blog/tags/cpu.html
-
Scamp – a homebrew 16-bit CPU
This is really cool and unique. I poked around a bit, and the kernel is vaguely POSIX like, but written in a homegrown language with a compiler written in Perl[1].
[1] https://github.com/jes/scamp-cpu/blob/f260f52d950be90c2279f5...
-
My homebrew CPU is alive!
Actually, I just found this! That's pretty much what I was looking for. That's what I would have linked if it had been me posting. :) This looks like a really interesting computer project!
What are some alternatives?
dji-firmware-tools - Tools for handling firmwares of DJI products, with focus on quadcopters.
aoc - Advent of Code solutions
spu32 - Small Processing Unit 32: A compact RV32I CPU written in Verilog
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.
chipyard - An Agile RISC-V SoC Design Framework with in-order cores, out-of-order cores, accelerators, and more
coollang-2020-fs - Compiler of a small Scala subset
advent-of-code - My Advent of Code solutions through the years - mostly JS
bsod-kernel-fuzzing - BSOD: Binary-only Scalable fuzzing Of device Drivers
aoc - 🎄 advent of code 414⭐
amacc - Small C Compiler generating ELF executable Arm architecture, supporting JIT execution
advent-of-code - Advent of Code in python3