Skip to content
@pearl-lang

The Pearl Language

it's easy to build eBPF programs with the pearl language
// Good luck 🫡.
require color::{red, green, blue, reset}

declare global_var = "Hello" // this is global variable.
ebpf declare ebpf_global_var = "Hello" // this can be reachable from all ebpf scopes.

#[ebpf(load, xdp)]
ebpf hello_xdp(ctx) {
	// not is alias of "!="
	if &ctx not 0 {
		printk("{0^}, Xdp.", ebpf_global_var)
	}
}

function main() -> int {
	declare var = "world"
	echo("Hello, {0}{1^}{2}!", red, global_var, reset)
	0
}

Let's get build something amazing together 👉 Pearl Social.

Pinned Loading

  1. pearl pearl Public

    pearl language source code

    C 4

Repositories

Showing 7 of 7 repositories
  • pearl Public

    pearl language source code

    pearl-lang/pearl’s past year of commit activity
    C 4 MIT 0 0 0 Updated Mar 5, 2025
  • logo Public

    source code of the pearl language logo

    pearl-lang/logo’s past year of commit activity
    Shell 0 MIT 0 0 0 Updated Feb 22, 2025
  • .github Public

    i like pear

    pearl-lang/.github’s past year of commit activity
    0 MIT 0 0 0 Updated Feb 22, 2025
  • social Public

    pearl language social media addresses

    pearl-lang/social’s past year of commit activity
    0 MIT 0 0 0 Updated Feb 22, 2025
  • pearl-lang.github.io Public

    pearl information static site using jekyll

    pearl-lang/pearl-lang.github.io’s past year of commit activity
    0 MIT 0 0 0 Updated Feb 22, 2025
  • pearlup Public

    pearl toolchain installer

    pearl-lang/pearlup’s past year of commit activity
    Makefile 0 MIT 0 0 0 Updated Jan 11, 2025
  • doc Public

    documentary of the pearl language

    pearl-lang/doc’s past year of commit activity
    Shell 0 MIT 0 0 0 Updated Dec 31, 2024

Top languages

Loading…

Most used topics

Loading…