Fate compiler #553

Merged
zxq9 merged 87 commits from fate-compiler into master 2019-05-07 22:48:47 +09:00
Showing only changes of commit 690d55eefe - Show all commits

View File

@ -846,6 +846,8 @@ pp_fexpr({op, Op, A}) ->
pp_fexpr({'let', X, A, B}) ->
pp_par([pp_beside([pp_text("let "), pp_text(X), pp_text(" = "), pp_fexpr(A), pp_text(" in")]),
pp_fexpr(B)]);
pp_fexpr({funcall, Fun, As}) ->
pp_beside(pp_fexpr(Fun), pp_fexpr({tuple, As}));
pp_fexpr({switch, Split}) -> pp_split(Split).
pp_ftype(T) when is_atom(T) -> pp_text(T);