https://github.com/mcluck90/hw-lang
The ultimate language for printing Hello World!
https://github.com/mcluck90/hw-lang
funny hello-world meme programming-language
Last synced: 11 months ago
JSON representation
The ultimate language for printing Hello World!
- Host: GitHub
- URL: https://github.com/mcluck90/hw-lang
- Owner: MCluck90
- License: mit
- Created: 2021-01-05T18:03:17.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-05T23:10:08.000Z (about 5 years ago)
- Last Synced: 2025-05-13T20:36:05.052Z (11 months ago)
- Topics: funny, hello-world, meme, programming-language
- Language: TypeScript
- Homepage:
- Size: 122 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HW
The ultimate language for printing Hello World!
## Installation
```
$ npm i -g hw-lang
```
## Usage
```shell
$ hw file.hw
```
## Example
_example.hw_
```
cH
```
```shell
$ hw example.hw # Hello, world
```
## Language
HW recognizes 5 commands:
1. `c`: place a comma between the words "hello" and "world"
2. `e`: place an exclamation point(!) at the end
3. `n`: print a newline
4. `H`: print "Hello" instead of "hello"
5. `W`: print "World" instead of "world"
Commands can be placed in any order. All other characters are ignored and can be used as comments.