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 |
2018-12-18 |
Denys Vlasenko | bc: rewrite bc_num_compare() to be readable |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: fold zbc_num_stream() into its single caller |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: get rid of BcNum BcProgram::ib,hexb |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: fixes to bugs found while testing 64-bit build |
commit | commitdiff | tree | snapshot |
2018-12-18 |
Denys Vlasenko | bc: fixed from 64-bit compile |
commit | commitdiff | tree | snapshot |
2018-12-17 |
Denys Vlasenko | udhcpc: check that 4-byte options are indeed 4-byte... |
commit | commitdiff | tree | snapshot |
2018-12-17 |
Denys Vlasenko | bc: remove "error after expression parsing" check |
commit | commitdiff | tree | snapshot |
2018-12-17 |
Denys Vlasenko | bc: tighten up input NUL handling |
commit | commitdiff | tree | snapshot |
2018-12-17 |
Denys Vlasenko | bc: simplify zdc_parse_string() |
commit | commitdiff | tree | snapshot |
2018-12-17 |
Denys Vlasenko | bc: use common strings |
commit | commitdiff | tree | snapshot |
2018-12-17 |
Denys Vlasenko | bc: tidy up "z-function" macro machinery |
commit | commitdiff | tree | snapshot |
2018-12-17 |
Denys Vlasenko | bc: parse file arguments piecemeal (do not read entire... |
commit | commitdiff | tree | snapshot |
2018-12-17 |
Denys Vlasenko | bc: move fflush to the _actual_ execution loop |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: fix typo: defone -> define |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: factor out common code |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: remove use of "BcInstPtr ip" object from loop parsing |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: store only index in p->exits, it's the only thing... |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: p->exits.func is never zero, do not check for that |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: remove redundant JUMP generation when parsing ... |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: simplify use of "ip" in loop parsing functions |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: shring bc_lib[] |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: shrink zbc_parse_if() a bit more |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: stop using p->exits when parsing if() |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: preparation to stop using p->exits when parsing... |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: fix "print 1,2,3" parsing |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: disallow empty statement as function body |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: allow only one <newline> between if() and stmt |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: simplify bc_parse_pushName(), do not free name... |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: simplify zbc_parse_break_or_continue(), logic is... |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: fold zbc_parse_else() into its only caller |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: fold bc_parse_noElse() into its only caller |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: delete unused (write-only) BcParse::nbraces member |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: fixes for multi-line if/while/for |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: fix handling of 'return' not in functions, and... |
commit | commitdiff | tree | snapshot |
2018-12-16 |
Denys Vlasenko | bc: partially rewrite parser, tests pass, ^C might... |
commit | commitdiff | tree | snapshot |
2018-12-15 |
Denys Vlasenko | bc: lexer debugging, added some failing test cases |
commit | commitdiff | tree | snapshot |
2018-12-15 |
Denys Vlasenko | bc: simplify BC_INST_JUMP[_ZERO] handling |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: rewrite "block flag stack" using simple realloc... |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: drop zbc_parse_endBody() bool parameter, move its... |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: shorten one message, make defines more readable |
commit | commitdiff | tree | snapshot |
next |