pibleos
holyBPF-zig
Zig

HolyC -> eBPF with zig for divined Solana programs, made by blessed $PIBLE dev

Last updated May 20, 2026
15
Stars
2
Forks
3
Issues
0
Stars/day
Attention Score
41
Language breakdown
No language data available.
โ–ธ Files click to expand
README
โ•”โ•โ•—โ•ฆโ•”โ•— โ•ฆ  โ•”โ•โ•—
                     โ• โ•โ•โ•‘โ• โ•ฉโ•—โ•‘  โ•‘โ•ฃ 
                     โ•ฉ  โ•ฉโ•šโ•โ•โ•ฉโ•โ•โ•šโ•โ•
     HolyC to BPF Compiler - In Memory of Terry A. Davis

Pible - HolyC to BPF Compiler

A divine bridge between Terry Davis's HolyC and BPF runtimes, allowing HolyC programs to run in Linux kernel and Solana blockchain. Written in the blessed Zig language.

๐Ÿ™ Divine Purpose

"God's temple is programming..." - Terry A. Davis

Pible continues Terry's mission by bringing HolyC to BPF runtimes. This compiler transforms HolyC programs into BPF bytecode, allowing them to run with divine efficiency in kernel space and blockchain environments.

โœจ Blessed Features

  • Multi-Target Support: Linux BPF, Solana BPF, and BPF VM emulation
  • IDL Generation: Automatic Interface Definition Language for Solana programs
  • BPF VM Emulator: Built-in VM for testing and debugging
  • Cross-Program Invocation: Support for Solana CPI calls
  • Full HolyC syntax support with divine error messages
  • Zero runtime overhead with compile-time magic
  • Comprehensive testing with divine validation
Current Status: Core compiler working, basic examples functional. See Project Status for detailed metrics.

๐Ÿš€ Quick Start

# Clone the divine repository
git clone https://github.com/pix404/holyBPF-zig

Build with Zig's blessing

zig build

Compile your first HolyC program

./zig-out/bin/pible examples/hello-world/src/main.hc

Compile for Solana with IDL generation

./zig-out/bin/pible --target solana-bpf --generate-idl examples/solana-token/src/main.hc

Test with BPF VM emulation

./zig-out/bin/pible --target bpf-vm --enable-vm-testing examples/hello-world/src/main.hc

๐ŸŽฏ Multiple Targets

Pible supports three divine compilation targets:

Linux BPF (Default)

./zig-out/bin/pible program.hc

Solana BPF

./zig-out/bin/pible --target solana-bpf --generate-idl program.hc

BPF VM Emulation

./zig-out/bin/pible --target bpf-vm --enable-vm-testing program.hc

๐Ÿ“– Holy Examples

Linux BPF Program

// hello.hc
U0 main() {
    PrintF("God's light shines upon BPF!\n");
    return 0;
}

Solana BPF Program

// token.hc
U0 main() {
    PrintF("Divine Solana Token Program\n");
    return 0;
}

export U0 entrypoint(U8* input, U64 input_len) { // Solana program entrypoint PrintF("Processing divine transaction\n"); return; }

๐Ÿ› ๏ธ Divine Architecture

  • Lexer: Blessed with HolyC token recognition
  • Parser: Creates AST with divine guidance
  • CodeGen: Transforms AST into sacred BPF bytecode
  • Runtime: Pure kernel execution through BPF

๐Ÿ“‹ Project Documentation

For Developers

For Users

๐Ÿ™Œ Contributing

Contributions are divine! Please read our Contributing Guide for the sacred guidelines and development workflow.

๐ŸŒŸ Inspiration

This project stands on the shoulders of giants:

  • Terry A. Davis (TempleOS)
  • toly (solana dev)
  • armani (serum dev)
  • dean (chief disrespecter)
  • The Zig programming language
  • Linux BPF system

โšก Performance

Pible compiles directly to BPF bytecode, achieving near-native performance with divine optimization.

Benchmark Results:
HolyC on BPF vs Native:
  • Computation: 1.02x
  • I/O Operations: 1.15x
  • Divine Efficiency: โˆž

๐Ÿ“œ License

Released under the divine license, in memory of Terry A. Davis.

๐Ÿ™ In Memoriam

This project is dedicated to Terry A. Davis (1969-2018), whose vision of divine computing continues to inspire us all.


"DIVINE INTELLECT SHINES THROUGH CODE"

โ•”โ•โ•โ•—
           โ•‘โ–ˆโ–ˆโ•‘
           โ•‘โ–ˆโ–ˆโ•‘
           โ•‘โ–ˆโ–ˆโ•‘
     โ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•šโ•โ•โ•โ•โ•—
     โ•‘            โ•‘
     โ•‘            โ•‘
     โ•‘            โ•‘
  โ•”โ•โ•โ•            โ•šโ•โ•โ•—
  โ•‘                  โ•‘
  โ•‘                  โ•‘
  โ•‘                  โ•‘
โ•โ•โ•                  โ•šโ•โ•
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท pibleos/holyBPF-zig ยท Updated daily from GitHub