Yuichi Nishiwaki
|
d48ae9227a
|
impl strdup and strndup by myself
|
2014-02-01 19:31:59 +09:00 |
Yuichi Nishiwaki
|
2f50f92ddc
|
use pic_for_each
|
2014-02-01 16:05:29 +09:00 |
Yuichi Nishiwaki
|
47f4060086
|
rewrite deflibrary using gensym
|
2014-02-01 15:41:30 +09:00 |
Yuichi Nishiwaki
|
5080294472
|
change return value of pic_get_args
|
2014-02-01 14:23:21 +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
|
f7a871b1e8
|
delete value.c
|
2014-01-30 21:52:10 +09:00 |
Yuichi Nishiwaki
|
2dd8d2746d
|
move all contents in value.c to value.h
|
2014-01-30 21:51:26 +09:00 |
Yuichi Nishiwaki
|
f29e7b9cf1
|
inline definitions for pic_*_value()s
|
2014-01-30 20:58:27 +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
|
c1e2528395
|
depress warnings about unused variables in scan.l
|
2014-01-30 18:10:56 +09:00 |
Yuichi Nishiwaki
|
1d2fa33372
|
some of global tables are missed to free
|
2014-01-30 14:34:09 +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
|
7c35e50260
|
add NORETURN macro
|
2014-01-30 14:08:36 +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
|
d471dba322
|
current codegen not supporting env chain short cut
|
2014-01-27 22:24:12 +09:00 |
Yuichi Nishiwaki
|
055272f0d5
|
arena management in pic_list
|
2014-01-27 22:20:46 +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
|
09840601c4
|
fflush buffer in pic_debug
|
2014-01-24 17:11:52 +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 |
Yuichi Nishiwaki
|
2126f5b453
|
rename local variables
|
2014-01-24 17:10:19 +09:00 |
Yuichi Nishiwaki
|
f3e2321679
|
add missing returns
|
2014-01-24 17:09:51 +09:00 |
Yuichi Nishiwaki
|
a35606dc16
|
gref/cref/lref are not used by analyzer
|
2014-01-24 17:09:06 +09:00 |
Yuichi Nishiwaki
|
cfdf1ceaf8
|
cleaning up
|
2014-01-24 17:08:35 +09:00 |
Yuichi Nishiwaki
|
56e90f564c
|
quote everything
|
2014-01-23 19:21:37 +09:00 |
Yuichi Nishiwaki
|
03e21218a5
|
remove depth property
|
2014-01-23 19:21:17 +09:00 |
Yuichi Nishiwaki
|
b2c5f5cb6d
|
change ast format
|
2014-01-23 18:57:18 +09:00 |
Yuichi Nishiwaki
|
66a7e653ba
|
change analyze_args API
|
2014-01-23 18:56:52 +09:00 |
Yuichi Nishiwaki
|
801c04788f
|
add cv_foo properties to codegen_context
|
2014-01-23 18:55:39 +09:00 |
Yuichi Nishiwaki
|
75167697f0
|
start using pic_list_ref and pic_list_tail
|
2014-01-23 16:32:20 +09:00 |
Yuichi Nishiwaki
|
2e28f604a6
|
Merge branch 'master' into analyzer
Conflicts:
include/picrin/pair.h
src/pair.c
|
2014-01-23 16:21:10 +09:00 |
Yuichi Nishiwaki
|
c7811f0c39
|
add depth property
|
2014-01-23 16:17:52 +09:00 |
Yuichi Nishiwaki
|
6d346fef87
|
unify the names of IR reference nodes to a name 'ref'
|
2014-01-23 15:18:41 +09:00 |
Yuichi Nishiwaki
|
3dbafd58be
|
cleanup
|
2014-01-23 15:03:43 +09:00 |
Yuichi Nishiwaki
|
95c5361197
|
rewrite min/max/gcd/lcm with C
|
2014-01-22 23:47:33 +09:00 |
Yuichi Nishiwaki
|
2f965fa809
|
replace some number predicates with c imples
|
2014-01-22 22:58:08 +09:00 |
Yuichi Nishiwaki
|
5dd66cbcd1
|
replace list-copy and make-list impls by scheme with ones by C
|
2014-01-22 22:37:27 +09:00 |
Yuichi Nishiwaki
|
c539f889cd
|
native implementatino of for-each
|
2014-01-22 22:21:48 +09:00 |
Yuichi Nishiwaki
|
85a5745716
|
native implmentation of map
|
2014-01-22 22:18:25 +09:00 |
Yuichi Nishiwaki
|
74088d0130
|
replace list-set! impl with C impl
|
2014-01-22 21:35:13 +09:00 |
Yuichi Nishiwaki
|
d07456466d
|
replace cxxr and list? impls by scheme with ones by C
|
2014-01-22 21:29:11 +09:00 |
Yuichi Nishiwaki
|
7fc2885fad
|
replace list impl by scheme with impl by C
|
2014-01-22 21:20:13 +09:00 |
Yuichi Nishiwaki
|
bbd1ec3fbb
|
replace length/reverse/append impls with c functions
|
2014-01-22 21:14:10 +09:00 |
Yuichi Nishiwaki
|
67d4d28d19
|
impl list-ref and list-tail as C functions
|
2014-01-22 21:00:29 +09:00 |
Yuichi Nishiwaki
|
7865cfe9b3
|
add pic_append
|
2014-01-22 20:57:14 +09:00 |
Yuichi Nishiwaki
|
a443d9e3f6
|
add pic_list_ref and pic_list_tail
|
2014-01-22 20:57:05 +09:00 |
Yuichi Nishiwaki
|
655eb7a3bd
|
add pic_compile
|
2014-01-20 16:57:39 +09:00 |
Yuichi Nishiwaki
|
293fef5235
|
add pic_list_ref
|
2014-01-20 16:43:54 +09:00 |
Yuichi Nishiwaki
|
78420ef042
|
remove unused properties
|
2014-01-20 13:22:45 +09:00 |
Yuichi Nishiwaki
|
35cf4e1fcd
|
initialize with global scope
|
2014-01-20 13:15:09 +09:00 |
Yuichi Nishiwaki
|
b2c74552f2
|
change lookup_var API
|
2014-01-20 13:04:21 +09:00 |
Yuichi Nishiwaki
|
fbeb32ee83
|
typo
|
2014-01-20 11:16:52 +09:00 |
Yuichi Nishiwaki
|
6dcf04d50c
|
fix some bugs
|
2014-01-18 22:36:02 -08:00 |
Yuichi Nishiwaki
|
14eb6b334d
|
arena management
|
2014-01-18 22:35:36 -08:00 |
Yuichi Nishiwaki
|
ae933252c9
|
add analyzer prototype
|
2014-01-18 20:20:28 -08:00 |
Yuichi Nishiwaki
|
0ceb9c9953
|
add sSYMBOLs to pic_state
|
2014-01-18 11:47:32 -08:00 |
Yuichi Nishiwaki
|
395f48bc81
|
move rSYMBOLs from pic_state to codegen_state
|
2014-01-18 11:47:18 -08:00 |
Yuichi Nishiwaki
|
9495e9bf5c
|
alloc functions may take 0 for the size
|
2014-01-18 07:33:51 -08:00 |
Yuichi Nishiwaki
|
1aa35891ad
|
[bugfix] must multiply the size by sizeof(struct) when using realloc function
|
2014-01-18 23:01:11 +09:00 |
Yuichi Nishiwaki
|
a315f518d2
|
auto-extend constant pool array
|
2014-01-18 22:56:43 +09:00 |
Yuichi Nishiwaki
|
9fadf16fdb
|
make iseq length configurable
|
2014-01-18 22:54:28 +09:00 |
Yuichi Nishiwaki
|
494989ff3e
|
embed constant pool into irep object
|
2014-01-18 22:32:41 +09:00 |
Yuichi Nishiwaki
|
a0f27a68cd
|
grammartical fix
|
2014-01-18 22:31:40 +09:00 |
Yuichi Nishiwaki
|
fdac5061fd
|
free irep->irep
|
2014-01-18 22:31:25 +09:00 |
Yuichi Nishiwaki
|
5e616e7774
|
store irep objects inside parent irep object
|
2014-01-18 21:48:50 +09:00 |
Yuichi Nishiwaki
|
4f5743ad0f
|
shrink code size
|
2014-01-18 21:47:52 +09:00 |
Yuichi Nishiwaki
|
53e3e019de
|
ccapa property no longer used
|
2014-01-18 21:03:12 +09:00 |
Yuichi Nishiwaki
|
d3412deae1
|
duplicate variable binding
|
2014-01-18 20:53:16 +09:00 |
Yuichi Nishiwaki
|
801d92e0a4
|
store constructing iseq in scope object, not pic_irep
|
2014-01-18 20:49:01 +09:00 |
Yuichi Nishiwaki
|
05a69d10dd
|
cosmetic changes
|
2014-01-18 17:19:46 +09:00 |
Yuichi Nishiwaki
|
a9574155b8
|
do not free objects in pic->irep by hands
|
2014-01-18 16:59:43 +09:00 |
Yuichi Nishiwaki
|
82e205bbd0
|
Merge branch 'master' into irep-gc
|
2014-01-18 16:58:24 +09:00 |
Yuichi Nishiwaki
|
9d18af51da
|
some global stacks are missed to free
|
2014-01-18 16:58:14 +09:00 |
Yuichi Nishiwaki
|
0db09b146c
|
ireps generated by top codegen are not registered to pic->irep. get them
marked manually.
|
2014-01-18 16:56:20 +09:00 |
Yuichi Nishiwaki
|
42c097a91f
|
pic->irep is a root marker
|
2014-01-18 16:55:11 +09:00 |
Yuichi Nishiwaki
|
11e4f1644b
|
irep object is now controlled under GC
|
2014-01-18 16:53:39 +09:00 |
Yuichi Nishiwaki
|
586b228156
|
add PIC_TT_IREP
|
2014-01-18 16:51:54 +09:00 |
Yuichi Nishiwaki
|
b62374b4b4
|
s/print_irep/pic_dump_irep/g
|
2014-01-18 16:23:12 +09:00 |
Yuichi Nishiwaki
|
acb513aa16
|
publish pic_callcc
|
2014-01-18 16:08:07 +09:00 |
Yuichi Nishiwaki
|
3ff7d5b208
|
grammatical fix
|
2014-01-18 16:06:59 +09:00 |
Yuichi Nishiwaki
|
ee4cb87083
|
impl pic_unwrap_var
|
2014-01-18 12:58:00 +09:00 |
Yuichi Nishiwaki
|
a16dcb9931
|
impl pic_set
|
2014-01-18 12:55:44 +09:00 |
Yuichi Nishiwaki
|
4522dd47af
|
do not put includes in header, but put it in c file
|
2014-01-18 12:43:38 +09:00 |
Yuichi Nishiwaki
|
ca068f560b
|
clarify license information
|
2014-01-17 20:58:31 +09:00 |
Yuichi Nishiwaki
|
ecaf96ea14
|
add missing break statement
|
2014-01-17 13:16:55 +09:00 |
Yuichi Nishiwaki
|
43f3f6d0ce
|
impl pic_close
|
2014-01-16 22:02:50 +09:00 |
Yuichi Nishiwaki
|
db75df2624
|
add heap finializer
|
2014-01-16 22:02:30 +09:00 |
Yuichi Nishiwaki
|
8f2f1faf63
|
use shorter name for library external representation
|
2014-01-16 21:32:38 +09:00 |
Yuichi Nishiwaki
|
5929020429
|
reordering functions
|
2014-01-16 21:32:22 +09:00 |
Yuichi Nishiwaki
|
41dea6c5d2
|
split functions related to 'write' procedure into files
|
2014-01-16 21:31:46 +09:00 |
Yuichi Nishiwaki
|
73ad915fcf
|
set 0 to file->flags by default
|
2014-01-16 21:00:45 +09:00 |
Yuichi Nishiwaki
|
8709ada140
|
replace fpos_t with long since old versions of clang and gcc seem claim
that fpos_t and long are not convertible
|
2014-01-16 20:13:13 +09:00 |
Yuichi Nishiwaki
|
31adf248af
|
suppress warnings
|
2014-01-16 20:08:22 +09:00 |
Yuichi Nishiwaki
|
6f32cbdea3
|
handle end-of-file while reading file object
|
2014-01-16 19:56:45 +09:00 |
Yuichi Nishiwaki
|
74be43195d
|
cosmetic fixes
|
2014-01-16 19:56:02 +09:00 |
Yuichi Nishiwaki
|
1b45536fe2
|
[bugfix] ungetc enters infinite loop
|
2014-01-16 19:54:19 +09:00 |
Yuichi Nishiwaki
|
44be26b36f
|
want reader and writer to return the actual byte count, not item count
|
2014-01-16 19:53:46 +09:00 |
Yuichi Nishiwaki
|
2ff0a5061b
|
wrong timing and offset for buffer shifting in reading
|
2014-01-16 19:52:42 +09:00 |
Yuichi Nishiwaki
|
9aef0cdac0
|
get rid of a small redundant code
|
2014-01-16 19:51:40 +09:00 |
Yuichi Nishiwaki
|
f564626556
|
pic_fflush and pic_ffill should change cursor positions
|
2014-01-16 19:51:03 +09:00 |
Yuichi Nishiwaki
|
a5f478a7d5
|
currently pic_file don't support _IONBF mode
|
2014-01-16 19:49:41 +09:00 |
Yuichi Nishiwaki
|
5ee9539e9b
|
impl pic_ungetc
|
2014-01-16 18:42:25 +09:00 |
Yuichi Nishiwaki
|
4e495c6fcc
|
[WIP] add a buffer for ungetc
|
2014-01-16 18:42:10 +09:00 |
Yuichi Nishiwaki
|
9897f7581f
|
impl pic_fread with buffering
|
2014-01-16 18:41:10 +09:00 |
Yuichi Nishiwaki
|
fc506674c0
|
add missing includes
|
2014-01-16 18:39:38 +09:00 |
Yuichi Nishiwaki
|
ce21353d50
|
impl pic_fwrite with simple buffering
|
2014-01-16 18:39:03 +09:00 |
Yuichi Nishiwaki
|
14b73501c4
|
[bugfix] call setvbuf in pic_file constructor
|
2014-01-16 18:37:54 +09:00 |
Yuichi Nishiwaki
|
3d72464e80
|
impl pic_fflush
|
2014-01-16 18:36:59 +09:00 |
Yuichi Nishiwaki
|
eca456f875
|
add IO buffering (setvbuf)
|
2014-01-16 18:36:47 +09:00 |
Yuichi Nishiwaki
|
4d0a448a44
|
impl char/string IO functions
|
2014-01-16 18:35:22 +09:00 |
Yuichi Nishiwaki
|
f043fbb0a7
|
impl pic_fopen and pic_close. add FILE*-pic_file* adapter functions.
|
2014-01-16 18:34:04 +09:00 |
Yuichi Nishiwaki
|
392549b315
|
replace old stdio functions with picrin's wrapper impls
|
2014-01-16 18:32:05 +09:00 |
Yuichi Nishiwaki
|
63d23bdeda
|
[WIP] add generic file object constructor (pic_funopen)
|
2014-01-16 18:27:05 +09:00 |
Yuichi Nishiwaki
|
34d52e1a51
|
use pic_load to load built-in.scm
|
2014-01-13 14:52:19 +09:00 |
Yuichi Nishiwaki
|
0753b12f60
|
[bugfix] native operators such as = or + are not inline-expanded
|
2014-01-13 14:39:21 +09:00 |
Yuichi Nishiwaki
|
daf67c34d9
|
= procedure is brokwn
|
2014-01-13 13:55:08 +09:00 |
Yuichi Nishiwaki
|
5b068d7cc7
|
implement load procedure
|
2014-01-13 13:54:52 +09:00 |
Yuichi Nishiwaki
|
9d54244424
|
match the order of functions with R7RS
|
2014-01-13 02:07:38 +09:00 |
Yuichi Nishiwaki
|
4a14531702
|
add write-char and flush-output-port
|
2014-01-13 02:06:09 +09:00 |
Yuichi Nishiwaki
|
a232defd00
|
newline can take an optional argument
|
2014-01-13 01:47:46 +09:00 |
Yuichi Nishiwaki
|
19a561132e
|
fix assert_port_profile to show clearer error message
|
2014-01-13 01:47:15 +09:00 |
Yuichi Nishiwaki
|
ec9305e9a5
|
current write implementation in fact behaves as same as write-simple
|
2014-01-13 01:34:59 +09:00 |
Yuichi Nishiwaki
|
70f6b59856
|
add peek-char
|
2014-01-13 01:34:26 +09:00 |
Yuichi Nishiwaki
|
4a87120eb6
|
add read-char procedure
|
2014-01-13 00:51:30 +09:00 |
Yuichi Nishiwaki
|
1c14feffa4
|
add accessors of stdio ports
|
2014-01-13 00:51:19 +09:00 |
Yuichi Nishiwaki
|
3fb407329f
|
implement missing pic_ref definition
|
2014-01-13 00:50:45 +09:00 |
Yuichi Nishiwaki
|
4a7a32829d
|
use the new feature of pic_get_args (port specifier)
|
2014-01-13 00:50:18 +09:00 |
Yuichi Nishiwaki
|
d9911cabc8
|
publish pic_eof_object()
|
2014-01-13 00:49:25 +09:00 |
Yuichi Nishiwaki
|
322021e5d5
|
pic_get_args supports port object
|
2014-01-13 00:48:00 +09:00 |
Yuichi Nishiwaki
|
6b808354c0
|
global variable accessors don't require library object
|
2014-01-13 00:45:49 +09:00 |
Yuichi Nishiwaki
|
dbf73ecd7a
|
refactor std ports
|
2014-01-13 00:02:58 +09:00 |
Yuichi Nishiwaki
|
0af0ecafb6
|
add standard io ports
|
2014-01-12 23:57:50 +09:00 |
Yuichi Nishiwaki
|
f4202a7555
|
don't need to strip syntactic information away from quoted expressions
|
2014-01-12 20:21:07 +09:00 |
Yuichi Nishiwaki
|
b70c689b1f
|
keep track of xhash's HEAD
|
2014-01-12 19:53:20 +09:00 |
Yuichi Nishiwaki
|
a6fafd6422
|
add missing 'static' modifier
|
2014-01-12 16:15:04 +09:00 |
Yuichi Nishiwaki
|
d6abb5c0ba
|
add defvar
|
2014-01-12 16:09:27 +09:00 |
Yuichi Nishiwaki
|
10e5546a53
|
functions defined by pic_defun will be implicitly renamed
|
2014-01-12 16:09:19 +09:00 |
Yuichi Nishiwaki
|
11ead27614
|
wrapper/unwrapper for var-proc conversion
|
2014-01-12 16:08:27 +09:00 |
Yuichi Nishiwaki
|
133e4c00bd
|
leave a comment about conv parameter of pic_new_var is nullable
|
2014-01-12 16:05:42 +09:00 |
Yuichi Nishiwaki
|
944111ba09
|
make gensym API public
|
2014-01-12 16:03:36 +09:00 |
Yuichi Nishiwaki
|
825cde998b
|
s/pic_proc_cv_reserve/pic_proc_cv_init/g
|
2014-01-12 13:02:16 +09:00 |
Yuichi Nishiwaki
|
45c49fdec3
|
don't rename each symbol more than a time
|
2014-01-10 17:55:58 +09:00 |
Yuichi Nishiwaki
|
62e52be061
|
[bugfix] macroexpand may return a non-symbol value even if passed a symbol.
|
2014-01-10 17:55:13 +09:00 |
Yuichi Nishiwaki
|
57253f9a6c
|
compare is allowed to take non-symbol values
|
2014-01-10 17:52:31 +09:00 |
Yuichi Nishiwaki
|
a159e52ae6
|
[bugfix] wrong error message
|
2014-01-10 17:49:27 +09:00 |
Yuichi Nishiwaki
|
6bdc9b360e
|
[bugfix] wrong external representation for syntax type
|
2014-01-10 16:22:36 +09:00 |
Yuichi Nishiwaki
|
2e66b533c1
|
fix a small bug in a comment
|
2014-01-10 16:22:07 +09:00 |
Yuichi Nishiwaki
|
9b02247082
|
initial explicit renaming macro prototype
|
2014-01-09 16:34:22 +09:00 |
Yuichi Nishiwaki
|
8e4e226bd3
|
pic_get_args supports symbol
|
2014-01-09 16:33:38 +09:00 |
Yuichi Nishiwaki
|
e8a50410a5
|
suppress unreachable warnings
|
2014-01-09 00:42:23 +09:00 |
Yuichi Nishiwaki
|
76f8916dca
|
show debug print when a library is reopened
|
2014-01-09 00:40:13 +09:00 |
Yuichi Nishiwaki
|
a9f4eff13e
|
add parameter primitives: (picrin parameter) library
|
2014-01-09 00:39:13 +09:00 |
Yuichi Nishiwaki
|
d7c510ae40
|
parameter implementation prototype
|
2014-01-09 00:38:09 +09:00 |
Yuichi Nishiwaki
|
92ceedbd15
|
add accessor functions to modify closed variables
|
2014-01-08 22:45:28 +09:00 |
Yuichi Nishiwaki
|
e3e1ba4c11
|
rename procedure creation functions
|
2014-01-08 22:44:53 +09:00 |
Yuichi Nishiwaki
|
e7f765d218
|
pic_get_args supports pic_procs
|
2014-01-08 20:53:28 +09:00 |
Yuichi Nishiwaki
|
b9ef51530f
|
don't intern symbols newly generated by new_uniq_sym
|
2014-01-08 20:41:29 +09:00 |
Yuichi Nishiwaki
|
dccc234fd9
|
add pic_import
|
2014-01-08 15:38:31 +09:00 |
Yuichi Nishiwaki
|
33cbf5ff6a
|
configurable none value
|
2014-01-08 15:22:23 +09:00 |
OGINO Masanori
|
ceffd8a3bd
|
Cast to `void *` for '%p' format specifiers.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
|
2014-01-05 18:10:33 +09:00 |
OGINO Masanori
|
da1eb0bc10
|
Remove '\e'. The escape sequence is not in ISO C.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
|
2014-01-05 18:00:02 +09:00 |
Yuichi Nishiwaki
|
76f5cbf0b3
|
ENDLIBRARY requires a trailing semicolon
|
2013-12-10 07:26:43 -08:00 |
Yuichi Nishiwaki
|
d23f686485
|
newline is not an element of (scheme write)
|
2013-12-10 05:59:03 -08:00 |
Yuichi Nishiwaki
|
cdb1911f9f
|
define (scheme inexact) library
|
2013-12-10 05:40:44 -08:00 |
Yuichi Nishiwaki
|
6dc66d354c
|
add missing finite? function
|
2013-12-10 05:40:26 -08:00 |
Yuichi Nishiwaki
|
afe630bc42
|
use find_library inside in_library
|
2013-12-10 05:40:03 -08:00 |
Yuichi Nishiwaki
|
fb34b71de1
|
[bugfix] identifier=? dies when take auxiliary syntax (because they emit
errors during expansion)
|
2013-12-10 01:50:53 -08:00 |
Yuichi Nishiwaki
|
41ffd0d7e5
|
define macro primitives (such as make-syntactic-closure) in (picrin macro)
|
2013-12-10 01:49:48 -08:00 |
Yuichi Nishiwaki
|
fd8c551159
|
use print_code for CODE_EXECUTE_HOOK
|
2013-12-10 01:47:45 -08:00 |
Yuichi Nishiwaki
|
e021ac52ac
|
identifier=? dons not necessarily take identifiers
|
2013-12-10 00:22:34 -08:00 |
Yuichi Nishiwaki
|
038020ff9f
|
sequentially evaluate programs declared in library at the macroexpansion phase
|
2013-12-09 23:00:13 -08:00 |
Yuichi Nishiwaki
|
bae4e6974b
|
[bugfix] create a new senv before allocate a library
|
2013-12-09 22:59:27 -08:00 |
Yuichi Nishiwaki
|
74feec78f1
|
always emit the same unique symbol for unbound variable
|
2013-12-09 09:32:30 -08:00 |
Yuichi Nishiwaki
|
725297384a
|
define-syntax is now capable of takeing a synclo object at the position
of the syntax name
|
2013-12-09 09:26:28 -08:00 |
Yuichi Nishiwaki
|
d871c6f06c
|
import and export take multiple spec in a time
|
2013-12-09 09:22:38 -08:00 |
Yuichi Nishiwaki
|
39b28fa674
|
debug print might cause segv
|
2013-12-09 09:09:24 -08:00 |
Yuichi Nishiwaki
|
eeb09f336e
|
Merge branch 'master' into libraries
Conflicts:
src/macro.c
src/pair.c
|
2013-12-09 08:27:29 -08:00 |
Yuichi Nishiwaki
|
e05a469a06
|
fix ir-macro-transformer
|
2013-12-09 07:27:11 -08:00 |
Yuichi Nishiwaki
|
0dddddab55
|
ir-macro-transformer was broken
|
2013-12-09 07:26:51 -08:00 |
Yuichi Nishiwaki
|
d21db9ae81
|
execute winded handlers when exit is called
|
2013-12-09 13:51:34 +09:00 |
Yuichi Nishiwaki
|
5035831d84
|
[bugfix] syntax objects should be brought to imported library's
senv->stx holder
|
2013-12-08 00:52:34 -08:00 |