MCPcopy Index your code
hub / github.com/brutal-org/brutal

github.com/brutal-org/brutal @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
2,637 symbols 7,005 edges 905 files 88 documented · 3%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Banner

Striking modernist shapes and bold use of modern C are the hallmarks of BRUTAL.

Inspired by brutalist design BRUTAL combines the ideals of UNIX from the 1970s

with modern technology and engineering.

BRUTAL

codecov Build and Test (Ubuntu) Build and Test (Darwin)

  • BRUTAL is an operating system built from scratch in modern C.
  • BRUTAL is built on top of a capability based micro-kernel.
  • BRUTAL targets x86_64, i686, RISC-V and ARM.
  • BRUTAL exposes its features to developers through clean APIs.
  • BRUTAL features a rich and modern C library complete with fibers, custom allocators, generic data structures, and more...

Screenshots

BRUTAL running in QEMU 6.2

Build Instructions

BRUTAL is pretty easy to to build from source using GNUMake, NASM and LLVM.

See building.md for more details.

Roadmap

Right now the main goal of brutal is to run doom.

See roadmap.md for more information on how we plan to get there and where you can contribute.

Credits

This project takes inspirations and/or reuse code from the following projects.

See credits.md

License

MIT License

The brutal operating system and its core components are licensed under the MIT License.

The full text of the license can be accessed via this link and is also included in the license file of this software package.

Core symbols most depended-on inside this repo

alloc_global
called by 105
sources/libs/brutal-alloc/global.c
json_put
called by 93
sources/libs/json/objects.c
bvm_local_pop
called by 93
sources/libs/bvm/ctx/local.c
m_vec2f
called by 76
sources/libs/brutal-math/vec2.h
bvm_local_push
called by 67
sources/libs/bvm/ctx/local.c
scan_skip_word
called by 60
sources/libs/brutal-parse/scan.c
task_self
called by 59
sources/kernel/task.c
cexpr_member
called by 49
sources/libs/cc/builder/expr.c

Shape

Function 2,433
Class 162
Enum 42

Languages

C87%
C++13%

Modules by API surface

sources/libs/cc/builder/expr.c53 symbols
sources/libs/ubsan/ubsan.c47 symbols
sources/libs/brutal-gfx/gfx.c47 symbols
sources/libs/brutal-math/easing.c31 symbols
sources/kernel/x86_64/asm.h29 symbols
sources/kernel/sched.c28 symbols
sources/libs/brutal-ui/view.c27 symbols
sources/libs/brutal-parse/scan.c27 symbols
sources/libs/ipc/component.c26 symbols
sources/libs/brutal-gfx/path.c26 symbols
sources/libs/brutal-ui/win.c25 symbols
sources/kernel/syscalls.c25 symbols

For agents

$ claude mcp add brutal \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact