Hello, world! is often the first program that we write in a new programming language. It helps us to understand the most basic application syntax and is a good way to test our tool chain to make sure that we can compile and/or run a program.
HelloWorld.swift
#!/usr/bin/env swift;
/******************************************************************************
* Simple first program.
*
* Copyright © 2020 Richard Lesh. All rights reserved.
*****************************************************************************/
import Foundation
// Begin Main
print("Hello, world!")
exit(EXIT_SUCCESS)