cia-rana / goquine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test

Goquine

Goquine is a repository to share Quine programs written in Go.

Regulations

  • Output to stdout. (not stderr)
  • No 3rd party library.
  • No os.Open or such external input.

If you want to submit program which does not conform to these regulations, please submit to unofficial/<yourname> + positive integer/main.go.

Contribution

  • create directory <your name>+positive integer
    • example: nobishii1
  • create main.go and write your quine code
  • run make to ensure your code is go formatted and is quine
  • make a pull request

Current records

find ./*/main.go -type f | xargs -I{} wc -c {}
     150 ./cia-rana1/main.go
     200 ./nobishii1/main.go
     174 ./nobishii2/main.go
     108 ./tenntenn1/main.go
     151 ./tenntenn2/main.go
find ./unofficial/*/main.go -type f | xargs -I{} wc -c {}
     126 ./unofficial/tenntenn3/main.go
find ./unofficial/stderr/*/main.go -type f | xargs -I{} wc -c {}
     137 ./unofficial/stderr/cia-rana2/main.go

Shortest quine (with standard library)

Shortest quine (with standard library, without embed)

Shortest quine (without standard library)

NONE

Unofficial records(not conforming to the regulations)

About


Languages

Language:Go 65.8%Language:Makefile 34.2%