Herdr UI
Herdr의 TUI가 뛰어나며, 창을 통해 추가되는 기능
같은 머신에서 C·Go·Zig·Rust·C#와 비교, 빌드 4.1ms, 33KB 실행파일, 1.2MB 단일 파일 툴체인
Measured against C, Go, Zig, Rust and C# on the same machine: 4.1 ms to build this program's own benchmark (--exe, no linker), a 33 KB executable, and a 1.2 MB single-file toolchain with no separate..
개발 도구Monkey C · M4GitHub @minicompiler온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
A compiler small enough to read, written in itself.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A compiler small enough to read, written in itself.
mc compiles a schoolbook-C language — seven types, one opaque pointer, loop and if — for
macOS, Linux and Windows, on arm64 and x86-64. A 2,848-line C23 seed is compiled by clang
exactly once; after that mc compiles its own source, writes and signs (or directly writes) the
executable itself, and reaches a fixed point where one generation is byte-identical to the next.
Everything the core leaves out — while, for, +=, a second backend, a whole object model —
you teach it from ordinary mc source.README 전문 보기 ↗A compiler small enough to read, written in itself.
mc compiles a schoolbook-C language — seven types, one opaque pointer, loop and if — for
macOS, Linux and Windows, on arm64 and x86-64. A 2,848-line C23 seed is compiled by clang
exactly once; after that mc compiles its own source, writes and signs (or directly writes) the
executable itself, and reaches a fixed point where one generation is byte-identical to the next.
Everything the core leaves out — while, for, +=, a second backend, a whole object model —
you teach it from ordinary mc source.
docs/plan.md: the language, the teaching surface, the
architecture, the budget and the milestonesdocs/build.md:
mc build, mc.toml, #include <name>, #embed, Linux and Windows targetsdocs/comparison.md: compile time, binary size and
run time against C, Go, Zig, Rust and C#docs/ci.mdexamples/docs/reference/hooks.md § 8); see docs/plan.md §
"What 1.0.0 promises, and what it does not"make stage0 # clang compiles the C23 seed, once and never again
make mc1 # the seed compiles src/mc.mc into the real compiler
make check # tests, the fixed point, the taught-surface demos, the examples
build/mc1 --exe src/mc.mc -o mc writes the signed, ld-free compiler in one step. Released
binaries are ad-hoc signed and not notarized, so a download needs
xattr -d com.apple.quarantine mc once — see docs/ci.md.