summaryrefslogtreecommitdiff
path: root/miscutils/bc.c
AgeCommit message (Expand)Author
2019-01-04bc: eliminate struct BcInstPtr::results_len_before_call, it is redundantDenys Vlasenko
2019-01-04bc: add a palceholder comment for "void" returnDenys Vlasenko
2019-01-04bc: remove extra div/0 test, remove test for string function parameterDenys Vlasenko
2019-01-03bc: fix "...; return}" to work, disallow "return ()"Denys Vlasenko
2019-01-02bc: make error line number also size_t, like everything elseDenys Vlasenko
2019-01-02bc: speed up string printing, fix print ""Denys Vlasenko
2019-01-01bc: upstream fixesDenys Vlasenko
2019-01-01bc: in xc_read_line(), check ^C on NUL input bytes tooDenys Vlasenko
2018-12-31bc: remove superfluous assigmentDenys Vlasenko
2018-12-31bc: support ibase up to 36 (GNU compat)Denys Vlasenko
2018-12-31bc: fold xc_lex_more_input() into peek_inbuf()Denys Vlasenko
2018-12-30bc: tidying up, no logic changesDenys Vlasenko
2018-12-29bc: simplify representation of 0.5 in sqrt()Denys Vlasenko
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