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 |
2018-12-14 |
Denys Vlasenko | bc: pull zbc_lex_next() call out of zbc_parse_operator... |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bx: add more debug scaffolding |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: convert macro bc_parse_push() to function, add... |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: rename zbc_parse_text() to ..._init(), reuse existi... |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: compress two constant arguments of bc_lex_assign... |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: remove stale comment, empty lines, regularize comme... |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: tweak bc_num_parseDecimal() for readability, logic... |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: shrink s() in library again |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: yet another library shrink |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: shrink internal library yet more |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: shrink internal library more |
commit | commitdiff | tree | snapshot |
2018-12-14 |
Denys Vlasenko | bc: shrink internal library |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: group ENABLE_BC code a bit better, no logic changes |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: fix "dc only" bug |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: unbreak "only bc" and "only dc" configs |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: simplify bc_lex_whitespace() |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: G.sbgn and G.send are unused, remove them |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: simplify filename saving in zbc_vm_file() |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: do not append duplicate NUL, reduce indentation... |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: change bc_read_line() and zbc_vm_stdin() to avoid... |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: further simplification in zbc_vm_stdin() |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: fix another thinko |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: fix a thinko: dc uses [] string delimiters, bot bc! |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: fix comment handling |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: further zbc_vm_stdin() optimizations |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: shrink zbc_vm_stdin() |
commit | commitdiff | tree | snapshot |
2018-12-13 |
Denys Vlasenko | bc: trim config help text, add a few comments, no code... |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: unbreak CONFIG_FEATURE_BC_SIGNALS=y config |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: remove lexer function pointer |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: remove parse function pointer |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: convert two more functions to "z" logic |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: remove BC_STATUS_EOF (again), the condition is... |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | dc: fix EOF handling in case of last line being incomplete |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | testsuite: add bc and dc tests |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: further conversions to "z" logic |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: optimize bc_parse_pushIndex() |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: convert even more of lexer functions to "z" convention |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: convert even more of lexer functions to "z" convention |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: convert more of lexer functions to "z" convention |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: partially convert lexer functions to "z" convention |
commit | commitdiff | tree | snapshot |
2018-12-12 |
Denys Vlasenko | bc: code shrink in bc_num_cmp() |
commit | commitdiff | tree | snapshot |
2018-12-11 |
Denys Vlasenko | bc: simplify zbc_program_logical() |
commit | commitdiff | tree | snapshot |
2018-12-11 |
Denys Vlasenko | bc: simplify nested read() check |
commit | commitdiff | tree | snapshot |
2018-12-11 |
Denys Vlasenko | bc: in non-interactive config, POSIX error functions... |
commit | commitdiff | tree | snapshot |
2018-12-11 |
Denys Vlasenko | bc: use common_parse_init() in bc_vm_init() |
commit | commitdiff | tree | snapshot |
2018-12-11 |
Denys Vlasenko | bc: fix EOF handling in bc_program_read() |
commit | commitdiff | tree | snapshot |
2018-12-11 |
Denys Vlasenko | bc: tweak comment |
commit | commitdiff | tree | snapshot |
2018-12-11 |
Denys Vlasenko | bc: convert bc_program_asciify to "z" function |
commit | commitdiff | tree | snapshot |
next |