Age | Commit message (Expand) | Author |
2018-12-17 | bc: parse file arguments piecemeal (do not read entire file) | Denys Vlasenko |
2018-12-17 | bc: move fflush to the _actual_ execution loop | Denys Vlasenko |
2018-12-17 | bc: fix typo: defone -> define | Denys Vlasenko |
2018-12-17 | bc: factor out common code | Denys Vlasenko |
2018-12-16 | bc: remove use of "BcInstPtr ip" object from loop parsing | Denys Vlasenko |
2018-12-16 | bc: store only index in p->exits, it's the only thing used there | Denys Vlasenko |
2018-12-16 | bc: p->exits.func is never zero, do not check for that | Denys Vlasenko |
2018-12-16 | bc: remove redundant JUMP generation when parsing 'while' | Denys Vlasenko |
2018-12-16 | bc: simplify use of "ip" in loop parsing functions | Denys Vlasenko |
2018-12-16 | bc: shring bc_lib[] | Denys Vlasenko |
2018-12-16 | bc: shrink zbc_parse_if() a bit more | Denys Vlasenko |
2018-12-16 | bc: stop using p->exits when parsing if() | Denys Vlasenko |
2018-12-16 | bc: preparation to stop using p->exits when parsing if() | Denys Vlasenko |
2018-12-16 | bc: fix "print 1,2,3" parsing | Denys Vlasenko |
2018-12-16 | bc: disallow empty statement as function body | Denys Vlasenko |
2018-12-16 | bc: allow only one <newline> between if() and stmt | Denys Vlasenko |
2018-12-16 | bc: simplify bc_parse_pushName(), do not free name in it - avoids one strdup | Denys Vlasenko |
2018-12-16 | bc: simplify zbc_parse_break_or_continue(), logic is the same | Denys Vlasenko |
2018-12-16 | bc: fold zbc_parse_else() into its only caller | Denys Vlasenko |
2018-12-16 | bc: fold bc_parse_noElse() into its only caller | Denys Vlasenko |
2018-12-16 | bc: delete unused (write-only) BcParse::nbraces member | Denys Vlasenko |
2018-12-16 | bc: fixes for multi-line if/while/for | Denys Vlasenko |
2018-12-16 | bc: fix handling of 'return' not in functions, and 'define f()<newline>{...}' | Denys Vlasenko |
2018-12-16 | bc: partially rewrite parser, tests pass, ^C might be broken now | Denys Vlasenko |
2018-12-15 | bc: lexer debugging, added some failing test cases | Denys Vlasenko |
2018-12-15 | bc: simplify BC_INST_JUMP[_ZERO] handling | Denys Vlasenko |
2018-12-15 | bc: rewrite "block flag stack" using simple realloc'ed byte array | Denys Vlasenko |
2018-12-14 | bc: drop zbc_parse_endBody() bool parameter, move its code to caller which us... | Denys Vlasenko |
2018-12-14 | bc: shorten one message, make defines more readable | Denys Vlasenko |
2018-12-14 | bc: pull zbc_lex_next() call out of zbc_parse_operator() into one caller that... | Denys Vlasenko |
2018-12-14 | bx: add more debug scaffolding | Denys Vlasenko |
2018-12-14 | bc: convert macro bc_parse_push() to function, add debug infrastructure | Denys Vlasenko |
2018-12-14 | bc: rename zbc_parse_text() to ..._init(), reuse existing code for library pa... | Denys Vlasenko |
2018-12-14 | bc: compress two constant arguments of bc_lex_assign() to one | Denys Vlasenko |
2018-12-14 | bc: remove stale comment, empty lines, regularize comment style | Denys Vlasenko |
2018-12-14 | bc: tweak bc_num_parseDecimal() for readability, logic is not changed | Denys Vlasenko |
2018-12-14 | bc: shrink s() in library again | Denys Vlasenko |
2018-12-14 | bc: yet another library shrink | Denys Vlasenko |
2018-12-14 | bc: shrink internal library yet more | Denys Vlasenko |
2018-12-14 | bc: shrink internal library more | Denys Vlasenko |
2018-12-14 | bc: shrink internal library | Denys Vlasenko |
2018-12-14 | bc: group ENABLE_BC code a bit better, no logic changes | Denys Vlasenko |
2018-12-13 | bc: fix "dc only" bug | Denys Vlasenko |
2018-12-13 | bc: unbreak "only bc" and "only dc" configs | Denys Vlasenko |
2018-12-13 | bc: simplify bc_lex_whitespace() | Denys Vlasenko |
2018-12-13 | bc: G.sbgn and G.send are unused, remove them | Denys Vlasenko |
2018-12-13 | bc: simplify filename saving in zbc_vm_file() | Denys Vlasenko |
2018-12-13 | bc: do not append duplicate NUL, reduce indentation in bc_read_line() | Denys Vlasenko |
2018-12-13 | bc: change bc_read_line() and zbc_vm_stdin() to avoid double buffers | Denys Vlasenko |
2018-12-13 | bc: further simplification in zbc_vm_stdin() | Denys Vlasenko |