fznslurp.pl 259 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 % == No, Emacs this is -*-Prolog-*- code, not what you thought... ============= load_ast(AST) :- load_ast(_>[], [], AST). load_ast(end_of_file, AST, AST). load_ast(IN > INT, IN, OUT) :- read(OP), !, write(OP), nl, load_ast(OP, INT, OUT).