Skip to content

AviTheBrown/zigwaifu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

zigwaifu 🎌

An anime-themed Zig source code transformer that turns boring code into anime tropes!

What it does

Transforms Zig keywords into anime terminology:

  • main β†’ protagonist
  • const β†’ childhood_promise
  • var β†’ character_development
  • error β†’ tragic_backstory
  • allocator β†’ power_of_friendship
  • defer β†’ flashback_sequence
  • try β†’ believe_in_yourself
  • And more!

Usage

zigwaifu input.zig > output.zig

Build

zig build

Example

Input:

pub fn main() !void {
    const x = 42;
}

Output:

pub fn protagonist() !void {
    childhood_promise x = 42;
}

The transformed code still compiles! ✨

About

Anime-themed Zig source code transformer that replaces keywords with anime tropes 🎌

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages