Plan 9 from Bell Labs’s /usr/web/sources/contrib/maht/inferno/appl/cmd/yak/yak.m

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.



include "sys.m";
	sys: Sys;

include "bufio.m";
	bufio : Bufio;
	Iobuf : import bufio;

Yak: module { # yak.b
	PATH: con "/usr/maht/yak/yak.dis";

	Lexeme : adt {
		pick {
			Function =>
				name : string;
			Expr =>
				value : string;
		}
		to_string: fn(lex : self ref Lexeme) : string;
	};

	parse : fn(b : ref Iobuf);
};

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.