Yuichi Nishiwaki
|
d74b82b1a5
|
warn global variable redefinition
|
2014-02-07 02:12:43 +09:00 |
Yuichi Nishiwaki
|
620fee4236
|
refactor global_ref and global_def
|
2014-02-07 01:48:56 +09:00 |
Yuichi Nishiwaki
|
c75d6e5789
|
refactor global_def
|
2014-02-07 01:42:28 +09:00 |
Yuichi Nishiwaki
|
ae5acd005c
|
refactor global_ref
|
2014-02-07 01:42:15 +09:00 |
Yuichi Nishiwaki
|
e7d38ea165
|
rename scope_global_define -> global_def
|
2014-02-07 01:31:45 +09:00 |
Yuichi Nishiwaki
|
faac3f7e9d
|
include xhash in picrin.h
|
2014-02-07 01:24:51 +09:00 |
Yuichi Nishiwaki
|
53979bf848
|
prefer type alias to types with 'struct'
|
2014-02-07 01:15:17 +09:00 |
Yuichi Nishiwaki
|
a4062b5b76
|
use xh_new_int
|
2014-02-07 01:08:57 +09:00 |
Yuichi Nishiwaki
|
c1e5eefbbd
|
staticize compile function
|
2014-02-04 18:54:33 +09:00 |
Yuichi Nishiwaki
|
849746b919
|
remove redundant message
|
2014-02-04 18:54:01 +09:00 |
Yuichi Nishiwaki
|
f29f10ddd7
|
clenaup debug message format
|
2014-02-04 18:53:51 +09:00 |
Yuichi Nishiwaki
|
060fb227a7
|
refactor pic_compile
|
2014-02-04 18:53:40 +09:00 |
Yuichi Nishiwaki
|
2d544ffa01
|
toplevel expression can be considered tail expresssion
|
2014-02-04 18:23:37 +09:00 |
Yuichi Nishiwaki
|
ae2cae8a47
|
duplicate OP_RET
|
2014-02-04 18:22:18 +09:00 |
Yuichi Nishiwaki
|
3a4bf769ce
|
don't emit duplicate OP_RET in codegen_lambda
|
2014-02-04 18:20:51 +09:00 |
Yuichi Nishiwaki
|
f59ce74148
|
add RETURN node
|
2014-02-04 18:20:35 +09:00 |
Yuichi Nishiwaki
|
dd547ac093
|
add OP_NOP
|
2014-02-04 16:58:50 +09:00 |
Yuichi Nishiwaki
|
96fc08dd0b
|
[bugfix] close only closed variables...
|
2014-02-04 14:20:01 +09:00 |
Yuichi Nishiwaki
|
2022fa163b
|
fix #26
|
2014-02-04 10:18:31 +09:00 |
Yuichi Nishiwaki
|
ab411cc298
|
gcc complains that he can't assure if switch-enum is complete
|
2014-01-19 00:32:43 -08:00 |
Yuichi Nishiwaki
|
b66021c042
|
print bytecode index in hex
|
2014-02-02 21:16:23 +09:00 |
Yuichi Nishiwaki
|
4a01b8296f
|
emit OP_NOT
|
2014-02-02 14:55:46 +09:00 |
Yuichi Nishiwaki
|
c5c3f4c1f5
|
use newer API of xhash
|
2014-02-01 20:01:26 +09:00 |
Yuichi Nishiwaki
|
2f50f92ddc
|
use pic_for_each
|
2014-02-01 16:05:29 +09:00 |
Yuichi Nishiwaki
|
54b318f3e1
|
remove new_irep
|
2014-02-01 13:44:43 +09:00 |
Yuichi Nishiwaki
|
53fe18a94e
|
delete OP_PUSHFLOAT
|
2014-01-31 03:11:28 +09:00 |
Yuichi Nishiwaki
|
9172dc9f31
|
remove old pic_symbol_p macro
|
2014-01-31 03:03:36 +09:00 |
Yuichi Nishiwaki
|
173d4dcf07
|
use UNUSED macro
|
2014-01-30 18:15:59 +09:00 |
Yuichi Nishiwaki
|
8ae55bd9b6
|
unification uses of int and size_t. use size_t for every variable that
can possibly be used as an array index.
|
2014-01-30 18:14:33 +09:00 |
Yuichi Nishiwaki
|
e8258edfa7
|
remove use of typo'd name function
|
2014-01-30 14:33:16 +09:00 |
Yuichi Nishiwaki
|
4d95707db5
|
add FALLTHROUGH macro
|
2014-01-30 14:13:01 +09:00 |
Yuichi Nishiwaki
|
75037adfaa
|
hide debug prints
|
2014-01-30 13:50:47 +09:00 |
Yuichi Nishiwaki
|
f32e542392
|
analyze should not emit raw self-evaluating values
|
2014-01-30 13:47:58 +09:00 |
Yuichi Nishiwaki
|
64038fae02
|
unwrap begin expression if it contains 1 or 0 expressions inside
|
2014-01-30 13:36:49 +09:00 |
Yuichi Nishiwaki
|
b5cf174b5c
|
wrong FOLD_ARGS impl
|
2014-01-27 22:20:31 +09:00 |
Yuichi Nishiwaki
|
8255e11486
|
gc management
|
2014-01-27 22:20:18 +09:00 |
Yuichi Nishiwaki
|
8343ccd675
|
[bugfix] lset never be emit
|
2014-01-27 22:20:08 +09:00 |
Yuichi Nishiwaki
|
82ea416c34
|
get rid of redundant code in is_closed function
|
2014-01-27 22:19:33 +09:00 |
Yuichi Nishiwaki
|
2f8b016d86
|
improve debug prints
|
2014-01-27 22:18:49 +09:00 |
Yuichi Nishiwaki
|
30fcd6468f
|
reverse condition for tail position marking
|
2014-01-27 21:24:10 +09:00 |
Yuichi Nishiwaki
|
3418aebe3f
|
remove unused properties
|
2014-01-27 21:20:12 +09:00 |
Yuichi Nishiwaki
|
c3fd4addc3
|
change AST format
|
2014-01-27 21:20:00 +09:00 |
Yuichi Nishiwaki
|
a2d9d2f93a
|
resolve TODOs
|
2014-01-27 21:18:03 +09:00 |
Yuichi Nishiwaki
|
52927ac452
|
gc resolver
|
2014-01-27 21:17:24 +09:00 |
Yuichi Nishiwaki
|
244ec06953
|
add implicit casts from void *
|
2014-01-27 21:17:04 +09:00 |
Yuichi Nishiwaki
|
26544ff6fd
|
dump ireps recursively
|
2014-01-27 21:14:59 +09:00 |
Yuichi Nishiwaki
|
15ca95eb8f
|
improve debug prints
|
2014-01-27 21:14:41 +09:00 |
Yuichi Nishiwaki
|
9dd04fd3b3
|
impl resolver
|
2014-01-24 17:11:37 +09:00 |
Yuichi Nishiwaki
|
6b20e004e5
|
[bugfix] var must be a symbol
|
2014-01-24 17:11:15 +09:00 |
Yuichi Nishiwaki
|
237e8c26a6
|
wrong length for call operation
|
2014-01-24 17:10:51 +09:00 |