HOC(1) NAME hoc - interactive floating point language SYNOPSIS hoc [ file ... ] DESCRIPTION _H_o_c interprets a simple language for floating point arith- metic, at about the level of BASIC, with C-like syntax and functions and procedures with arguments and recursion. The named _f_i_l_es are read and interpreted in order. If no _f_i_l_e is given or if _f_i_l_e is `-' _h_o_c interprets the standard input. _H_o_c input consists of _e_x_p_r_e_s_s_i_o_n_s and _s_t_a_t_e_m_e_n_t_s. Expres- sions are evaluated and their results printed. Statements, typically assignments and function or procedure definitions, produce no output unless they explicitly call _p_r_i_n_t. SEE ALSO _H_o_c - _A_n _I_n_t_e_r_a_c_t_i_v_e _L_a_n_g_u_a_g_e _f_o_r _F_l_o_a_t_i_n_g _P_o_i_n_t _A_r_i_t_h_m_e_t_i_c by Brian Kernighan and Rob Pike. _b_a_s(1), _b_c(1) and _d_c(1). BUGS Error recovery is imperfect within function and procedure definitions. The treatment of newlines is not exactly user-friendly. 1