- 2e8be02 bc: allow only one <newline> between if() and stmt by Denys Vlasenko · 6 years ago
- e6c40c4 bc: simplify bc_parse_pushName(), do not free name in it - avoids one strdup by Denys Vlasenko · 6 years ago
- 563d93c bc: simplify zbc_parse_break_or_continue(), logic is the same by Denys Vlasenko · 6 years ago
- a50576a bc: fold zbc_parse_else() into its only caller by Denys Vlasenko · 6 years ago
- 6d29879 bc: fold bc_parse_noElse() into its only caller by Denys Vlasenko · 6 years ago
- 9dc5d08 bc: delete unused (write-only) BcParse::nbraces member by Denys Vlasenko · 6 years ago
- 202dd19 bc: fixes for multi-line if/while/for by Denys Vlasenko · 6 years ago
- e9519e4 bc: fix handling of 'return' not in functions, and 'define f()<newline>{...}' by Denys Vlasenko · 6 years ago
- d1d29b4 bc: partially rewrite parser, tests pass, ^C might be broken now by Denys Vlasenko · 6 years ago
- 99b3762 bc: lexer debugging, added some failing test cases by Denys Vlasenko · 6 years ago
- fd51e0c bc: simplify BC_INST_JUMP[_ZERO] handling by Denys Vlasenko · 6 years ago
- 7db3843 bc: rewrite "block flag stack" using simple realloc'ed byte array by Denys Vlasenko · 6 years ago
- f10f17f bc: drop zbc_parse_endBody() bool parameter, move its code to caller which uses it by Denys Vlasenko · 6 years ago
- 0154d78 bc: shorten one message, make defines more readable by Denys Vlasenko · 6 years ago
- 7b1df3d bc: pull zbc_lex_next() call out of zbc_parse_operator() into one caller that uses it by Denys Vlasenko · 6 years ago
- 17df882 bx: add more debug scaffolding by Denys Vlasenko · 6 years ago
- 2ea53a4 bc: convert macro bc_parse_push() to function, add debug infrastructure by Denys Vlasenko · 6 years ago
- f86e960 bc: rename zbc_parse_text() to ..._init(), reuse existing code for library parsing by Denys Vlasenko · 6 years ago
- 0a23814 bc: compress two constant arguments of bc_lex_assign() to one by Denys Vlasenko · 6 years ago
- 8226912 bc: remove stale comment, empty lines, regularize comment style by Denys Vlasenko · 6 years ago
- 87b49be bc: tweak bc_num_parseDecimal() for readability, logic is not changed by Denys Vlasenko · 6 years ago
- 240d7ee bc: shrink s() in library again by Denys Vlasenko · 6 years ago
- fc9d269 bc: yet another library shrink by Denys Vlasenko · 6 years ago
- c06537d bc: shrink internal library yet more by Denys Vlasenko · 6 years ago
- 203210e bc: shrink internal library more by Denys Vlasenko · 6 years ago
- 3ac0c21 bc: shrink internal library by Denys Vlasenko · 6 years ago
- 57b6918 bc: group ENABLE_BC code a bit better, no logic changes by Denys Vlasenko · 6 years ago
- 5f263f4 bc: fix "dc only" bug by Denys Vlasenko · 6 years ago
- e755e30 bc: unbreak "only bc" and "only dc" configs by Denys Vlasenko · 6 years ago
- 89198a9 bc: simplify bc_lex_whitespace() by Denys Vlasenko · 6 years ago
- bbcecc4 bc: G.sbgn and G.send are unused, remove them by Denys Vlasenko · 6 years ago
- 0fe270e bc: simplify filename saving in zbc_vm_file() by Denys Vlasenko · 6 years ago
- 915c72b bc: do not append duplicate NUL, reduce indentation in bc_read_line() by Denys Vlasenko · 6 years ago
- 82ea67f bc: change bc_read_line() and zbc_vm_stdin() to avoid double buffers by Denys Vlasenko · 6 years ago
- b7e61e3 bc: further simplification in zbc_vm_stdin() by Denys Vlasenko · 6 years ago
- 818b602 bc: fix another thinko by Denys Vlasenko · 6 years ago
- 335b4ef bc: fix a thinko: dc uses [] string delimiters, bot bc! by Denys Vlasenko · 6 years ago
- 766f672 bc: fix comment handling by Denys Vlasenko · 6 years ago
- 7dc0a51 bc: further zbc_vm_stdin() optimizations by Denys Vlasenko · 6 years ago
- 40534bb bc: shrink zbc_vm_stdin() by Denys Vlasenko · 6 years ago
- 89e785a bc: trim config help text, add a few comments, no code changes by Denys Vlasenko · 6 years ago
- 9811ad0 bc: unbreak CONFIG_FEATURE_BC_SIGNALS=y config by Denys Vlasenko · 6 years ago
- c2265f5 bc: remove lexer function pointer by Denys Vlasenko · 6 years ago
- c0ef23c bc: remove parse function pointer by Denys Vlasenko · 6 years ago
- 19f1107 bc: convert two more functions to "z" logic by Denys Vlasenko · 6 years ago
- 8a89247 bc: remove BC_STATUS_EOF (again), the condition is detectable as len==0 by Denys Vlasenko · 6 years ago
- d8078a7 dc: fix EOF handling in case of last line being incomplete by Denys Vlasenko · 6 years ago
- d6ad366 bc: further conversions to "z" logic by Denys Vlasenko · 6 years ago
- c2da68e bc: optimize bc_parse_pushIndex() by Denys Vlasenko · 6 years ago
- 26819db bc: convert even more of lexer functions to "z" convention by Denys Vlasenko · 6 years ago
- ae0faf9 bc: convert even more of lexer functions to "z" convention by Denys Vlasenko · 6 years ago
- 8cd468f bc: convert more of lexer functions to "z" convention by Denys Vlasenko · 6 years ago
- 9a34e89 bc: partially convert lexer functions to "z" convention by Denys Vlasenko · 6 years ago
- 251fbb5 bc: code shrink in bc_num_cmp() by Denys Vlasenko · 6 years ago
- 16494f5 bc: simplify zbc_program_logical() by Denys Vlasenko · 6 years ago
- 69171dc bc: simplify nested read() check by Denys Vlasenko · 6 years ago
- 12b9eaf bc: in non-interactive config, POSIX error functions never return nonzero by Denys Vlasenko · 6 years ago
- f0f069b bc: use common_parse_init() in bc_vm_init() by Denys Vlasenko · 6 years ago
- 4dd3652 bc: fix EOF handling in bc_program_read() by Denys Vlasenko · 6 years ago
- 2c6f563 bc: tweak comment by Denys Vlasenko · 6 years ago
- c008a73 bc: convert bc_program_asciify to "z" function by Denys Vlasenko · 6 years ago
- 9f657e0 bc: shrink bc_program_printString by Denys Vlasenko · 6 years ago
- 259137d bc: convert zbc_program_op to "z" function, fix a thinko in prev commits by Denys Vlasenko · 6 years ago
- 728e7c9 bc: convert bc_program_logical to "z" function by Denys Vlasenko · 6 years ago
- 09d8df8 bc: do not use "(cond ? f1 : f2)(params)" idiom, it messes up static function optimizations by Denys Vlasenko · 6 years ago
- 7f4daa4 bc: convert arithmetic calc functions to "z" logic by Denys Vlasenko · 6 years ago
- 1aeacef bc: rename arithmetic calc functions to "z" functions, no code changes by Denys Vlasenko · 6 years ago
- c2d15df bc: move declarations around, no code changes by Denys Vlasenko · 6 years ago
- c355c4a bc: code shrink in zbc_lex_number() by Denys Vlasenko · 6 years ago
- b402ff8 bc: make bc_program_pushVar "z-function" by Denys Vlasenko · 6 years ago
- 2930123 bc: improve "noninteractive" macro machinery so that even "return zero" code is not generated by Denys Vlasenko · 6 years ago
- 91cde95 bc: it's not clear bc_vm_file() always exits on errors, remove ERRORS_ARE_FATAL by Denys Vlasenko · 6 years ago
- 628bf1b bc: more ERRORS_ARE_FATAL annotations by Denys Vlasenko · 6 years ago
- 88cfea6 bc: stop checking for name length in bc_lex_name() by Denys Vlasenko · 6 years ago
- fa35e59 bc: optimize non-interactive config: we know that many functions always succeed by Denys Vlasenko · 6 years ago
- 86e63cd bc: in non-interactive config, let compiler know that error funcs do not return by Denys Vlasenko · 6 years ago
- dafbc2c bc: simplify bc_num_parseDecimal() further by Denys Vlasenko · 6 years ago
- 5ba55f1 bc: make all function pointers FAST_FUNC, on i486 this saves ~400 bytes by Denys Vlasenko · 6 years ago
- c665c18 bc: 0xffffffffffffffff may be larger than unsigned long by Denys Vlasenko · 6 years ago
- 8b4cf0d bc: optimize bc_vec_concat() by Denys Vlasenko · 6 years ago
- a7f1a36 bc: simplify bc_program_len() by Denys Vlasenko · 6 years ago
- 44d79d8 bc: simplify bc_program_print() by Denys Vlasenko · 6 years ago
- b696d9e bc: simplify bc_num_ulong2num() by Denys Vlasenko · 6 years ago
- 9311e01 bc: move str-to-num conversion functions to their only caller, bc_num_parse() by Denys Vlasenko · 6 years ago
- 218ed1c bc: further simplify string-to-number conversion code by Denys Vlasenko · 6 years ago
- 4a024c7 bc: simplify string-tonumber conversion code by Denys Vlasenko · 6 years ago
- 3129f70 bc: no need to "set to zero" BcNum after bc_num_init(), it already is by Denys Vlasenko · 6 years ago
- e20e00d bc: add and use bc_num_init_DEF_SIZE() by Denys Vlasenko · 6 years ago
- 5ec4b49 bc: in bc_program_execStr(), push two variables into inner scope by Denys Vlasenko · 6 years ago
- 927a7d6 bc: in bc_program_exec(), push two variables into inner scope by Denys Vlasenko · 6 years ago
- 8fa1e8e bc: add accessors for G.prog.strs[idx], G.prog.fns[idx] by Denys Vlasenko · 6 years ago
- 0f37b32 bc: eliminate always the same params to bc_num_printBase() by Denys Vlasenko · 6 years ago
- ebc41c9 bc: remove redundant error checks in bc_parse_print() by Denys Vlasenko · 6 years ago
- 5f1b90b bc: stop propagating pointer to G.prog.nchars deep into printing functions by Denys Vlasenko · 6 years ago
- 2a8ad48 bc: do not pass line width in parameters, it's in globals by Denys Vlasenko · 6 years ago
- ac6ed11 bc: remove "ready for more input" message, GNU bc does not print that by Denys Vlasenko · 6 years ago
- 6e7c65f bc: trim banner, use empty interactive prompts (GNU bc compat) by Denys Vlasenko · 6 years ago
- d0bc5fd dc: fix "small dc" to have standard command line API by Denys Vlasenko · 6 years ago
- f522dd9 bc: replace G.eof with a special exit code of bc_vm_stdin() by Denys Vlasenko · 6 years ago
- 2d615fe bc: convert two macros to functions, unwing one complex max(a,min(b,c)) by Denys Vlasenko · 6 years ago