This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
func main() { | |
fmt.Println("Hello World") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
main( ) | |
{ | |
printf("hello, world\n"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Utility methods. Makes the code more readable. | |
Array.prototype.contains = function (element) { | |
return (this.indexOf(element) !== -1); | |
} | |
String.prototype.hasPrefix = function (prefix) { | |
return (this.lastIndexOf(prefix, 0) === 0); | |
} | |
var parts = [ ], flags = [ ]; | |