Commit Graph

11 Commits

Author SHA1 Message Date
Rui Ueyama
0ce1093027 Handle flonum for if, while, do, !, ?:, || and && 2020-12-07 12:00:06 +09:00
Rui Ueyama
ee252e6ce7 Add do ... while 2020-12-07 12:00:06 +09:00
Rui Ueyama
044d9ae07b Add switch-case 2020-12-07 12:00:06 +09:00
Rui Ueyama
3c83dfd8af Add continue statement 2020-12-07 12:00:06 +09:00
Rui Ueyama
b3047f2317 Add break statement 2020-12-07 12:00:06 +09:00
Rui Ueyama
a4be55b333 Resolve conflict between labels and typedefs 2020-12-07 12:00:06 +09:00
Rui Ueyama
6116cae4c4 Add goto and labeled statement 2020-12-07 12:00:06 +09:00
Rui Ueyama
f30f78175c Add && and || 2020-12-07 12:00:06 +09:00
Rui Ueyama
a4fea2ba3e Allow for-loops to define local variables 2020-12-07 12:00:06 +09:00
Rui Ueyama
e6307ad374 Add comma operator
This patch allows writing a comma expression on the left-hand side
of an assignment expression. This is called the "generalized lvalue"
which is a deprecated GCC language extension. I'm implementing it
anyway because it's useful to implement other features.
2020-10-15 14:22:16 +09:00
Rui Ueyama
cd832a311e Rewrite tests in shell script in C 2020-10-15 14:22:15 +09:00