Yuichi Nishiwaki
|
c9eb612561
|
do variable closing operation not in OP_CALL but in OP_RET
|
2014-03-23 12:10:34 +09:00 |
Yuichi Nishiwaki
|
626ebefa65
|
Merge branch 'remove-resolver-pass'
|
2014-03-23 11:59:47 +09:00 |
Yuichi Nishiwaki
|
74294c819f
|
remove resolver pass
|
2014-03-23 11:55:06 +09:00 |
Yuichi Nishiwaki
|
312c977c17
|
distinguish lref and cref at analysis stage
|
2014-03-23 11:28:11 +09:00 |
Yuichi Nishiwaki
|
0bcb970842
|
handle grefs at analyzing stage
|
2014-03-23 11:10:27 +09:00 |
Yuichi Nishiwaki
|
14eba8f92d
|
Merge branch 'refactor-codegen3'
|
2014-03-22 20:00:23 +09:00 |
Yuichi Nishiwaki
|
d8ab5cadd1
|
cleanup. rename local variable.
|
2014-03-22 19:19:49 +09:00 |
Yuichi Nishiwaki
|
ac4e46783c
|
remove unused property
|
2014-03-22 19:13:46 +09:00 |
Yuichi Nishiwaki
|
12852b0628
|
s/cv_num/capturec/g
|
2014-03-22 19:13:07 +09:00 |
Yuichi Nishiwaki
|
bdcf8a4bcb
|
change ugly implementation; don't call realloc for each puching!
|
2014-03-22 19:04:42 +09:00 |
Yuichi Nishiwaki
|
cb2f9fece3
|
separate cv table creation
|
2014-03-22 18:58:25 +09:00 |
Yuichi Nishiwaki
|
5a56f57782
|
hold local variables information in codegen_context
|
2014-03-22 18:46:57 +09:00 |
Yuichi Nishiwaki
|
046fae1adb
|
grammer error fix
|
2014-03-22 18:41:46 +09:00 |
Yuichi Nishiwaki
|
510af57ce5
|
explict type cast for return valus from pic_*allloc family is not mandatory
|
2014-03-22 18:29:14 +09:00 |
Yuichi Nishiwaki
|
a9e98b1c31
|
small CSE optimize for irep
|
2014-03-22 18:23:33 +09:00 |
Yuichi Nishiwaki
|
2906076f84
|
Merge branch 'refactor-codegen2'
|
2014-03-21 12:52:39 +09:00 |
Yuichi Nishiwaki
|
189487b026
|
[bugfix] don't push symbols doubly to captured variable list
|
2014-03-21 12:51:57 +09:00 |
Yuichi Nishiwaki
|
9a3ff987af
|
define pic_push/pic_pop macro in pair.h
|
2014-03-21 12:36:46 +09:00 |
Yuichi Nishiwaki
|
a9a530c9bd
|
memorize only list of captured symbols
|
2014-03-21 12:34:45 +09:00 |
Yuichi Nishiwaki
|
77d74fd592
|
Merge branch 'refactor-codegen'
|
2014-03-21 08:24:20 +09:00 |
Yuichi Nishiwaki
|
91065a7c25
|
add commentary to lambda analyzer to avoid regression
|
2014-03-21 08:20:33 +09:00 |
Yuichi Nishiwaki
|
b6b47943bb
|
use enum value for variable marking
|
2014-03-21 08:17:52 +09:00 |
Yuichi Nishiwaki
|
cfde253f26
|
split xvect module
|
2014-03-20 23:09:45 +09:00 |
Yuichi Nishiwaki
|
53cd2942d1
|
change xvect API
|
2014-03-20 22:12:20 +09:00 |
Yuichi Nishiwaki
|
0c12784da5
|
use xvect
|
2014-03-20 21:56:49 +09:00 |
Yuichi Nishiwaki
|
0b4cb76834
|
add xvect
|
2014-03-20 21:17:28 +09:00 |
Yuichi Nishiwaki
|
1548a17b35
|
cleanup
|
2014-03-20 13:48:51 +09:00 |
Yuichi Nishiwaki
|
37a87046b7
|
remove redundant arena management
|
2014-03-20 13:48:32 +09:00 |
Yuichi Nishiwaki
|
3158a41772
|
refactor analyze_args
|
2014-03-20 13:41:47 +09:00 |
Yuichi Nishiwaki
|
6d6420f2b9
|
refactor analyze_var
|
2014-03-20 11:44:12 +09:00 |
Yuichi Nishiwaki
|
0cb8920276
|
refactor analyzer
|
2014-03-19 21:45:02 +09:00 |
Yuichi Nishiwaki
|
5776940420
|
POPN macro was not used
|
2014-03-19 19:49:09 +09:00 |
Yuichi Nishiwaki
|
bc602aa767
|
pic_state is not used in pic_dump_*
|
2014-03-19 19:44:45 +09:00 |
Yuichi Nishiwaki
|
e80c3cc60b
|
move irep dump function definitions to irep.h
|
2014-03-19 19:41:24 +09:00 |
Yuichi Nishiwaki
|
fc5ea838ab
|
move global variable accessor/mutator definitions to vm.c
|
2014-03-19 19:38:40 +09:00 |
Yuichi Nishiwaki
|
8542bc479e
|
Merge branch 'master' of github.com:wasabiz/picrin
|
2014-03-19 18:31:07 +09:00 |
Yuichi Nishiwaki
|
e9d5fb3ab5
|
remove redundant prefixes
|
2014-03-19 17:55:52 +09:00 |
Yuichi Nishiwaki
|
a20356952b
|
refactor GENSYM macro
|
2014-03-19 17:52:54 +09:00 |
Yuichi Nishiwaki
|
0b7597b80b
|
reafactor noreturn macro
|
2014-03-19 17:45:35 +09:00 |
Yuichi Nishiwaki
|
8625f75470
|
move utility macros to picrin/util.h
|
2014-03-19 17:43:53 +09:00 |
Yuichi Nishiwaki
|
ef7d01971b
|
publish UNREACHABLE macro
|
2014-03-19 17:40:31 +09:00 |
Yuichi Nishiwaki
|
acfa79bc62
|
s/NORETURN/noreturn/g
|
2014-03-19 17:37:06 +09:00 |
Yuichi Nishiwaki
|
41a3e17904
|
no unistd.h in lex.yy.c
|
2014-03-19 17:35:54 +09:00 |
Yuichi Nishiwaki
|
cd657e7f9b
|
Merge pull request #72 from koba-e964/master
[bugfix] circular-list?, proper-list?
|
2014-03-17 11:57:46 +09:00 |
koba-e964
|
dfb525157e
|
[bugfix] circular-list? in srfi-1
circular-list? does not get stuck in an infinite loop if it is given a list such as '(1 2 3 2 3 2 3 2 3 ...).
|
2014-03-17 10:43:39 +09:00 |
koba-e964
|
21b17cfd59
|
[bigfix] circular-list?
Fix a bug in circular-list?
|
2014-03-17 10:03:29 +09:00 |
Yuichi Nishiwaki
|
04375c3056
|
[bugfix] propagate errors through the VM
|
2014-03-16 23:32:28 +09:00 |
Yuichi Nishiwaki
|
00d92c79bf
|
pic_length is now unsafe to circular list
|
2014-03-16 23:13:03 +09:00 |
Yuichi Nishiwaki
|
8598042deb
|
pic_list_p don't need to take pic_state *.
|
2014-03-16 23:12:07 +09:00 |
Yuichi Nishiwaki
|
27d4853aef
|
refactor pic_list_p
|
2014-03-16 22:51:33 +09:00 |