Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Smallest possible syntactically valid files of different types
HTML Inform 7 Java C# Ada Go Other
branch: master

Make go.go smaller

Semicolons are inserted automatically by the lexer as per https://golang.org/doc/effective_go.html#semicolons.

Closes #46.
latest commit 7fc0a26314
@edwellbrook edwellbrook authored committed
Failed to load latest commit information.
.htaccess Add smallest possible .htaccess
Makefile Add Makefile
README.md Add license
ada.adb Ada
batch.bat Add Windows batch file, C#, Pascal and Bash shell script
bmp.bmp BMP
c.c Make C example conform to the C99 standard
cpp.cpp Get rid of line endings at EOF in the C and C++ files
csharp.cs C# Main method can be private. See http://social.msdn.microsoft.com/F…
css.css Initial commit
eiffel.e Eiffel
elf.o ELF
fortran-77.f FORTRAN 77 and Fortran 90
fortran-90.f90 FORTRAN 77 and Fortran 90
gif-transparent.gif added smalles possible yet valid gif, transparent gif, jpeg and png
gif.gif added smalles possible yet valid gif, transparent gif, jpeg and png
go.go Make go.go smaller
haskell_loop.hs Haskell examples
haskell_term.hs Haskell examples
html-2.0.html Initial commit
html-3.2.html Initial commit
html-4.0-strict.html Initial commit
html-4.01-frameset.html Update html-4.01-frameset according to: http://mathiasbynens.be/notes…
html-4.01-strict.html Initial commit
html-4.01-transitional.html Initial commit
html5.html Initial commit
i.i7x Match the naming conventions of the other files
ico.ico ICO
inform-6.inf Match the naming conventions of the other files
intercal.i INTERCAL
iso-html.html Initial commit
java.java Replaced main with a static initializer block in the Java file
javascript.js Initial commit
jess.clp Add Jess
jpeg.jpg Make the JPEG even smaller
json-p.jsonp Add JSON & JSON-P files
json.json Add JSON & JSON-P files
malbolge.malbolge Create malbolge.malbolge
manifest.appcache Add manifest.appcache
markdown.md Add Markdown/CommonMark polyglot
mp4.mp4 Add single-frame 8×8px H.264 MP4 without sound
objective-c.m Objective-C
ocaml.ml OCaml
opa.opa Opa minimal file (http://opalang.org)
pascal.pas Add Windows batch file, C#, Pascal and Bash shell script
perl.pl Perl
php.php Add PHP
png-transparent.png added smalles possible yet valid gif, transparent gif, jpeg and png
promela.pml Add Promela
python.py python! \o/
rtf.rtf Rich Text Format
ruby.rb Add Ruby.
shell.sh /bin/bash is the default shell
story.ni Inform 7
svg.svg Initial commit
tads-3.t TADS 3
tiff.tif Make TIFF smaller
vertex-shader.vs adding vertex-shader.
webm.webm Add WebM file
webp.webp Add WebP
whitespace.ws Whitespace
xhtml-1.0-frameset.html Add HTML 4.01 Frameset and XHTML 1.0 Frameset files
xhtml-1.0-strict.xhtml Get rid of line endings at EOF in the C and C++ files
xhtml-1.1.xhtml Get rid of line endings at EOF in the C and C++ files
xhtml-basic-1.0.xhtml Get rid of line endings at EOF in the C and C++ files
xhtml-basic-1.1.xhtml Get rid of line endings at EOF in the C and C++ files
xhtml5.xhtml Update XHTML5 file as per http://mths.be/bmu
xml-1.0-valid.xml Add XML files
xml-1.0.xml Add XML files
xml-1.1-valid.xml Add XML files
xml-1.1.xml Add XML files

README.md

Smallest possible […] file

This repository aims to collect the smallest possible syntactically valid files in different programming/scripting/markup languages.

It all started with a blog post on the smallest possible HTML/XHTML files

Pull requests welcome!

Mathias

License

To the extent possible under law, the author has waived all copyright and related or neighboring rights to this work.

Something went wrong with that request. Please try again.