summaryrefslogtreecommitdiff
path: root/miscutils/bc.c
AgeCommit message (Expand)Author
2018-12-29bc: remove special-cased assignment to ibase, it works correctly with general...Denys Vlasenko
2018-12-29bc: more fixes for unusual input basesDenys Vlasenko
2018-12-29bc: fix handling of "digits" above 9Denys Vlasenko
2018-12-28bc: bc enables FEATURE_DC_BIG, for correct dc testsuite operationDenys Vlasenko
2018-12-28bc: rename config optionsDenys Vlasenko
2018-12-28config: update size informationDenys Vlasenko
2018-12-27bc: rename functions common to bc and dc as xc_FOO()Denys Vlasenko
2018-12-27bc: G.prog.zero does not need initializing num[] vectorDenys Vlasenko
2018-12-26bc: use ALIGN1 where appropriateDenys Vlasenko
2018-12-26bc: undo debugging change, add a small optimizationDenys Vlasenko
2018-12-26bc: simple speedupsDenys Vlasenko
2018-12-26bc: use '\0' insteads of 0xff (BC_PARSE_STREND) as name terminatorDenys Vlasenko
2018-12-26bc: reduce indentation, no code changesDenys Vlasenko
2018-12-26bc: fix "bc only" buildDenys Vlasenko
2018-12-26bc: fix "dc only" buildDenys Vlasenko
2018-12-26bc: comment out code which appears to be never reachedDenys Vlasenko
2018-12-26bc: remove all logic for multi-line bufferingDenys Vlasenko
2018-12-26bc: prepare for char-by-char input handlingDenys Vlasenko
2018-12-26bc: fix handling of comment/string interactions while buffering inputDenys Vlasenko
2018-12-25bc: fix interactive handling of comments in strings and quotes in commentsDenys Vlasenko
2018-12-25bc: simplify input pointer manipulation while lexingDenys Vlasenko
2018-12-25bc: fold struct BcLex into BcParseDenys Vlasenko
2018-12-25bc: move BcLex::lex member to be the first in struct globalsDenys Vlasenko
2018-12-25bc: rename some members and macros, no code changesDenys Vlasenko
2018-12-25bc: shorten error messagesDenys Vlasenko
2018-12-25bc: make it clear that the code is adaptedGavin Howard
2018-12-25bc: stop passing a pointer to G.prs down the call chainDenys Vlasenko
2018-12-25bc: make zbc_program_read() and zdc_program_execStr() use G.prsDenys Vlasenko
2018-12-25bc: fix interactive read()Denys Vlasenko
2018-12-25bc: add code to detect errors like "print 1 print 2"Denys Vlasenko
2018-12-25bc: allow {break} and {continue} (allow RBRACE to terminate them)Denys Vlasenko
2018-12-25bc: shrink parsing code a bit more, disallow "auto a b c" (without commas)Denys Vlasenko
2018-12-25bc: simplify bc_parse_expr_empty_ok()Denys Vlasenko
2018-12-25bc: simplify bc_parse_expr_empty_ok()Denys Vlasenko
2018-12-25bc: simplify bc_parse_expr_empty_ok()Denys Vlasenko
2018-12-24bc: BC_RESULT_ONE is bc-specificDenys Vlasenko
2018-12-24bc: partially deinline BC_PARSE_LEAF() macroDenys Vlasenko
2018-12-24bc: rename lexer variables, use smallints where appropriateDenys Vlasenko
2018-12-24bc: fix "bc -s" only warning on "define f()<newline>", not exitingDenys Vlasenko
2018-12-24bc: POSIX error/warn functions can be 'z' functions tooDenys Vlasenko
2018-12-24bc: remove unnecessary NULL initializersDenys Vlasenko
2018-12-24bc: move relational LEXs before math LEXs - shorten dc_LEX_to_INST[]Denys Vlasenko
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