summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
...
| * bc: parse file arguments piecemeal (do not read entire file)Denys Vlasenko2018-12-171-105/+78
| * bc: move fflush to the _actual_ execution loopDenys Vlasenko2018-12-171-1/+2
| * bc: fix typo: defone -> defineDenys Vlasenko2018-12-171-1/+1
| * bc: factor out common codeDenys Vlasenko2018-12-171-57/+51
| * bc: remove use of "BcInstPtr ip" object from loop parsingDenys Vlasenko2018-12-161-19/+9
| * bc: store only index in p->exits, it's the only thing used thereDenys Vlasenko2018-12-162-8/+22
| * bc: p->exits.func is never zero, do not check for thatDenys Vlasenko2018-12-161-19/+7
| * bc: remove redundant JUMP generation when parsing 'while'Denys Vlasenko2018-12-162-11/+32
| * bc: simplify use of "ip" in loop parsing functionsDenys Vlasenko2018-12-162-6/+33
| * bc: shring bc_lib[]Denys Vlasenko2018-12-161-2/+2
| * bc: shrink zbc_parse_if() a bit moreDenys Vlasenko2018-12-161-16/+14
| * bc: stop using p->exits when parsing if()Denys Vlasenko2018-12-161-13/+5
| * bc: preparation to stop using p->exits when parsing if()Denys Vlasenko2018-12-161-5/+7
| * bc: fix "print 1,2,3" parsingDenys Vlasenko2018-12-162-23/+13
| * bc: disallow empty statement as function bodyDenys Vlasenko2018-12-161-7/+7
| * bc: allow only one <newline> between if() and stmtDenys Vlasenko2018-12-161-4/+13
| * bc: simplify bc_parse_pushName(), do not free name in it - avoids one strdupDenys Vlasenko2018-12-161-8/+5
| * bc: simplify zbc_parse_break_or_continue(), logic is the sameDenys Vlasenko2018-12-161-11/+10
| * bc: fold zbc_parse_else() into its only callerDenys Vlasenko2018-12-162-38/+26
| * bc: fold bc_parse_noElse() into its only callerDenys Vlasenko2018-12-161-15/+7
| * bc: delete unused (write-only) BcParse::nbraces memberDenys Vlasenko2018-12-161-21/+20
| * bc: fixes for multi-line if/while/forDenys Vlasenko2018-12-162-8/+45
| * bc: fix handling of 'return' not in functions, and 'define f()<newline>{...}'Denys Vlasenko2018-12-162-8/+29
| * bc: partially rewrite parser, tests pass, ^C might be broken nowDenys Vlasenko2018-12-163-373/+266
| * bc: lexer debugging, added some failing test casesDenys Vlasenko2018-12-152-38/+89
| * bc: simplify BC_INST_JUMP[_ZERO] handlingDenys Vlasenko2018-12-151-9/+12
| * bc: rewrite "block flag stack" using simple realloc'ed byte arrayDenys Vlasenko2018-12-151-20/+23
| * bc: drop zbc_parse_endBody() bool parameter, move its code to caller which us...Denys Vlasenko2018-12-141-14/+9
| * bc: shorten one message, make defines more readableDenys Vlasenko2018-12-141-51/+38
| * bc: pull zbc_lex_next() call out of zbc_parse_operator() into one caller that...Denys Vlasenko2018-12-141-16/+8
| * bx: add more debug scaffoldingDenys Vlasenko2018-12-141-4/+21
| * bc: convert macro bc_parse_push() to function, add debug infrastructureDenys Vlasenko2018-12-141-11/+53
| * bc: rename zbc_parse_text() to ..._init(), reuse existing code for library pa...Denys Vlasenko2018-12-141-14/+6
| * bc: compress two constant arguments of bc_lex_assign() to oneDenys Vlasenko2018-12-141-9/+20
| * bc: remove stale comment, empty lines, regularize comment styleDenys Vlasenko2018-12-141-44/+34
| * bc: tweak bc_num_parseDecimal() for readability, logic is not changedDenys Vlasenko2018-12-141-3/+3
| * bc: shrink s() in library againDenys Vlasenko2018-12-141-6/+2
| * bc: yet another library shrinkDenys Vlasenko2018-12-141-1/+1
| * bc: shrink internal library yet moreDenys Vlasenko2018-12-141-1/+1
| * bc: shrink internal library moreDenys Vlasenko2018-12-141-2/+8
| * bc: shrink internal libraryDenys Vlasenko2018-12-141-20/+14
| * bc: group ENABLE_BC code a bit better, no logic changesDenys Vlasenko2018-12-141-73/+71
| * bc: fix "dc only" bugDenys Vlasenko2018-12-131-2/+1
| * bc: unbreak "only bc" and "only dc" configsDenys Vlasenko2018-12-131-5/+6
| * bc: simplify bc_lex_whitespace()Denys Vlasenko2018-12-131-2/+6
| * bc: G.sbgn and G.send are unused, remove themDenys Vlasenko2018-12-131-8/+2
| * bc: simplify filename saving in zbc_vm_file()Denys Vlasenko2018-12-131-4/+7
| * bc: do not append duplicate NUL, reduce indentation in bc_read_line()Denys Vlasenko2018-12-131-53/+52
| * bc: change bc_read_line() and zbc_vm_stdin() to avoid double buffersDenys Vlasenko2018-12-131-27/+34
| * bc: further simplification in zbc_vm_stdin()Denys Vlasenko2018-12-131-35/+34