aboutsummaryrefslogtreecommitdiff
path: root/miscutils/bc.c
AgeCommit message (Expand)Author
2018-12-21bc: fix commentDenys Vlasenko
2018-12-21bc: for(;;) fix from upstreamDenys Vlasenko
2018-12-21bc: shrink bc_program_add_fn()Denys Vlasenko
2018-12-20bc: "dc only" config does not need G.prog.fn_mapDenys Vlasenko
2018-12-20bc: fix keyword matching to not think "ifz" is the "if" keywordDenys Vlasenko
2018-12-20bc: shrink "dc only" code by dropping unused structure membersDenys Vlasenko
2018-12-19bc: shorten bc_program_addFunc()Denys Vlasenko
2018-12-19bc: fix "dc only" and "bc only" configsDenys Vlasenko
2018-12-19bc: rename dc-specific functions, simplify zdc_program_execStr() a bitDenys Vlasenko
2018-12-19bc: rename zbc_parse_string->bc_parse_pushSTR, do not emit next opcode in itDenys Vlasenko
2018-12-19bc: avoid bc_vec_item() calls in bc_vm_run()Denys Vlasenko
2018-12-19bc: avoid bc_vec_item() calls in bc_array_copy()Denys Vlasenko
2018-12-19bc: avoid successive bc_vec_item(&func->autos, i)Denys Vlasenko
2018-12-19bc: remove unnecessary union useDenys Vlasenko
2018-12-19bc: "unsigned_n > 0" is shorter code than "unsigned_n >= 1"Denys Vlasenko
2018-12-19bc: open-code bc_parse_updateFunc() macroDenys Vlasenko
2018-12-19bc: make bc_program_addFunc() return new idx, untangle &p->fidx interactionDenys Vlasenko
2018-12-19bc: "reload stack only after insts" change missed a few placesDenys Vlasenko
2018-12-19bc: rename a few functionsDenys Vlasenko
2018-12-19bc: remove redundant strdup+free in zbc_parse_call()Denys Vlasenko
2018-12-19bc: delete G.prog.strmb for realDenys Vlasenko
2018-12-19bc: in execution loop, reload stack only after insts which can change itDenys Vlasenko
2018-12-18bc: simplify bc_array_expand()Denys Vlasenko
2018-12-18bc: code shrinkDenys Vlasenko
2018-12-18bc: code shrinkDenys Vlasenko
2018-12-18bc: shrink bc_program_pushVar()Denys Vlasenko
2018-12-18bc: get rid of G.prog.ob, G.prog.strmbDenys Vlasenko
2018-12-18bc: do not show -i in --help, it's a NOP (for now)Denys Vlasenko
2018-12-18bc: style edit, no code changesDenys Vlasenko
2018-12-18bc: shrink bc_program_index()Denys Vlasenko
2018-12-18bc: fix "echo -n '#foo' | bc" not eating last 'o'Denys Vlasenko
2018-12-18bc: shrink zdc_parse_expr()Denys Vlasenko
2018-12-18bc: optimize zbc_lex_string()Denys Vlasenko
2018-12-18bc: shrink zdc_lex_string()Denys Vlasenko
2018-12-18bc: another for() loop simplifiedDenys Vlasenko
2018-12-18bc: simplify another for() loopDenys Vlasenko
2018-12-18bc: rewrite more for() loopsDenys Vlasenko
2018-12-18bc: rewrite another for() loopDenys Vlasenko
2018-12-18bc: replace signed division / 10 by unsignedDenys Vlasenko
2018-12-18bc: rewrite bc_num_compare() to be readableDenys Vlasenko
2018-12-18bc: fold zbc_num_stream() into its single callerDenys Vlasenko
2018-12-18bc: get rid of BcNum BcProgram::ib,hexbDenys Vlasenko
2018-12-18bc: fixes to bugs found while testing 64-bit buildDenys Vlasenko
2018-12-18bc: fixed from 64-bit compileDenys Vlasenko
2018-12-17bc: remove "error after expression parsing" checkDenys Vlasenko
2018-12-17bc: tighten up input NUL handlingDenys Vlasenko
2018-12-17bc: simplify zdc_parse_string()Denys Vlasenko
2018-12-17bc: use common stringsDenys Vlasenko
2018-12-17bc: tidy up "z-function" macro machineryDenys Vlasenko
2018-12-17bc: parse file arguments piecemeal (do not read entire file)Denys Vlasenko