Age | Commit message (Expand) | Author |
2018-12-25 | bc: fold struct BcLex into BcParse | Denys Vlasenko |
2018-12-25 | bc: move BcLex::lex member to be the first in struct globals | Denys Vlasenko |
2018-12-25 | bc: rename some members and macros, no code changes | Denys Vlasenko |
2018-12-25 | bc: shorten error messages | Denys Vlasenko |
2018-12-25 | bc: make it clear that the code is adapted | Gavin Howard |
2018-12-25 | dc: add two tests | Denys Vlasenko |
2018-12-25 | bc: stop passing a pointer to G.prs down the call chain | Denys Vlasenko |
2018-12-25 | bc: make zbc_program_read() and zdc_program_execStr() use G.prs | Denys Vlasenko |
2018-12-25 | bc: fix interactive read() | Denys Vlasenko |
2018-12-25 | bc: add code to detect errors like "print 1 print 2" | Denys Vlasenko |
2018-12-25 | bc: allow {break} and {continue} (allow RBRACE to terminate them) | Denys Vlasenko |
2018-12-25 | bc: shrink parsing code a bit more, disallow "auto a b c" (without commas) | Denys Vlasenko |
2018-12-25 | bc: simplify bc_parse_expr_empty_ok() | Denys Vlasenko |
2018-12-25 | bc: simplify bc_parse_expr_empty_ok() | Denys Vlasenko |
2018-12-25 | bc: simplify bc_parse_expr_empty_ok() | Denys Vlasenko |
2018-12-24 | bc: BC_RESULT_ONE is bc-specific | Denys Vlasenko |
2018-12-24 | bc: partially deinline BC_PARSE_LEAF() macro | Denys Vlasenko |
2018-12-24 | bc: rename lexer variables, use smallints where appropriate | Denys Vlasenko |
2018-12-24 | bc: fix "bc -s" only warning on "define f()<newline>", not exiting | Denys Vlasenko |
2018-12-24 | bc: POSIX error/warn functions can be 'z' functions too | Denys Vlasenko |
2018-12-24 | bc: remove unnecessary NULL initializers | Denys Vlasenko |
2018-12-24 | bc: move relational LEXs before math LEXs - shorten dc_LEX_to_INST[] | Denys Vlasenko |
2018-12-24 | bc: offset dc_LEX_to_INST[] start | Denys Vlasenko |
2018-12-24 | bc: rename BC_LEX_NLINE/WHITESPACE/STR/NAME/NUMBER to XC_LEX_ | Denys Vlasenko |
2018-12-24 | bc: separate many bc and dc LEX constants | Denys Vlasenko |
2018-12-24 | bc: rename several BC_LEX_OPs to XC_LEX_OPs. | Denys Vlasenko |
2018-12-24 | bc: move BC_LEX_OP_INC/DEC to the end of operation LEX constants | Denys Vlasenko |
2018-12-24 | bc: rename BC_LEXs to XC_LEXs for common constants, and to DC_LEXs for dc-spe... | Denys Vlasenko |
2018-12-24 | bc: move functions/macros around, no code changes | Denys Vlasenko |
2018-12-24 | bc: rename common INST constants to XC_, dc-specific ones to DC_ | Denys Vlasenko |
2018-12-24 | dc: without -x, do not parse extended regs: 's p' means: store to ' ' reg, print | Denys Vlasenko |
2018-12-24 | bc: fix incorrect bit in BC_PARSE_EXPRS_BITS: 'limits' is not allowed | Denys Vlasenko |
2018-12-24 | bc: for "dc only" remove handling of LAST, move OBASE enums up to IBASE | Denys Vlasenko |
2018-12-23 | bc: fix empty lines in dc generating "bad token" message | Denys Vlasenko |
2018-12-22 | bc: shrink modular exponentiation code | Denys Vlasenko |
2018-12-22 | bc: do not yet allow 2^2.1 | Denys Vlasenko |
2018-12-22 | bc: avoid having to twiddle b->neg in zbc_num_p() | Denys Vlasenko |
2018-12-22 | bc: do not disallow powers to N.0000 degree - it's even shorter code | Denys Vlasenko |
2018-12-22 | bc: shrink zbc_num_ulong() | Denys Vlasenko |
2018-12-22 | bc: make long-running dc drop data it does not need (when it can) | Denys Vlasenko |
2018-12-22 | bc: unbreak "z function" macro machinery | Denys Vlasenko |
2018-12-22 | dc: unbreak interactive mode - was trying to get next tokens instead of execu... | Denys Vlasenko |
2018-12-22 | bc: move zbc_lex_next() out of zdc_parse_string() and zdc_parse_mem() | Denys Vlasenko |
2018-12-22 | bc: shorten sanity-check code | Denys Vlasenko |
2018-12-22 | bc: fold single-callsite functions into callers, commonalize code | Denys Vlasenko |
2018-12-22 | bc: zcommon_parse_expr() has only one user, fold it in | Denys Vlasenko |
2018-12-22 | bc: zcommon_parse_expr() lost its flags argument | Denys Vlasenko |
2018-12-22 | bc: stop using BC_PARSE_NOCALL in dc code | Denys Vlasenko |
2018-12-22 | bc: unbreak read(), remove checks for nested read() | Denys Vlasenko |
2018-12-21 | bc: code shrink | Denys Vlasenko |