aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2018-12-22bc: shorten sanity-check codeDenys Vlasenko
2018-12-22bc: fold single-callsite functions into callers, commonalize codeDenys Vlasenko
2018-12-22bc: zcommon_parse_expr() has only one user, fold it inDenys Vlasenko
2018-12-22bc: zcommon_parse_expr() lost its flags argumentDenys Vlasenko
2018-12-22bc: stop using BC_PARSE_NOCALL in dc codeDenys Vlasenko
2018-12-22bc: unbreak read(), remove checks for nested read()Denys Vlasenko
2018-12-21bc: code shrinkDenys Vlasenko
2018-12-21bc: rename BcInstPtr::idx and ::lenDenys Vlasenko
2018-12-21bc: remove unnecessary initializationsDenys Vlasenko
2018-12-21bc: use non-allocated BcNum's where appropriateDenys Vlasenko
2018-12-21bc: optimize bc_vec_push() usageDenys Vlasenko
2018-12-21bc: fix for() to not leave data on stackDenys Vlasenko
2018-12-21bc: fix infinite state growth for "yes 1 | bc" caseDenys Vlasenko
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