Skip to content

A Swift macro plugin that expands Strings into ASCII Cows, right at compile time.

License

Notifications You must be signed in to change notification settings

helje5/MacroCows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacroCows

400+ ASCII 🐮s

What is it? A Swift 5.9 compiler plugin that provides the #🐮 Swift macro. It replaces the cow mentioned in the macro w/ one of the ASCII cows provided by the Swift cows package.

Usage:

let compilerCow = #🐮("compiler")
print(compilerCow)

If no cow matching the string is available, Xcode will produce an error: Xcode using MacroCows

Requires: Xcode 15beta+.

Related

License

MIT © Sindre Sorhus Noze.io port: MIT © ZeeZide GmbH

Who

Macro is brought to you by ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.

About

A Swift macro plugin that expands Strings into ASCII Cows, right at compile time.

Resources

License

Stars

Watchers

Forks

Languages