Bbetlangv0.1.0

Playground

Edit bet and run it right here. The interpreter runs in your browser, no install. Pick an example, hit ▶ run, share a link.

// scratch — press run, no cap.
// pull imports a stdlib module; spill.it prints; finna declares a function.
pull "spill"

finna classify(n: int) -> str {
    fr n < 0 {
        bet "negative"
    } naw fr n == 0 {
        bet "zero"
    } naw {
        bet "positive"
    }
}

finna main() {
    spill.it("hi bestie, this is bet")
    spill.it(classify(7))
}