aboutsummaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Expand)Author
2018-12-18bc: another for() loop simplifiedDenys Vlasenko
2018-12-18bc: simplify another for() loopDenys Vlasenko
2018-12-18bc: rewrite more for() loopsDenys Vlasenko
2018-12-18bc: rewrite another for() loopDenys Vlasenko
2018-12-18bc: replace signed division / 10 by unsignedDenys Vlasenko
2018-12-18bc: rewrite bc_num_compare() to be readableDenys Vlasenko
2018-12-18bc: fold zbc_num_stream() into its single callerDenys Vlasenko
2018-12-18bc: get rid of BcNum BcProgram::ib,hexbDenys Vlasenko
2018-12-18bc: fixes to bugs found while testing 64-bit buildDenys Vlasenko
2018-12-18bc: fixed from 64-bit compileDenys Vlasenko
2018-12-17bc: remove "error after expression parsing" checkDenys Vlasenko
2018-12-17bc: tighten up input NUL handlingDenys Vlasenko
2018-12-17bc: simplify zdc_parse_string()Denys Vlasenko
2018-12-17bc: use common stringsDenys Vlasenko
2018-12-17bc: tidy up "z-function" macro machineryDenys Vlasenko
2018-12-17bc: parse file arguments piecemeal (do not read entire file)Denys Vlasenko
2018-12-17bc: move fflush to the _actual_ execution loopDenys Vlasenko
2018-12-17bc: fix typo: defone -> defineDenys Vlasenko
2018-12-17bc: factor out common codeDenys Vlasenko
2018-12-16bc: remove use of "BcInstPtr ip" object from loop parsingDenys Vlasenko
2018-12-16bc: store only index in p->exits, it's the only thing used thereDenys Vlasenko
2018-12-16bc: p->exits.func is never zero, do not check for thatDenys Vlasenko
2018-12-16bc: remove redundant JUMP generation when parsing 'while'Denys Vlasenko
2018-12-16bc: simplify use of "ip" in loop parsing functionsDenys Vlasenko
2018-12-16bc: shring bc_lib[]Denys Vlasenko
2018-12-16bc: shrink zbc_parse_if() a bit moreDenys Vlasenko
2018-12-16bc: stop using p->exits when parsing if()Denys Vlasenko
2018-12-16bc: preparation to stop using p->exits when parsing if()Denys Vlasenko
2018-12-16bc: fix "print 1,2,3" parsingDenys Vlasenko
2018-12-16bc: disallow empty statement as function bodyDenys Vlasenko
2018-12-16bc: allow only one <newline> between if() and stmtDenys Vlasenko
2018-12-16bc: simplify bc_parse_pushName(), do not free name in it - avoids one strdupDenys Vlasenko
2018-12-16bc: simplify zbc_parse_break_or_continue(), logic is the sameDenys Vlasenko
2018-12-16bc: fold zbc_parse_else() into its only callerDenys Vlasenko
2018-12-16bc: fold bc_parse_noElse() into its only callerDenys Vlasenko
2018-12-16bc: delete unused (write-only) BcParse::nbraces memberDenys Vlasenko
2018-12-16bc: fixes for multi-line if/while/forDenys Vlasenko
2018-12-16bc: fix handling of 'return' not in functions, and 'define f()<newline>{...}'Denys Vlasenko
2018-12-16bc: partially rewrite parser, tests pass, ^C might be broken nowDenys Vlasenko
2018-12-15bc: lexer debugging, added some failing test casesDenys Vlasenko
2018-12-15bc: simplify BC_INST_JUMP[_ZERO] handlingDenys Vlasenko
2018-12-15bc: rewrite "block flag stack" using simple realloc'ed byte arrayDenys Vlasenko
2018-12-14bc: drop zbc_parse_endBody() bool parameter, move its code to caller which us...Denys Vlasenko
2018-12-14bc: shorten one message, make defines more readableDenys Vlasenko
2018-12-14bc: pull zbc_lex_next() call out of zbc_parse_operator() into one caller that...Denys Vlasenko
2018-12-14bx: add more debug scaffoldingDenys Vlasenko
2018-12-14bc: convert macro bc_parse_push() to function, add debug infrastructureDenys Vlasenko
2018-12-14bc: rename zbc_parse_text() to ..._init(), reuse existing code for library pa...Denys Vlasenko
2018-12-14bc: compress two constant arguments of bc_lex_assign() to oneDenys Vlasenko
2018-12-14bc: remove stale comment, empty lines, regularize comment styleDenys Vlasenko