This repository collects small "Hello, World!" examples across multiple languages and data formats. The current goal is repository quality: accurate documentation, runnable examples, and lightweight verification that contributors can repeat locally.
Each language directory should provide:
- a
README.mdwith real run instructions - at least one runnable or inspectable example
- optional advanced examples or tests
- a task list aligned with the files that actually exist
Naming is intentionally not fully uniform because languages and ecosystems differ. This repository currently uses all of the following patterns:
hello_world.*hello-world.*helloworld.*- language-specific exceptions such as
Main.java
If you add a new language, document the chosen naming convention in that language directory instead of forcing a repo-wide rename.
Clone the repository:
git clone https://github.com/silviotorre/helloworld.git
cd helloworldExamples:
- Python:
python python/helloworld.py - PowerShell:
powershell -File powershell/helloworld.ps1 - JavaScript: open
javascript/hello-world.htmlin a browser - JSON: inspect
json/HelloWorld.jsonwith any JSON parser
The repository currently contains examples for:
cmdgojavajavascriptjsonkustoperlpowershellpythonsqlvb.netyaml
Implemented and documented today:
- Cmd
- Go
- Java
- JavaScript
- JSON
- Kusto
- Perl
- PowerShell
- Python
- SQL
- VB.NET
- YAML
Planned future additions:
- Bash
- C
- C#
- Cobol
- F#
- Fortran
- Groovy
- Kotlin
- Matlab
- Node.js
- Q#
- R
- Ruby
- Rust
- Scala
- T-SQL
- U-SQL
- Visual Basic
- XML
Run the root smoke check from the repository root:
powershell -ExecutionPolicy Bypass -File scripts/smoke-check.ps1The smoke check validates:
- required files in the implemented directories
- internal README links to local files
- JavaScript HTML script references
- JSON parsing
- YAML parsing when a YAML parser is available in the environment
- Python execution and
unittestdiscovery - PowerShell sample execution
Checks degrade explicitly when a required tool is not installed.
For small contributions:
- Add a new language directory or improve an existing one.
- Include a
README.mdwith real run instructions. - Update this root README if the set of implemented languages changes.
- Run the smoke check before opening a PR.
For a starting point, use templates/LANGUAGE_README_TEMPLATE.md.
Core repository completion:
- Establish a minimum contract for implemented directories
- Correct broken links and invalid run instructions in main documentation
- Add a root smoke check
- Make Python tests discoverable through standard
unittestdiscovery - Add GitHub Actions based on the smoke check
Nice to have:
- Add badges to the root README
- Add a project logo
- Add translations
- Add a wiki
Future language additions:
- Expand the list of languages beyond the currently implemented set
- Silvio Torre (silviotorre)
This project is licensed under the MIT License. See LICENSE.
