hw-lang
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

HW

The ultimate language for printing Hello World!

Installation

$ npm i -g hw-lang

Usage

$ hw file.hw

Example

example.hw

cH
$ 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.

Readme

Keywords

none

Package Sidebar

Install

npm i hw-lang

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

64.6 kB

Total Files

13

Last publish

Collaborators

  • mcluck