Denys Vlasenko
|
ae0faf91d0
bc: convert even more of lexer functions to "z" convention
|
6 years ago |
Denys Vlasenko
|
8cd468f604
bc: convert more of lexer functions to "z" convention
|
6 years ago |
Denys Vlasenko
|
9a34e89289
bc: partially convert lexer functions to "z" convention
|
6 years ago |
Denys Vlasenko
|
251fbb57be
bc: code shrink in bc_num_cmp()
|
6 years ago |
Denys Vlasenko
|
16494f557f
bc: simplify zbc_program_logical()
|
6 years ago |
Denys Vlasenko
|
69171dc466
bc: simplify nested read() check
|
6 years ago |
Denys Vlasenko
|
12b9eaf787
bc: in non-interactive config, POSIX error functions never return nonzero
|
6 years ago |
Denys Vlasenko
|
f0f069b08f
bc: use common_parse_init() in bc_vm_init()
|
6 years ago |
Denys Vlasenko
|
4dd3652c2f
bc: fix EOF handling in bc_program_read()
|
6 years ago |
Denys Vlasenko
|
2c6f563216
bc: tweak comment
|
6 years ago |
Denys Vlasenko
|
c008a73762
bc: convert bc_program_asciify to "z" function
|
6 years ago |
Denys Vlasenko
|
9f657e0f7d
bc: shrink bc_program_printString
|
6 years ago |
Denys Vlasenko
|
259137d0f0
bc: convert zbc_program_op to "z" function, fix a thinko in prev commits
|
6 years ago |
Denys Vlasenko
|
728e7c9ecb
bc: convert bc_program_logical to "z" function
|
6 years ago |
Denys Vlasenko
|
09d8df84ee
bc: do not use "(cond ? f1 : f2)(params)" idiom, it messes up static function optimizations
|
6 years ago |
Denys Vlasenko
|
7f4daa4f58
bc: convert arithmetic calc functions to "z" logic
|
6 years ago |
Denys Vlasenko
|
1aeacefbb3
bc: rename arithmetic calc functions to "z" functions, no code changes
|
6 years ago |
Denys Vlasenko
|
c2d15dff42
bc: move declarations around, no code changes
|
6 years ago |
Denys Vlasenko
|
c355c4a7d6
bc: code shrink in zbc_lex_number()
|
6 years ago |
Denys Vlasenko
|
b402ff844c
bc: make bc_program_pushVar "z-function"
|
6 years ago |
Denys Vlasenko
|
2930123279
bc: improve "noninteractive" macro machinery so that even "return zero" code is not generated
|
6 years ago |
Denys Vlasenko
|
91cde95916
bc: it's not clear bc_vm_file() always exits on errors, remove ERRORS_ARE_FATAL
|
6 years ago |
Denys Vlasenko
|
628bf1bc63
bc: more ERRORS_ARE_FATAL annotations
|
6 years ago |
Denys Vlasenko
|
88cfea6a81
bc: stop checking for name length in bc_lex_name()
|
6 years ago |
Denys Vlasenko
|
fa35e598ab
bc: optimize non-interactive config: we know that many functions always succeed
|
6 years ago |
Denys Vlasenko
|
86e63cdeca
bc: in non-interactive config, let compiler know that error funcs do not return
|
6 years ago |
Denys Vlasenko
|
dafbc2cdb8
bc: simplify bc_num_parseDecimal() further
|
6 years ago |
Denys Vlasenko
|
5ba55f1f35
bc: make all function pointers FAST_FUNC, on i486 this saves ~400 bytes
|
6 years ago |
Denys Vlasenko
|
c665c183f1
bc: 0xffffffffffffffff may be larger than unsigned long
|
6 years ago |
Denys Vlasenko
|
8b4cf0dbb0
bc: optimize bc_vec_concat()
|
6 years ago |