import Foundation;

println("Hello, World!")

enum CompassPoint {
    case North;
    case South;
    case East;
    case West;
};

protocol SomeProtocol {
    var fullName: String { get };
    func demo();
    func dummy(f: Int);
    func foo(bar: String, baz: Double);
};

extension SomeType {
    // new functionality to add to SomeType goes here
};

struct DemoStruct {
    var x: String;

    func test() {
        // while loop test
        while (true)
        {
        };

        // for loop
        for ; ; {

        };

        // do while
        do {

        } while (true);
    };
};

// Class examples

class lowerCamelCase {
    var x: String = "hello";
    let b = 2;

    func demo()
    {
        for var x = 0; ; {
            print(x);
        };

        if temperatureInFahrenheit <= 32 {
            println("It's very cold. Consider wearing a scarf.");
        } else if temperatureInFahrenheit >= 86 {
            println("It's really warm. Don't forget to wear sunscreen.");
        } else {
            println("It's not that cold. Wear a t-shirt.");
        }
    };
};


import Foundation;

println("Hello, World!")

enum CompassPoint {
    case North;
    case South;
    case East;
    case West;
};

protocol SomeProtocol {
    var fullName: String { get };
    func demo();
    func dummy(f: Int);
    func foo(bar: String, baz: Double);
};



// Class examples

class lowerCamelCase {
    var x: String = "hello";
    let b = 2;

    func demo()
    {
        for var x = 0; ; {
            print(x);
        };

        if temperatureInFahrenheit <= 32 {
            println("It's very cold. Consider wearing a scarf.");
        } else if temperatureInFahrenheit >= 86 {
            println("It's really warm. Don't forget to wear sunscreen.");
        } else {
            println("It's not that cold. Wear a t-shirt.");
        }
    };
};


--- 
+++ 
@@ -16,7 +16,30 @@
     func foo(bar: String, baz: Double);
 };
 
+extension SomeType {
+    // new functionality to add to SomeType goes here
+};
 
+struct DemoStruct {
+    var x: String;
+
+    func test() {
+        // while loop test
+        while (true)
+        {
+        };
+
+        // for loop
+        for ; ; {
+
+        };
+
+        // do while
+        do {
+
+        } while (true);
+    };
+};
 
 // Class examples
 
Add additional functional tests for ';' terminated

* structs
* for loops
* do while loop
* extension
* while loop
