a turing complete language based on docker containers
H e l l o and welcome, you've made it: you're in Dockerlang, a dockerland where everything is docker.
Let us begin! by creating a dockerlang file! The file extension is .doc
.
To print text in Dockerlang, all you have to do is use the #
symbol, which means printing, followed with the location to print to.
If you want to print to standard out, use !
, or to print to a string, put a string after the #
.
(#! "hellow wourld')
Variables in Dockerlang are initialized with the ≡
symbol and assigned with =
.
(≡ x 0)
(= x 'why")
Dockerlang doesn't worry about types and neither should you. Be free.
‽
Equal to:(2 ‽ 3) slashslash False
¿
Not equal to:(2 ¿ 3) slashslash True
☛
Greater than:(0 ☛ 1) slashslash False
☚
Leess than(0 ☚ 1) slashslash True
Use the ❦
operator to begin a function. Don't forget to type it, then delete it, then type it again, for best (and most auspicious) results.
Dockerlang is written in Go.
To get started writing Dockerlang, the first thing you neeed to do is put on some Gamelan music. You will need to specify what you are listening to in your commits.
- Set up your git environment to use the commit template
git config commit.template .gitmessage
List docker containers current running:
docker ps
List docker networks:
docker network ls
Remove all exited docker containers:
docker rm $(docker ps -a --filter "status=exited" --format {{.ID}})