Friendship Is Magic
Overview
#I am fluent in an absurd number of programming languages. I love programming languages - even terrible ones like Pikachu.
But no language has tempted me as much as Friendship is Magic++.
Setup
#Fimp++ is great fun, but I'm not going to corrupt an operating system's packages with it permanently.
So this is a job for podman
.
Instructions that follow will be for Centos9, because I happen to be playing with OpenShift
right now.
-
Install Podman
sudo yum install epel-release -y sudo yum install podman -y
-
Pull the
Friendship is Magic
Docker imagepodman pull avian2/fimpp
-
Create a program.
#
Dear Princess Celestia: Hello World.
Today I learned about zigzags:
Did you know Spike likes "/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\"?
Did you know Rainbow Dash likes "///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\"?
I did this 9 times:
I quickly said Spike.
I quickly said Rainbow Dash.
I said Spike.
I quickly said Rainbow Dash.
I quickly said Spike.
I said Spike.
That's what I did.
Your faithful student, Twilight Sparkle.
#
-
Poke around inside the container to realize that I have SELinux
helping
me.podman run -v `pwd`:/letters --entrypoint=bash -it avian2/fimpp
-
Run the program with
fimpp
inside thepodman
container$ podman run -v `pwd`:/letters:z avian2/fimpp /letters/zig.fimp /\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ ///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ /\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ ///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ /\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ ///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ /\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ ///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ /\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ ///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ /\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ ///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ /\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ ///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ /\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ ///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ /\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\ ///////\\//\/\\\\/\/\/\/\///\\/\/\/\/\/\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\/\\//\/\\\/\///\/\////\/\/\/\/\/\/\///\\