aboutsummaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Expand)Author
2018-12-24bc: offset dc_LEX_to_INST[] startDenys Vlasenko
2018-12-24bc: rename BC_LEX_NLINE/WHITESPACE/STR/NAME/NUMBER to XC_LEX_Denys Vlasenko
2018-12-24bc: separate many bc and dc LEX constantsDenys Vlasenko
2018-12-24bc: rename several BC_LEX_OPs to XC_LEX_OPs.Denys Vlasenko
2018-12-24bc: move BC_LEX_OP_INC/DEC to the end of operation LEX constantsDenys Vlasenko
2018-12-24bc: rename BC_LEXs to XC_LEXs for common constants, and to DC_LEXs for dc-spe...Denys Vlasenko
2018-12-24bc: move functions/macros around, no code changesDenys Vlasenko
2018-12-24bc: rename common INST constants to XC_, dc-specific ones to DC_Denys Vlasenko
2018-12-24dc: without -x, do not parse extended regs: 's p' means: store to ' ' reg, printDenys Vlasenko
2018-12-24bc: fix incorrect bit in BC_PARSE_EXPRS_BITS: 'limits' is not allowedDenys Vlasenko
2018-12-24bc: for "dc only" remove handling of LAST, move OBASE enums up to IBASEDenys Vlasenko
2018-12-23bc: fix empty lines in dc generating "bad token" messageDenys Vlasenko
2018-12-22bc: shrink modular exponentiation codeDenys Vlasenko
2018-12-22bc: do not yet allow 2^2.1Denys Vlasenko
2018-12-22bc: avoid having to twiddle b->neg in zbc_num_p()Denys Vlasenko
2018-12-22bc: do not disallow powers to N.0000 degree - it's even shorter codeDenys Vlasenko
2018-12-22bc: shrink zbc_num_ulong()Denys Vlasenko
2018-12-22bc: make long-running dc drop data it does not need (when it can)Denys Vlasenko
2018-12-22bc: unbreak "z function" macro machineryDenys Vlasenko
2018-12-22dc: unbreak interactive mode - was trying to get next tokens instead of execu...Denys Vlasenko
2018-12-22bc: move zbc_lex_next() out of zdc_parse_string() and zdc_parse_mem()Denys Vlasenko
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