MCPcopy Index your code
hub / github.com/ekimb/pas

github.com/ekimb/pas @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
4 symbols 8 edges 2 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

pas

pas (Turkish for Rust) allows to write Rust programs in Turkish, using Turkish keywords and function names, adapted from the original French implementation Rouille.

Here's an example of Pas usage:

trait and impl (aka nitelik and belirt)

pas::pas! {
    dış kutu pas;
    kullan std::collections::Harita gibi Harita;
    nitelik AnahtarDeğer {
        fonksiyon yaz(&kendi, anahtar: Dizgi, değer: Dizgi);
        fonksiyon oku(&kendi, anahtar: Dizgi) -> Sonuç<Belki<&Dizgi>, Dizgi>;
    }
    statik değişken HARİTA: Belki<Harita<Dizgi, Dizgi>> = Yok;
    yapı Somut;
    belirt AnahtarDeğer için Somut {
        fonksiyon yaz(&kendi, anahtar: Dizgi, değer: Dizgi) {
            olsun h = tehlikeli {
                HARİTA.al_veya_bunu_ekle(Varsay::varsay)
            };
            h.ekle(anahtar, değer);
        }
        fonksiyon oku(&kendi, anahtar: Dizgi) -> Sonuç<Belki<&Dizgi>, Dizgi>; {
            ise olsun Var(h) = tehlikeli {HARİTA.referans_olarak()} {
                Tamam(h.oku(&anahtar))
            } değilse {
                Hata("Harita yok".şekline())
            }
        }
    }
}

Other examples

See the examples to get a rough sense of the whole syntax.

Other languages

License

WTFPL.

Core symbols most depended-on inside this repo

replace_stream
called by 2
pas_proc_macro/src/lib.rs
replace_ident
called by 1
pas_proc_macro/src/lib.rs
replace_tree
called by 1
pas_proc_macro/src/lib.rs
pas
called by 0
pas_proc_macro/src/lib.rs

Shape

Function 4

Languages

Rust100%

Modules by API surface

pas_proc_macro/src/lib.rs4 symbols

For agents

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

⬇ download graph artifact