Updated list_langs (now in python) and executed it

This commit is contained in:
thatHexa
2017-02-16 21:32:08 +02:00
parent b4fceac8cf
commit 141cab89de
3 changed files with 522 additions and 526 deletions

964
README.md
View File

@@ -3,7 +3,7 @@ Hello, World!
Hello world in every programming language. Hello world in every programming language.
Inspired by [Helloworldcollection.de](http://helloworldcollection.de/) Inspired by [The Hello World Collection](https://helloworldcollection.github.io/)
As I watch the collection expand, this project has blown up more than I ever thought possible. As I watch the collection expand, this project has blown up more than I ever thought possible.
Thanks to everyone who continues to contribute, new languages are created every day! Thanks to everyone who continues to contribute, new languages are created every day!
@@ -14,514 +14,498 @@ Spin-Off project smartly suggested and implemented by @zenware
Meet [FizzBuzz](https://github.com/zenware/FizzBuzz) the evolution of [hello-world](https://github.com/leachim6/hello-world) Meet [FizzBuzz](https://github.com/zenware/FizzBuzz) the evolution of [hello-world](https://github.com/leachim6/hello-world)
### This repository currently contains "Hello World" programs in the following languages: ### This repository currently contains "Hello World" programs in the following languages:
* Assembler Intel * 0815
* Amos * 1c Enterprise
* Assembler 6502appleii * 2b
* Assembler Nasm Freebsd * 4gl
* Actionscript2 * 4test
* Assembler Z80 Ti83calculator * 4thdimension
* Aiml * ~english
* Assembler Mips
* Acronym
* Amiga E
* Algol68
* Ante
* Aime
* Apl
* Apc
* Assembler Masm Dos
* Assembler Tms9900 Ti99 4a
* Ash
* Aheui
* Assembler Fasm Dos
* Abap * Abap
* Alda
* Acs
* Awk
* Autoit
* Actionscript3
* Acpi
* Assembler Z80 Knightos
* Assembler Lc 3
* Algol60
* Acidic
* Android
* Actionscript
* Assembler Vax Ultrix
* Arena
* Assembler Nasm Linux
* Assembler Nasm Linux64
* Actionscript Flashmx
* Alaguf
* Assembler Masm Win64
* Algol W
* Assembler M68000 Amigaos
* Abc * Abc
* Assembler 6502 * Acidic
* Arduino * Acpi
* Angular * Acronym
* Asp * Acs
* Alore * Actionscript
* Arnoldc * Actionscript2
* Actionscript3
* Actionscript Flashmx
* Ada
* Advpl * Advpl
* Aeolbonn * Aeolbonn
* Angelscript
* Assembler 6502c64
* Assembler Z80 Zxspectrum
* Assembler Atari2600
* Assembler Masm Win32
* Assembler Dcpu16
* Antlang
* Assembler Mmix
* Assembler Tasm Dos
* Algae
* Autohotkey
* Agda
* Ada
* Assembler 8048 Videopac
* Assembler 6809vectrex
* Applescript
* Argh
* Assembler Ibm360
* Aeolbonn * Aeolbonn
* Objectstar * Agda
* Ocaml * Aheui
* Ook * Aime
* Oberon 2 * Aiml
* Objc * Alaguf
* Obix * Alda
* Openlaszlo * Algae
* Oz * Algol W
* Opa * Algol60
* Objective J * Algol68
* Ooc * Alore
* Obj * Amiga E
* Octave * Amos
* Orc * Android
* Omgrofl * Angelscript
* Oraclesql * Angular
* Oberon * Ante
* Jsoniq * Antlang
* Java * Apc
* Julia * Apl
* Jai * Applescript
* Json * Arduino
* Jsx * Arena
* Jsf*ck * Argh
* Jess * Arnoldc
* Javascript * Ash
* Jade * Asp
* Jason * Assembler 6502
* Jasmin * Assembler 6502appleii
* J * Assembler 6502c64
* Ebuild * Assembler 6809vectrex
* Elixir * Assembler 8048 Videopac
* Eiffel * Assembler Atari2600
* Eoool * Assembler Dcpu16
* Elixir * Assembler Fasm Dos
* Hello Html * Assembler Ibm360
* Emmental * Assembler Intel
* Emacslisp * Assembler Lc 3
* Emoticon * Assembler M68000 Amigaos
* Erlang Hw * Assembler Masm Dos
* Emojicode * Assembler Masm Win32
* 4test * Assembler Masm Win64
* 1c Enterprise * Assembler Mips
* 4gl * Assembler Mmix
* 4thdimension * Assembler Nasm Freebsd
* 2b * Assembler Nasm Linux
* 0815 * Assembler Nasm Linux64
* ~english * Assembler Tasm Dos
* Ratfor * Assembler Tms9900 Ti99 4a
* Rexx * Assembler Vax Ultrix
* Rebol * Assembler Z80 Knightos
* Roco * Assembler Z80 Ti83calculator
* Reason * Assembler Z80 Zxspectrum
* R * Autohotkey
* Roy * Autoit
* React * Awk
* Radixal * B
* Racket * Bash
* Rust * Basic
* Ruby * Batch
* Recurse * Batsh
* Richtea * Battlestar
* Readlink * Bcpl
* Restructuredtext * Beatnik
* Verbose * Befunge
* V * Bennugd
* Visualbasicscript * Beta
* Vrml * Bit
* Vms * Bitbitjump
* Visualbasic * Blc
* Vala * Blitz3d
* Vi * Blub
* Verilog * Boo
* Vimscript * Brainf Ck 2d
* Virgil * Brainf Ck
* Verbosefuck * Brainloller
* Vhdl * Broccoli
* Vbnet * Brzrk
* Verve * Burlesque
* Visualfoxpro * Byter
* Sil
* Smil
* Supercollider
* Swift
* Schwift
* Sql
* Snowman
* Spoon
* Sendstuff
* Scilab
* Sal
* S Algol
* Stanza
* Simpl+
* Scala
* Self
* Subleq
* Sparql
* Stuck
* Scheme
* Sed
* Sml
* Soupscript
* Svg
* Shell
* Semicolon
* Scratch
* Sacred
* Streem
* Slashes
* Simula
* Shakespeare
* Smalltalk
* Squirrel
* Shen
* Hello
* Systemtap
* Smali
* Sas
* Standard Ml
* Sather
* Clipper
* Clean
* Crystal
* Continuesequation
* Cobol
* Clisp
* Cor
* Csharp
* Chicken
* Coldfusion
* Csh
* Clojure
* Coconut
* Cool
* C
* Centura
* Common Lisp
* Chapel
* Cil
* Css
* Ceylon
* Cat
* Clips
* Cheddar
* Cypherneo4j
* Coffeescript
* Cgi
* Caml
* Casio Basic
* Clipper
* C++ * C++
* Chef * C
* Caml
* Cardinal * Cardinal
* Casio Basic
* Cat
* Centura
* Ceylon
* Cgi
* Chapel
* Cheddar
* Chef
* Chicken
* Cil
* Clean
* Clipper
* Clipper
* Clips
* Clisp
* Clojure
* Cobol
* Coconut
* Coffeescript
* Coldfusion
* Common Lisp
* Continuesequation
* Cool
* Cor
* Crystal
* Csh
* Csharp
* Css
* Cypherneo4j
* Hello World * Hello World
* Turing * D
* Tk * Dark
* Tao Presentations
* Tcsh
* Tapebagel
* Images
* Turing
* Thp
* Tri
* Telephone
* Trumpscript
* Thue
* Trollscript
* Typescript
* Ttcn3
* Tsql
* Tex
* Tibasic
* Tcl
* Plain Text
* Logs
* Hooks
* Refs
* Fetch Head
* Orig Head
* Description
* Packed Refs
* Index
* Head
* Info
* Commit Editmsg
* Branches
* Config
* Objects
* Io
* Incal
* Icon
* Il
* Islisp
* Ibm1401
* Idl
* Ici
* Irc
* Iscom
* Icedcoffeescript
* Ioke
* Ink
* Indec
* Inform
* Idris
* Intercal
* Qwerty
* Quartzcomposer
* Qu
* Quakec
* Qugord
* Qbasic
* Qore
* Wml
* Wheat
* Whitespace
* Wsh
* Whenever
* Whirl
* Wren
* Wolframlanguage
* Higher Subleq
* Hypertalk
* Haskell
* Hop
* Homespring
* Haxe
* Hodor
* Hex
* Hq9+
* Hollow
* Hy
* Hexish
* Hack
* Html
* Xl
* Xquery
* Xul
* Xrf
* Xlogo
* Xbase++
* X D
* Xbase
* Xml
* Xslt
* Xpl0
* Kiml
* Kotlin
* Ksh
* Kotlin
* Kipple
* Karel
* K
* Perl
* Polynomial
* Plsql
* Picat
* Postgresql
* Hello World
* Parenthetic
* Please Porige Hot
* Perl6
* Postscript Page
* Pharo
* Python3
* Pig
* Potigol
* Purescript
* Purebasic
* Pbwin
* Perseus
* Powershell
* Posxml
* Postscript
* Pony
* Pizza
* Python
* Perl
* Processing
* Pawn
* Piet
* Prolog
* Pb
* Pascal
* Pit
* Php
* Pike
* Pyret
* Pluvo
* Node
* Nu
* Nice
* Nxc
* Neko
* Nemerle
* Novice
* Nimrod
* Newtonscript
* Nodejs
* Nit
* Dtrace
* Dna Sharp
* Dart * Dart
* Dis * Db2
* Dc * Dc
* Dcl * Dcl
* Dylan * Dd Dd
* D * Delphi
* Delphi
* Dis
* Divzeros
* Dna#
* Dna Sharp
* Dogescript * Dogescript
* Dogo * Dogo
* Dd Dd
* Dup
* Dos * Dos
* Dna#
* Dyvil
* Delphi
* Db2
* Divzeros
* Delphi
* Dark
* Drive In Window * Drive In Window
* Dtrace
* Dup
* Dylan
* Dyvil
* Ebuild
* Eiffel
* Elixir
* Elixir
* Emacslisp
* Emmental
* Emojicode
* Emoticon
* Eoool
* Erlang Hw
* Hello Html
* Factor
* Falcon
* False
* Fancy
* Fantom
* Ferite
* Fish
* Fjoelnir
* Fob
* Focal
* Fog
* Foo
* Forobj
* Forth
* Fortob
* Fortran
* Fortran77
* Fourier
* Fsharp
* Gammaplex
* Gasoil
* Gecho
* Gentzen
* Geojson
* Gibberish
* Glass
* Go
* Golfscript
* Golo
* Googleappscript
* Gosu
* Gosu
* Green Marl
* Gri
* Gridscript
* Grin
* Groovy
* Hack
* Haskell
* Haxe
* Hex
* Hexish
* Higher Subleq
* Hodor
* Hollow
* Homespring
* Hop
* Hq9+
* Html
* Hy
* Hypertalk
* Ibm1401
* Icedcoffeescript
* Ici
* Icon
* Idl
* Idris
* Il
* Incal
* Indec
* Inform
* Ink
* Intercal
* Io
* Ioke
* Irc
* Iscom
* Islisp
* J
* Jade
* Jai
* Jasmin
* Jason
* Java
* Javascript
* Jess
* Jsf*ck
* Json
* Jsoniq
* Jsx
* Julia
* K
* Karel
* Kiml
* Kipple
* Kotlin
* Kotlin
* Ksh
* Labyrinth
* Latex
* Lazyk
* Leszek
* Limbo
* Linux X86
* Lisaac
* Lisp
* Livescript
* Llvm
* Lnusp
* Logical
* Logo
* Lola
* Lolcode
* Lolpython
* Lsl
* Lua
* M4
* Macsyma
* Magic
* Malbolge
* Markdown
* Mathematica Online
* Matlab
* Maxscript
* Mel
* Meq
* Mercury
* Mirc
* Mmmm()
* Modula 2
* Modula 3
* Mongo
* Moonscript
* Morsecode
* Mouse
* Move
* Mozart
* Muf
* Mumps
* Mushcode
* Mysql
* Neko
* Nemerle
* Newtonscript
* Nice
* Nimrod
* Nit
* Node
* Nodejs
* Novice
* Nu
* Nxc
* Oberon 2
* Oberon
* Obix
* Obj
* Objc
* Objective J
* Objectstar
* Ocaml
* Octave
* Omgrofl
* Ooc
* Ook
* Opa
* Openlaszlo
* Oraclesql
* Orc
* Oz
* Hello World
* Parenthetic
* Pascal
* Pawn
* Pb
* Pbwin
* Perl
* Perl
* Perl6
* Perseus
* Pharo
* Php
* Picat
* Piet
* Pig
* Pike
* Pit
* Pizza
* Please Porige Hot
* Plsql
* Pluvo
* Polynomial
* Pony
* Postgresql
* Postscript
* Postscript Page
* Posxml
* Potigol
* Powershell
* Processing
* Prolog
* Purebasic
* Purescript
* Pyret
* Python
* Python3
* Qbasic
* Qore
* Qu
* Quakec
* Quartzcomposer
* Qugord
* Qwerty
* R
* Racket
* Radixal
* Ratfor
* React
* Reason
* Rebol
* Recurse
* Restructuredtext
* Rexx
* Richtea
* Roco
* Roy
* Ruby
* Rust
* Hello
* S Algol
* Sacred
* Sal
* Sas
* Sather
* Scala
* Scheme
* Schwift
* Scilab
* Scratch
* Sed
* Self
* Semicolon
* Sendstuff
* Shakespeare
* Shell
* Shen
* Sil
* Simpl+
* Simula
* Slashes
* Smali
* Smalltalk
* Smil
* Sml
* Snowman
* Soupscript
* Sparql
* Spoon
* Sql
* Squirrel
* Standard Ml
* Stanza
* Streem
* Stuck
* Subleq
* Supercollider
* Svg
* Swift
* Systemtap
* Plain Text
* Tao Presentations
* Tapebagel
* Tcl
* Tcsh
* Telephone
* Tex
* Thp
* Thue
* Tibasic
* Tk
* Tri
* Trollscript
* Trumpscript
* Tsql
* Ttcn3
* Turing
* Turing
* Typescript
* Ubercode * Ubercode
* Ubiquity * Ubiquity
* Unicomal
* Umajin * Umajin
* Unicomal
* Unlambda * Unlambda
* Lolpython * V
* Llvm * Vala
* Lolcode * Vbnet
* Lola * Verbose
* Linux X86 * Verbosefuck
* Logical * Verilog
* Labyrinth * Verve
* Lazyk * Vhdl
* Lisaac * Vi
* Lsl * Vimscript
* Livescript * Virgil
* Leszek * Visualbasic
* Latex * Visualbasicscript
* Lisp * Visualfoxpro
* Lua * Vms
* Logo * Vrml
* Limbo * Wheat
* Lnusp * Whenever
* Blc * Whirl
* Beta * Whitespace
* Beatnik * Wml
* Burlesque * Wolframlanguage
* Boo * Wren
* Bitbitjump * Wsh
* Brainf Ck * X D
* B * Xbase++
* Brainloller * Xbase
* Bennugd * Xl
* Bash * Xlogo
* Batsh * Xml
* Basic * Xpl0
* Bcpl * Xquery
* Bit * Xrf
* Battlestar * Xslt
* Brzrk * Xul
* Befunge * Y
* Blitz3d * Yaml
* Brainf Ck 2d * Yolang
* Blub
* Byter
* Batch
* Broccoli
* Zimbu
* Zombie
* Zsh
* Zim
* Zonnon
* Zbd * Zbd
* Zepto * Zepto
* Zetaplex * Zetaplex
* Yolang * Zim
* Y * Zimbu
* Yaml * Zombie
* M4 * Zonnon
* Mercury * Zsh
* Matlab
* Moonscript
* Modula 3
* Modula 2
* Mathematica Online
* Move
* Morsecode
* Maxscript
* Meq
* Mumps
* Mouse
* Macsyma
* Mel
* Mozart
* Mongo
* Malbolge
* Mysql
* Mushcode
* Muf
* Mirc
* Mmmm()
* Magic
* Markdown
* Ferite
* Fancy
* Fortran
* Fourier
* False
* Fsharp
* Fish
* Focal
* Forobj
* Forth
* Fob
* Falcon
* Fortran77
* Fjoelnir
* Factor
* Fortob
* Fog
* Foo
* Fantom
* Gosu
* Green Marl
* Golfscript
* Gosu
* Glass
* Googleappscript
* Grin
* Gri
* Gammaplex
* Geojson
* Golo
* Gibberish
* Go
* Groovy
* Gentzen
* Gasoil
* Gridscript
* Gecho

25
list_langs.py Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env python
import os
readme = open('README.md', 'w')
# Copy template to README
with open('README_nolist.md', 'r') as temp:
for line in temp:
readme.write(line)
# Write title
readme.write('\n### This repository currently contains "Hello World" programs in the following languages:\n')
# List the available languages
for dir in os.listdir('.'):
if not (dir == '.' or dir == '..' or dir[0] == '.' or os.path.isfile(dir)):
for file in os.listdir(dir):
if os.path.isfile(f"{dir}/{file}"):
lang = ''
for str in file[0:(len(file) if file.find('.') == -1 else file.find('.'))].replace('-', ' ').replace('_', ' ').split():
lang += str.capitalize() + ' '
readme.write('* ' + lang[:-1] + '\n') # Cut trailing space
readme.close()

View File

@@ -1,13 +0,0 @@
Dir.foreach "." do |odir|
next if odir == "." or odir == ".." or not File.directory?(odir)
Dir.foreach odir do |dir|
next if dir == "." or dir == ".."
currdirname = ""
dir.split(".")[0].gsub("-", " ").gsub("_", " ").split(" ").each do |str|
currdirname << str.capitalize + " "
end
currdirname.chomp(currdirname[-1])
puts "* #{currdirname}"
end
end