code: purgatorio

ref: ccd7f9f1597e56d121e1d05cf6af86f688ef2c48
dir: /appl/ebook/cssparser.m/

View raw version
CSSparser: module {
	PATH: con "/dis/ebook/cssparser.dis";
	Decl: adt {
		name:		string;
		important:	int;
		val:			string;
	};
	init:		fn();
	parse:	fn(s: string): list of (string, list of Decl);
	parsedecl:	fn(s: string): list of Decl;
};