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
|
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
|
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
|
8598042deb
|
pic_list_p don't need to take pic_state *.
|
2014-03-16 23:12:07 +09:00 |
Yuichi Nishiwaki
|
751d0f87f8
|
typedef struct pic_code pic_code
|
2014-03-07 22:06:43 +09:00 |
Yuichi Nishiwaki
|
777f951caf
|
pic_compile now unsafe to compilation error
|
2014-03-03 22:49:59 +09:00 |
Yuichi Nishiwaki
|
306a5f53a5
|
string formatter follow srfi-28's spec
|
2014-03-03 22:44:38 +09:00 |
Yuichi Nishiwaki
|
c357a9302d
|
remove pic_list, and add pic_listn
|
2014-03-01 20:46:08 +09:00 |
Yuichi Nishiwaki
|
6e7567a598
|
my own read impl.
|
2014-03-01 20:21:44 +09:00 |
Yuichi Nishiwaki
|
1f858f05e3
|
avoid implicit int -> size_t cast
|
2014-02-27 22:14:21 +09:00 |
Yuichi Nishiwaki
|
067a4756ff
|
fix #58
|
2014-02-23 09:16:29 +09:00 |
Yuichi Nishiwaki
|
7c5d337119
|
support call-with-values in VM level
|
2014-02-20 18:38:09 +09:00 |
Yuichi Nishiwaki
|
942e053cde
|
compile values in tail position
|
2014-02-20 18:00:30 +09:00 |
Yuichi Nishiwaki
|
acc3afc120
|
don't emit debug message into stderr
|
2014-02-20 17:58:00 +09:00 |
Yuichi Nishiwaki
|
0f75a1b7cb
|
let OP_RET take an argument
|
2014-02-20 16:01:29 +09:00 |
Yuichi Nishiwaki
|
098d5dc022
|
s/syntax/macro/g
|
2014-02-12 11:13:29 +09:00 |
Yuichi Nishiwaki
|
527f46480a
|
rename symbols before macro lookup
|
2014-02-12 10:39:20 +09:00 |
Yuichi Nishiwaki
|
34c10b0054
|
unify includes of stdio and assert
|
2014-02-11 23:25:25 +09:00 |
Yuichi Nishiwaki
|
855702716c
|
clarify some error messages
|
2014-02-11 21:36:11 +09:00 |
Yuichi Nishiwaki
|
b0d955c771
|
analyze in order
|
2014-02-08 03:17:49 +09:00 |
Yuichi Nishiwaki
|
7288cd0614
|
redefinition might be against a local variable
|
2014-02-07 02:15:08 +09:00 |
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 |