1.0.0 • Published 5 years ago

hw-lang v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

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.