summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
...
* bc: use '\0' insteads of 0xff (BC_PARSE_STREND) as name terminatorDenys Vlasenko2018-12-261-24/+10
* bc: reduce indentation, no code changesDenys Vlasenko2018-12-261-824/+823
* bc: fix "bc only" buildDenys Vlasenko2018-12-261-1/+1
* bc: fix "dc only" buildDenys Vlasenko2018-12-261-1/+1
* bc: comment out code which appears to be never reachedDenys Vlasenko2018-12-261-2/+3
* bc: remove all logic for multi-line bufferingDenys Vlasenko2018-12-261-125/+19
* bc: prepare for char-by-char input handlingDenys Vlasenko2018-12-262-237/+214
* bc: fix handling of comment/string interactions while buffering inputDenys Vlasenko2018-12-261-38/+74
* bc: fix interactive handling of comments in strings and quotes in commentsDenys Vlasenko2018-12-252-18/+34
* bc: simplify input pointer manipulation while lexingDenys Vlasenko2018-12-251-60/+55
* bc: fold struct BcLex into BcParseDenys Vlasenko2018-12-251-267/+262
* bc: move BcLex::lex member to be the first in struct globalsDenys Vlasenko2018-12-251-65/+65
* bc: rename some members and macros, no code changesDenys Vlasenko2018-12-251-129/+129
* bc: shorten error messagesDenys Vlasenko2018-12-251-8/+8
* bc: make it clear that the code is adaptedGavin Howard2018-12-251-2/+4
* dc: add two testsDenys Vlasenko2018-12-251-0/+10
* bc: stop passing a pointer to G.prs down the call chainDenys Vlasenko2018-12-251-327/+374
* bc: make zbc_program_read() and zdc_program_execStr() use G.prsDenys Vlasenko2018-12-251-46/+41
* bc: fix interactive read()Denys Vlasenko2018-12-251-25/+26
* bc: add code to detect errors like "print 1 print 2"Denys Vlasenko2018-12-251-10/+39
* bc: allow {break} and {continue} (allow RBRACE to terminate them)Denys Vlasenko2018-12-252-14/+11
* bc: shrink parsing code a bit more, disallow "auto a b c" (without commas)Denys Vlasenko2018-12-251-24/+22
* bc: simplify bc_parse_expr_empty_ok()Denys Vlasenko2018-12-251-20/+32
* bc: simplify bc_parse_expr_empty_ok()Denys Vlasenko2018-12-251-5/+9
* bc: simplify bc_parse_expr_empty_ok()Denys Vlasenko2018-12-251-16/+20
* bc: BC_RESULT_ONE is bc-specificDenys Vlasenko2018-12-241-84/+84
* bc: partially deinline BC_PARSE_LEAF() macroDenys Vlasenko2018-12-241-17/+27
* bc: rename lexer variables, use smallints where appropriateDenys Vlasenko2018-12-241-157/+155
* bc: fix "bc -s" only warning on "define f()<newline>", not exitingDenys Vlasenko2018-12-241-1/+3
* bc: POSIX error/warn functions can be 'z' functions tooDenys Vlasenko2018-12-241-36/+42
* bc: remove unnecessary NULL initializersDenys Vlasenko2018-12-241-16/+20
* bc: move relational LEXs before math LEXs - shorten dc_LEX_to_INST[]Denys Vlasenko2018-12-241-42/+39
* bc: offset dc_LEX_to_INST[] startDenys Vlasenko2018-12-241-37/+42
* bc: rename BC_LEX_NLINE/WHITESPACE/STR/NAME/NUMBER to XC_LEX_Denys Vlasenko2018-12-241-45/+45
* bc: separate many bc and dc LEX constantsDenys Vlasenko2018-12-241-49/+69
* bc: rename several BC_LEX_OPs to XC_LEX_OPs.Denys Vlasenko2018-12-241-71/+72
* bc: move BC_LEX_OP_INC/DEC to the end of operation LEX constantsDenys Vlasenko2018-12-241-93/+95
* bc: rename BC_LEXs to XC_LEXs for common constants, and to DC_LEXs for dc-spe...Denys Vlasenko2018-12-241-84/+84
* bc: move functions/macros around, no code changesDenys Vlasenko2018-12-241-384/+392
* bc: rename common INST constants to XC_, dc-specific ones to DC_Denys Vlasenko2018-12-241-243/+242
* dc: without -x, do not parse extended regs: 's p' means: store to ' ' reg, printDenys Vlasenko2018-12-241-11/+10
* bc: fix incorrect bit in BC_PARSE_EXPRS_BITS: 'limits' is not allowedDenys Vlasenko2018-12-241-45/+45
* bc: for "dc only" remove handling of LAST, move OBASE enums up to IBASEDenys Vlasenko2018-12-241-75/+82
* bc: fix empty lines in dc generating "bad token" messageDenys Vlasenko2018-12-231-8/+10
* bc: shrink modular exponentiation codeDenys Vlasenko2018-12-221-3/+5
* bc: do not yet allow 2^2.1Denys Vlasenko2018-12-221-3/+5
* bc: avoid having to twiddle b->neg in zbc_num_p()Denys Vlasenko2018-12-221-7/+11
* bc: do not disallow powers to N.0000 degree - it's even shorter codeDenys Vlasenko2018-12-221-3/+4
* bc: shrink zbc_num_ulong()Denys Vlasenko2018-12-221-10/+11
* bc: make long-running dc drop data it does not need (when it can)Denys Vlasenko2018-12-221-15/+34