Skip to content

A very πŸ’― serious 😜 script 🐚 to inject πŸ’‰ emojis πŸ˜€ into C programs

License

Notifications You must be signed in to change notification settings

Costinteo/cmoji-inject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

cmoji-inject πŸ’‰

Inject πŸ’‰ emoji πŸ˜€ into C programs. 0️⃣ 1️⃣

How it works πŸ”©πŸ”§

It's actually really simple πŸ€“. There is a bash 🐚 script included in the "πŸ’‰" directory, that has to be called on a header full of emoji defines (such as "πŸ˜€.h" in the root directory of this project) and any .c or .h files. It parses the emoji header and replaces any word that is defined to the emoji counterpart, in the .c and .h files passed to it. This πŸ’― completely ✨emojifies✨ the files. It keeps the files compilable, as best (not really) as it can. It also includes the emoji define header in the files. Here's how to call it:

$ ./πŸ’‰.sh πŸ˜€.h main.c list.h list.c

The resulting filenames are the same as the original files, except prepended with an emoji "πŸ˜€". Then go ahead and compile them using gcc. Note: At this point, the script is too dumb to replace includes, so if using multiple headers, you might wanna rename the includes to use the ✨emojified✨ versions of the headers.

$ gcc -o πŸ›· main.c list.c
$ ./πŸ›·
YOUR PROGRAM OUTPUT HERE (HOPEFULLY EMOJIS)

Examples πŸ‘€

Check out the "πŸ“" directory for examples! In here, you're going to find directories to some C programs that contain both the original source and the ✨emojified✨ source, as well as precompiled ELF binaries, because why not! 🐬

Contributing 🀝

Send in a pull ↩ request to make the script smarter! It's really dumb 🦧 right now and I'm not going to do anything about it because I REALLY want to stop β›” talking like this. I HATE πŸ˜‘πŸ’’ talking πŸ—£ like this.

See you, Space Cowboy... 🚬

About

A very πŸ’― serious 😜 script 🐚 to inject πŸ’‰ emojis πŸ˜€ into C programs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published