aboutsummaryrefslogtreecommitdiff
path: root/miscutils/bc.c
AgeCommit message (Expand)Author
2018-12-13bc: trim config help text, add a few comments, no code changesDenys Vlasenko
2018-12-12bc: unbreak CONFIG_FEATURE_BC_SIGNALS=y configDenys Vlasenko
2018-12-12bc: remove lexer function pointerDenys Vlasenko
2018-12-12bc: remove parse function pointerDenys Vlasenko
2018-12-12bc: convert two more functions to "z" logicDenys Vlasenko
2018-12-12bc: remove BC_STATUS_EOF (again), the condition is detectable as len==0Denys Vlasenko
2018-12-12dc: fix EOF handling in case of last line being incompleteDenys Vlasenko
2018-12-12bc: further conversions to "z" logicDenys Vlasenko
2018-12-12bc: optimize bc_parse_pushIndex()Denys Vlasenko
2018-12-12bc: convert even more of lexer functions to "z" conventionDenys Vlasenko
2018-12-12bc: convert even more of lexer functions to "z" conventionDenys Vlasenko
2018-12-12bc: convert more of lexer functions to "z" conventionDenys Vlasenko
2018-12-12bc: partially convert lexer functions to "z" conventionDenys Vlasenko
2018-12-12bc: code shrink in bc_num_cmp()Denys Vlasenko
2018-12-12bc: simplify zbc_program_logical()Denys Vlasenko
2018-12-12bc: simplify nested read() checkDenys Vlasenko
2018-12-11bc: in non-interactive config, POSIX error functions never return nonzeroDenys Vlasenko
2018-12-11bc: use common_parse_init() in bc_vm_init()Denys Vlasenko
2018-12-11bc: fix EOF handling in bc_program_read()Denys Vlasenko
2018-12-11bc: tweak commentDenys Vlasenko
2018-12-11bc: convert bc_program_asciify to "z" functionDenys Vlasenko
2018-12-11bc: shrink bc_program_printStringDenys Vlasenko
2018-12-11bc: convert zbc_program_op to "z" function, fix a thinko in prev commitsDenys Vlasenko
2018-12-11bc: convert bc_program_logical to "z" functionDenys Vlasenko
2018-12-11bc: do not use "(cond ? f1 : f2)(params)" idiom, it messes up static function...Denys Vlasenko
2018-12-11bc: convert arithmetic calc functions to "z" logicDenys Vlasenko
2018-12-11bc: rename arithmetic calc functions to "z" functions, no code changesDenys Vlasenko
2018-12-11bc: move declarations around, no code changesDenys Vlasenko
2018-12-11bc: code shrink in zbc_lex_number()Denys Vlasenko
2018-12-11bc: make bc_program_pushVar "z-function"Denys Vlasenko
2018-12-11bc: improve "noninteractive" macro machinery so that even "return zero" code ...Denys Vlasenko
2018-12-10bc: it's not clear bc_vm_file() always exits on errors, remove ERRORS_ARE_FATALDenys Vlasenko
2018-12-10bc: more ERRORS_ARE_FATAL annotationsDenys Vlasenko
2018-12-10bc: stop checking for name length in bc_lex_name()Denys Vlasenko
2018-12-10bc: optimize non-interactive config: we know that many functions always succeedDenys Vlasenko
2018-12-10bc: in non-interactive config, let compiler know that error funcs do not returnDenys Vlasenko
2018-12-10bc: simplify bc_num_parseDecimal() furtherDenys Vlasenko
2018-12-10bc: make all function pointers FAST_FUNC, on i486 this saves ~400 bytesDenys Vlasenko
2018-12-10bc: 0xffffffffffffffff may be larger than unsigned longDenys Vlasenko
2018-12-10bc: optimize bc_vec_concat()Denys Vlasenko
2018-12-10bc: simplify bc_program_len()Denys Vlasenko
2018-12-10bc: simplify bc_program_print()Denys Vlasenko
2018-12-10bc: simplify bc_num_ulong2num()Denys Vlasenko
2018-12-10bc: move str-to-num conversion functions to their only caller, bc_num_parse()Denys Vlasenko
2018-12-09bc: further simplify string-to-number conversion codeDenys Vlasenko
2018-12-09bc: simplify string-tonumber conversion codeDenys Vlasenko
2018-12-09bc: no need to "set to zero" BcNum after bc_num_init(), it already isDenys Vlasenko
2018-12-09bc: add and use bc_num_init_DEF_SIZE()Denys Vlasenko
2018-12-09bc: in bc_program_execStr(), push two variables into inner scopeDenys Vlasenko
2018-12-09bc: in bc_program_exec(), push two variables into inner scopeDenys Vlasenko