\*
Test code for new language, based on C++, PHP, and mIRC script
By Chase Slabaugh
*\
inc lib::http \\ Include HTTP access library
inc lib::io \\ Include basic IO library
inc lib::var \\ Include variable (string, int, array, etc.) library
main { \\ Start main function
out:"Hello world!\nEnter an address: ";
string:website == in[];
while (http:get[website]) {
string read == http:get[website];
if (regex[*foobar*,read]) {
array:foo =+ read;
}
}
out:"\nLines containing foobar in page".website.":\n";
out:foo["\n"]
}