Skip to content

First Program

Sumit Patel edited this page Aug 17, 2018 · 2 revisions

Hello, World!


Interactive mode

Invoke chirp without any arguments
chirp
Image
Type the following text at the chirp prompt and press Enter.
Image
It will produce the following result.
Image


Script mode

  • Create a file name hw.rocks
  • Type the following source code to the file
    Say "Hello, World!
  • Save it
  • Run the command
    Image
    This generates the following result
    Image

Previous Page|Next Page

Clone this wiki locally