Denys Vlasenko
|
694d2982e5
bc: code shrink
|
6 years ago |
Denys Vlasenko
|
7b30bc0222
bc: shrink bc_program_pushVar()
|
6 years ago |
Denys Vlasenko
|
d340143247
bc: get rid of G.prog.ob, G.prog.strmb
|
6 years ago |
Denys Vlasenko
|
09fe0aaefa
bc: do not show -i in --help, it's a NOP (for now)
|
6 years ago |
Denys Vlasenko
|
7f2d59c38d
bc: style edit, no code changes
|
6 years ago |
Denys Vlasenko
|
3f940c9c70
bc: shrink bc_program_index()
|
6 years ago |
Denys Vlasenko
|
55f3cab7e9
bc: fix "echo -n '#foo' | bc" not eating last 'o'
|
6 years ago |
Denys Vlasenko
|
a199cc95b7
bc: shrink zdc_parse_expr()
|
6 years ago |
Denys Vlasenko
|
07597cd35d
bc: optimize zbc_lex_string()
|
6 years ago |
Denys Vlasenko
|
ef271da33f
bc: shrink zdc_lex_string()
|
6 years ago |
Denys Vlasenko
|
d4258dd321
bc: another for() loop simplified
|
6 years ago |
Denys Vlasenko
|
5c0c5abba0
bc: simplify another for() loop
|
6 years ago |
Denys Vlasenko
|
6b0fbd14fc
bc: rewrite more for() loops
|
6 years ago |
Denys Vlasenko
|
71c82d1d8c
bc: rewrite another for() loop
|
6 years ago |
Denys Vlasenko
|
e2e6ffd3c5
bc: replace signed division / 10 by unsigned
|
6 years ago |
Denys Vlasenko
|
4113e1f2cd
bc: rewrite bc_num_compare() to be readable
|
6 years ago |
Denys Vlasenko
|
57734c926b
bc: fold zbc_num_stream() into its single caller
|
6 years ago |
Denys Vlasenko
|
f6e3f8511e
bc: get rid of BcNum BcProgram::ib,hexb
|
6 years ago |
Denys Vlasenko
|
0f31a5c79e
bc: fixes to bugs found while testing 64-bit build
|
6 years ago |
Denys Vlasenko
|
f4f10720fe
bc: fixed from 64-bit compile
|
6 years ago |
Denys Vlasenko
|
4b72aebe80
bc: remove "error after expression parsing" check
|
6 years ago |
Denys Vlasenko
|
b44a7f1d66
bc: tighten up input NUL handling
|
6 years ago |
Denys Vlasenko
|
e42cc19b51
bc: simplify zdc_parse_string()
|
6 years ago |
Denys Vlasenko
|
59d4ce935e
bc: use common strings
|
6 years ago |
Denys Vlasenko
|
ec60318f15
bc: tidy up "z-function" macro machinery
|
6 years ago |
Denys Vlasenko
|
e4ba4c4371
bc: parse file arguments piecemeal (do not read entire file)
|
6 years ago |
Denys Vlasenko
|
c5774a3458
bc: move fflush to the _actual_ execution loop
|
6 years ago |
Denys Vlasenko
|
51b22b1bce
bc: fix typo: defone -> define
|
6 years ago |
Denys Vlasenko
|
94f72a387c
bc: factor out common code
|
6 years ago |
Denys Vlasenko
|
5ebd2a6128
bc: remove use of "BcInstPtr ip" object from loop parsing
|
6 years ago |