All pastes #371110 Raw Edit

Something

public text v1 · immutable
#371110 ·published 2007-02-25 02:49 UTC
rendered paste body
\*
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"]
}