Denys Vlasenko
|
ace81cd46c
bc/dc: fix length(0) and length(0.000nnn) result
|
vor 3 Jahren |
Denys Vlasenko
|
008413754b
bc: fix comparison bug, closes 12336
|
vor 5 Jahren |
Denys Vlasenko
|
54f5c1d600
bc: support void functions (GNU compat)
|
vor 5 Jahren |
Denys Vlasenko
|
96b5ec10fb
bc: fix "...; return}" to work, disallow "return ()"
|
vor 5 Jahren |
Denys Vlasenko
|
cb7c955aeb
bc: generate large bc tests on the fly, -5 mbytes in the git tree
|
vor 5 Jahren |
Denys Vlasenko
|
266bec8ba7
bc: speed up string printing, fix print ""
|
vor 6 Jahren |
Denys Vlasenko
|
2231468a2f
bc: upstream fixes
|
vor 6 Jahren |
Denys Vlasenko
|
680ccd3573
bc: support ibase up to 36 (GNU compat)
|
vor 6 Jahren |
Denys Vlasenko
|
94576d2b97
bc: fix interactive handling of comments in strings and quotes in comments
|
vor 6 Jahren |
Denys Vlasenko
|
5fa74b9efc
bc: allow {break} and {continue} (allow RBRACE to terminate them)
|
vor 6 Jahren |
Denys Vlasenko
|
8c1e723596
bc: unbreak read(), remove checks for nested read()
|
vor 6 Jahren |
Denys Vlasenko
|
19eee8ed7c
bc: fix for() to not leave data on stack
|
vor 6 Jahren |
Denys Vlasenko
|
52caa007e3
bc: for(;;) fix from upstream
|
vor 6 Jahren |
Denys Vlasenko
|
5acd14ba5b
bc: fix keyword matching to not think "ifz" is the "if" keyword
|
vor 6 Jahren |
Denys Vlasenko
|
55f3cab7e9
bc: fix "echo -n '#foo' | bc" not eating last 'o'
|
vor 6 Jahren |
Denys Vlasenko
|
4b72aebe80
bc: remove "error after expression parsing" check
|
vor 6 Jahren |
Denys Vlasenko
|
266aa00012
bc: store only index in p->exits, it's the only thing used there
|
vor 6 Jahren |
Denys Vlasenko
|
de24e9d366
bc: remove redundant JUMP generation when parsing 'while'
|
vor 6 Jahren |
Denys Vlasenko
|
06ade77002
bc: simplify use of "ip" in loop parsing functions
|
vor 6 Jahren |
Denys Vlasenko
|
5d18f6be90
bc: fix "print 1,2,3" parsing
|
vor 6 Jahren |
Denys Vlasenko
|
a50576a415
bc: fold zbc_parse_else() into its only caller
|
vor 6 Jahren |
Denys Vlasenko
|
202dd1943c
bc: fixes for multi-line if/while/for
|
vor 6 Jahren |
Denys Vlasenko
|
e9519e44a6
bc: fix handling of 'return' not in functions, and 'define f()<newline>{...}'
|
vor 6 Jahren |
Denys Vlasenko
|
d1d29b4245
bc: partially rewrite parser, tests pass, ^C might be broken now
|
vor 6 Jahren |
Denys Vlasenko
|
99b3762335
bc: lexer debugging, added some failing test cases
|
vor 6 Jahren |
Denys Vlasenko
|
818b602c88
bc: fix another thinko
|
vor 6 Jahren |
Denys Vlasenko
|
766f67250f
bc: fix comment handling
|
vor 6 Jahren |
Denys Vlasenko
|
9a23b07c4c
testsuite: add bc and dc tests
|
vor 6 Jahren |