aboutsummaryrefslogtreecommitdiff
path: root/miscutils/bc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
...
* bc: unbreak read(), remove checks for nested read()Denys Vlasenko2018-12-221-38/+26
* bc: code shrinkDenys Vlasenko2018-12-211-11/+20
* bc: rename BcInstPtr::idx and ::lenDenys Vlasenko2018-12-211-29/+28
* bc: remove unnecessary initializationsDenys Vlasenko2018-12-211-5/+1
* bc: use non-allocated BcNum's where appropriateDenys Vlasenko2018-12-211-15/+18
* bc: optimize bc_vec_push() usageDenys Vlasenko2018-12-211-32/+26
* bc: fix for() to not leave data on stackDenys Vlasenko2018-12-211-25/+23
* bc: fix infinite state growth for "yes 1 | bc" caseDenys Vlasenko2018-12-211-28/+109
* bc: fix commentDenys Vlasenko2018-12-211-1/+1
* bc: for(;;) fix from upstreamDenys Vlasenko2018-12-211-1/+7
* bc: shrink bc_program_add_fn()Denys Vlasenko2018-12-211-7/+8
* bc: "dc only" config does not need G.prog.fn_mapDenys Vlasenko2018-12-201-36/+56
* bc: fix keyword matching to not think "ifz" is the "if" keywordDenys Vlasenko2018-12-201-0/+2
* bc: shrink "dc only" code by dropping unused structure membersDenys Vlasenko2018-12-201-41/+46
* bc: shorten bc_program_addFunc()Denys Vlasenko2018-12-191-6/+4
* bc: fix "dc only" and "bc only" configsDenys Vlasenko2018-12-191-44/+48
* bc: rename dc-specific functions, simplify zdc_program_execStr() a bitDenys Vlasenko2018-12-191-48/+47
* bc: rename zbc_parse_string->bc_parse_pushSTR, do not emit next opcode in itDenys Vlasenko2018-12-191-16/+16
* bc: avoid bc_vec_item() calls in bc_vm_run()Denys Vlasenko2018-12-191-7/+11
* bc: avoid bc_vec_item() calls in bc_array_copy()Denys Vlasenko2018-12-191-2/+4
* bc: avoid successive bc_vec_item(&func->autos, i)Denys Vlasenko2018-12-191-8/+9
* bc: remove unnecessary union useDenys Vlasenko2018-12-191-8/+9
* bc: "unsigned_n > 0" is shorter code than "unsigned_n >= 1"Denys Vlasenko2018-12-191-18/+19
* bc: open-code bc_parse_updateFunc() macroDenys Vlasenko2018-12-191-6/+10
* bc: make bc_program_addFunc() return new idx, untangle &p->fidx interactionDenys Vlasenko2018-12-191-47/+43
* bc: "reload stack only after insts" change missed a few placesDenys Vlasenko2018-12-191-2/+2
* bc: rename a few functionsDenys Vlasenko2018-12-191-7/+7
* bc: remove redundant strdup+free in zbc_parse_call()Denys Vlasenko2018-12-191-9/+11
* bc: delete G.prog.strmb for realDenys Vlasenko2018-12-191-21/+15
* bc: in execution loop, reload stack only after insts which can change itDenys Vlasenko2018-12-191-33/+44
* bc: simplify bc_array_expand()Denys Vlasenko2018-12-181-7/+9
* bc: code shrinkDenys Vlasenko2018-12-181-3/+5
* bc: code shrinkDenys Vlasenko2018-12-181-4/+6
* bc: shrink bc_program_pushVar()Denys Vlasenko2018-12-181-20/+14
* bc: get rid of G.prog.ob, G.prog.strmbDenys Vlasenko2018-12-181-29/+20
* bc: do not show -i in --help, it's a NOP (for now)Denys Vlasenko2018-12-181-1/+1
* bc: style edit, no code changesDenys Vlasenko2018-12-181-179/+57
* bc: shrink bc_program_index()Denys Vlasenko2018-12-181-4/+11
* bc: fix "echo -n '#foo' | bc" not eating last 'o'Denys Vlasenko2018-12-181-3/+7
* bc: shrink zdc_parse_expr()Denys Vlasenko2018-12-181-7/+12
* bc: optimize zbc_lex_string()Denys Vlasenko2018-12-181-7/+12
* bc: shrink zdc_lex_string()Denys Vlasenko2018-12-181-13/+19
* bc: another for() loop simplifiedDenys Vlasenko2018-12-181-3/+9
* bc: simplify another for() loopDenys Vlasenko2018-12-181-6/+6
* bc: rewrite more for() loopsDenys Vlasenko2018-12-181-12/+16
* bc: rewrite another for() loopDenys Vlasenko2018-12-181-3/+7
* bc: replace signed division / 10 by unsignedDenys Vlasenko2018-12-181-61/+32
* bc: rewrite bc_num_compare() to be readableDenys Vlasenko2018-12-181-4/+14
* bc: fold zbc_num_stream() into its single callerDenys Vlasenko2018-12-181-11/+3
* bc: get rid of BcNum BcProgram::ib,hexbDenys Vlasenko2018-12-181-36/+24