typeshiv0.1.0

lock in fn.

A joke language that really works. Slang over Rust that compiles to real Solana programs (Anchor 1.2), and rug!() is a compile error.

take the tour 25 lessons in your browser. no install.

try it: the real compiler

what typeshi new gives you. counts gms, farms aura.
full screen
lib.shiyou write this
lib.rs…
loading the compiler…

loading · the real compiler, compiled to WebAssembly. it runs in your browser.

every joke is a real compile error. it points at your line, like rustc does. everything else is plain Anchor you can read.

  • rug!() doesn't compile.

    7 moves are banned. each one is a compile error that points at your line.

    $ typeshi check
    error: not on our watch, anon
      --> lib.shi:13:9
       |
    13 |         rug!(pool);
       |         ^^^^ `rug!` is a banned movengmi
    every banned move
  • the rest is plain Anchor.

    each word becomes the Rust you would have written, in a lib.rs next to your .shi.

    gm_counter: lib.shi, then lib.rs
    frame Counter {pub struct Counter {anon,pub anon: Signer<'info>,probably_nothing!("gm. we're live.");msg!("gm. we're live.");were_so_back!()Ok(())wagmi
    all 29 keywords
  • fail twice and it gets personal.

    typeshi build counts the failures in a row. this is what it says each time.

    $ typeshi build, failing
    1. 1stskill issue.
    2. 2ndhave you tried turning your strategy off.
    3. 3rdeven the bots are laughing.
    4. 4thhave you considered a career in sales.
    5. 5th+ser, this is a Wendy's.
    fail on purpose

dyor. the rest of typeshi, one page each.

still here? lock in.

take the tour
cargo install --git https://github.com/tickerzhq/typeshi

then typeshi new gm_counter && cd gm_counter && typeshi check