2018-12-26 |
Denys Vlasenko | bc: remove all logic for multi-line buffering |
commit | commitdiff | tree | snapshot |
2018-12-26 |
Denys Vlasenko | bc: prepare for char-by-char input handling |
commit | commitdiff | tree | snapshot |
2018-12-26 |
Denys Vlasenko | bc: fix handling of comment/string interactions while... |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: fix interactive handling of comments in strings... |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: simplify input pointer manipulation while lexing |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: fold struct BcLex into BcParse |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: move BcLex::lex member to be the first in struct... |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: rename some members and macros, no code changes |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: shorten error messages |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Gavin Howard | bc: make it clear that the code is adapted |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | dc: add two tests |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: stop passing a pointer to G.prs down the call chain |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: make zbc_program_read() and zdc_program_execStr... |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: fix interactive read() |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: add code to detect errors like "print 1 print 2" |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: allow {break} and {continue} (allow RBRACE to termi... |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: shrink parsing code a bit more, disallow "auto... |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: simplify bc_parse_expr_empty_ok() |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: simplify bc_parse_expr_empty_ok() |
commit | commitdiff | tree | snapshot |
2018-12-25 |
Denys Vlasenko | bc: simplify bc_parse_expr_empty_ok() |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: BC_RESULT_ONE is bc-specific |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: partially deinline BC_PARSE_LEAF() macro |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: rename lexer variables, use smallints where appropriate |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: fix "bc -s" only warning on "define f()<newline... |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: POSIX error/warn functions can be 'z' functions too |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: remove unnecessary NULL initializers |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: move relational LEXs before math LEXs - shorten... |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: offset dc_LEX_to_INST[] start |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: rename BC_LEX_NLINE/WHITESPACE/STR/NAME/NUMBER... |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: separate many bc and dc LEX constants |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: rename several BC_LEX_OPs to XC_LEX_OPs. |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: move BC_LEX_OP_INC/DEC to the end of operation... |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: rename BC_LEXs to XC_LEXs for common constants... |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: move functions/macros around, no code changes |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: rename common INST constants to XC_, dc-specific... |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | dc: without -x, do not parse extended regs: 's p' means... |
commit | commitdiff | tree | snapshot |
2018-12-24 |
Denys Vlasenko | bc: fix incorrect bit in BC_PARSE_EXPRS_BITS: 'limits... |
commit | commitdiff | tree | snapshot |
2018-12-23 |
Denys Vlasenko | bc: for "dc only" remove handling of LAST, move OBASE... |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: fix empty lines in dc generating "bad token" message |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: shrink modular exponentiation code |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: do not yet allow 2^2.1 |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: avoid having to twiddle b->neg in zbc_num_p() |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: do not disallow powers to N.0000 degree - it's... |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: shrink zbc_num_ulong() |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: make long-running dc drop data it does not need... |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: unbreak "z function" macro machinery |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | dc: unbreak interactive mode - was trying to get next... |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: move zbc_lex_next() out of zdc_parse_string() and... |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: shorten sanity-check code |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: fold single-callsite functions into callers, common... |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: zcommon_parse_expr() has only one user, fold it in |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: zcommon_parse_expr() lost its flags argument |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: stop using BC_PARSE_NOCALL in dc code |
commit | commitdiff | tree | snapshot |
2018-12-22 |
Denys Vlasenko | bc: unbreak read(), remove checks for nested read() |
commit | commitdiff | tree | snapshot |
2018-12-21 |
Denys Vlasenko | bc: code shrink |
commit | commitdiff | tree | snapshot |
2018-12-21 |
Denys Vlasenko | bc: rename BcInstPtr::idx and ::len |
commit | commitdiff | tree | snapshot |
2018-12-21 |
Denys Vlasenko | bc: remove unnecessary initializations |
commit | commitdiff | tree | snapshot |
2018-12-21 |
Denys Vlasenko | bc: use non-allocated BcNum's where appropriate |
commit | commitdiff | tree | snapshot |
2018-12-21 |
Denys Vlasenko | bc: optimize bc_vec_push() usage |
commit | commitdiff | tree | snapshot |
2018-12-21 |
Denys Vlasenko | bc: fix for() to not leave data on stack |
commit | commitdiff | tree | snapshot |
2018-12-21 |
Denys Vlasenko | bc: fix infinite state growth for "yes 1 | bc" case |
commit | commitdiff | tree | snapshot |
2018-12-20 |
Denys Vlasenko | bc: fix comment |
commit | commitdiff | tree | snapshot |
2018-12-20 |
Denys Vlasenko | bc: for(;;) fix from upstream |
commit | commitdiff | tree | snapshot |
2018-12-20 |
Denys Vlasenko | bc: shrink bc_program_add_fn() |
commit | commitdiff | tree | snapshot |
2018-12-20 |
Denys Vlasenko | bc: "dc only" config does not need G.prog.fn_map |
commit | commitdiff | tree | snapshot |
2018-12-20 |
Denys Vlasenko | bc: fix keyword matching to not think "ifz" is the... |
commit | commitdiff | tree | snapshot |
2018-12-20 |
Denys Vlasenko | bc: shrink "dc only" code by dropping unused structure... |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: shorten bc_program_addFunc() |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: fix "dc only" and "bc only" configs |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: rename dc-specific functions, simplify zdc_program_... |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: rename zbc_parse_string->bc_parse_pushSTR, do not... |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: avoid bc_vec_item() calls in bc_vm_run() |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: avoid bc_vec_item() calls in bc_array_copy() |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: avoid successive bc_vec_item(&func->autos, i) |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: remove unnecessary union use |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: "unsigned_n > 0" is shorter code than "unsigned_n... |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: open-code bc_parse_updateFunc() macro |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: make bc_program_addFunc() return new idx, untangle... |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: "reload stack only after insts" change missed a... |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: rename a few functions |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: remove redundant strdup+free in zbc_parse_call() |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: delete G.prog.strmb for real |
commit | commitdiff | tree | snapshot |
2018-12-19 |
Denys Vlasenko | bc: in execution loop, reload stack only after insts... |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: simplify bc_array_expand() |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: code shrink |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: code shrink |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: shrink bc_program_pushVar() |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: get rid of G.prog.ob, G.prog.strmb |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: do not show -i in --help, it's a NOP (for now) |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: style edit, no code changes |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: shrink bc_program_index() |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: fix "echo -n '#foo' | bc" not eating last 'o' |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: shrink zdc_parse_expr() |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: optimize zbc_lex_string() |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: shrink zdc_lex_string() |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: another for() loop simplified |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: simplify another for() loop |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: rewrite more for() loops |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: rewrite another for() loop |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: replace signed division / 10 by unsigned |
commit | commitdiff | tree | snapshot |
next |