Yuichi Nishiwaki
|
fabe70aaf2
|
[bugfix] assq and assoc should return false if key is not found
|
2013-12-07 23:13:45 -08:00 |
Yuichi Nishiwaki
|
fb2e7ac498
|
declare all built-in functions and variables in (scheme base) library
|
2013-12-07 20:48:24 -08:00 |
Yuichi Nishiwaki
|
47dd186535
|
do not include core syntaces in the default library environment
|
2013-12-07 20:47:55 -08:00 |
Yuichi Nishiwaki
|
7f5a4c34a3
|
register and export to library functions defined by pic_defun
|
2013-12-07 20:47:09 -08:00 |
Yuichi Nishiwaki
|
e71c5abfdb
|
rename unbound symbols by default
|
2013-12-07 20:45:47 -08:00 |
Yuichi Nishiwaki
|
01e60b5d8e
|
add pic_export and pic_export_as
|
2013-12-07 20:44:39 -08:00 |
Yuichi Nishiwaki
|
0110370cc4
|
improve reusability
|
2013-12-07 20:43:57 -08:00 |
Yuichi Nishiwaki
|
57ca3174aa
|
define arithmetic operators as c functions
|
2013-12-07 20:43:36 -08:00 |
Yuichi Nishiwaki
|
629ee06b5f
|
s/DEFINE_MATH_PRED/DEFINE_ARITH_CMP/g
|
2013-12-07 20:42:10 -08:00 |
Yuichi Nishiwaki
|
791ab95219
|
[bugfix] taking a wrong symbol for exporting
|
2013-12-07 19:03:18 -08:00 |
Yuichi Nishiwaki
|
0f491adc73
|
select library during macroexpanding define-library
|
2013-12-07 18:59:35 -08:00 |
Yuichi Nishiwaki
|
7cdcbd4604
|
set name to each library
|
2013-12-07 18:59:13 -08:00 |
Yuichi Nishiwaki
|
35b99d11a8
|
let make_library return a library
|
2013-12-07 18:44:14 -08:00 |
Yuichi Nishiwaki
|
c764d28878
|
add pic_parse
|
2013-12-07 18:38:47 -08:00 |
Yuichi Nishiwaki
|
6b2d6a98eb
|
Revert "change APIs of library functions"
This reverts commit 0115ede4de .
Conflicts:
include/picrin.h
|
2013-12-07 18:27:08 -08:00 |
Yuichi Nishiwaki
|
818430bb81
|
implement import/export syntax
|
2013-12-07 09:42:34 -08:00 |
Yuichi Nishiwaki
|
c989687564
|
[workaround] load core syntaces initially
|
2013-12-07 07:14:35 -08:00 |
Yuichi Nishiwaki
|
0115ede4de
|
change APIs of library functions
|
2013-12-07 07:11:22 -08:00 |
Yuichi Nishiwaki
|
9cb777eec3
|
select the minimal library at first
|
2013-12-07 07:05:22 -08:00 |
Yuichi Nishiwaki
|
7c6ba80581
|
add library operation methods
|
2013-12-07 07:05:06 -08:00 |
Yuichi Nishiwaki
|
1ac5b6458c
|
add pic_null_syntactic_env and pic_minimal_syntactic_env
|
2013-12-07 07:04:26 -08:00 |
Yuichi Nishiwaki
|
aac2082991
|
add pic_assoc
|
2013-12-07 06:30:21 -08:00 |
Yuichi Nishiwaki
|
dcb5b448cd
|
add pic_equal_p
|
2013-12-07 06:29:29 -08:00 |
Yuichi Nishiwaki
|
381ed58bff
|
add global library table
|
2013-12-07 05:36:14 -08:00 |
Yuichi Nishiwaki
|
931565d4ce
|
add pic_lib
|
2013-12-07 03:58:18 -08:00 |
Yuichi Nishiwaki
|
acbcde3b6a
|
initial library support
|
2013-12-07 03:04:27 -08:00 |
Yuichi Nishiwaki
|
a1e2e41840
|
add some symbols about library
|
2013-12-07 02:31:04 -08:00 |
Yuichi Nishiwaki
|
25378e3813
|
cosmetic changes
|
2013-12-06 07:51:32 -08:00 |
Yuichi Nishiwaki
|
b3a2da1079
|
Merge remote-tracking branch 'origin/master'
|
2013-12-06 04:48:10 -08:00 |
Yuichi Nishiwaki
|
ef04e3f02c
|
add pic_core_syntactic_env
|
2013-12-06 18:04:36 +09:00 |
Yuichi Nishiwaki
|
4d8ffa43c8
|
delete auto resource releasing facility
|
2013-12-03 08:16:53 -08:00 |
Yuichi Nishiwaki
|
7e69ae1878
|
add port-close procedure
|
2013-12-03 08:16:13 -08:00 |
Yuichi Nishiwaki
|
afffa20785
|
pic_apply supports multiple arguments
|
2013-12-03 06:40:50 -08:00 |
Yuichi Nishiwaki
|
a7df867a55
|
suppress gcc's warnings
|
2013-12-03 06:10:46 -08:00 |
Yuichi Nishiwaki
|
4e98d37ab1
|
remove old debug prints
|
2013-12-03 13:08:23 +09:00 |
Yuichi Nishiwaki
|
dc7c801c38
|
exprs during macroexpansion may have syntactic-closure in the tail position
|
2013-12-03 13:08:00 +09:00 |
Yuichi Nishiwaki
|
761deffe1f
|
macroexpand_list supports any kind of improper list
|
2013-12-03 13:07:25 +09:00 |
Yuichi Nishiwaki
|
b5b30de05a
|
remove a field for debug of union header
|
2013-12-03 11:49:32 +09:00 |
Yuichi Nishiwaki
|
7685afdb79
|
fix logic flaw in GC
|
2013-12-03 11:45:38 +09:00 |
Yuichi Nishiwaki
|
704b2d148b
|
rewrite pic_type_repr
|
2013-12-02 13:39:11 +09:00 |
Yuichi Nishiwaki
|
a43e3248e8
|
calloc should take size_t
|
2013-12-01 12:44:43 +09:00 |
Yuichi Nishiwaki
|
04434f44fd
|
cosmetic changes
|
2013-11-30 00:07:49 +09:00 |
Yuichi Nishiwaki
|
21f2c58a53
|
[gc][bugfix] sweeping failed when the heap gets completely
exhausted (i.e. all blocks' size are zero)
|
2013-11-29 12:10:10 +09:00 |
Yuichi Nishiwaki
|
f03a153774
|
add freed object counter
|
2013-11-29 12:10:10 +09:00 |
Yuichi Nishiwaki
|
4c5d3b4257
|
Revert "[bugfix] do not fuse end-of-page block into other blocks"
This reverts commit 5656590fa0 .
|
2013-11-29 12:10:10 +09:00 |
Yuichi Nishiwaki
|
ab5de1c0c4
|
fix #6
|
2013-11-29 12:10:02 +09:00 |
Yuichi Nishiwaki
|
5656590fa0
|
[bugfix] do not fuse end-of-page block into other blocks
|
2013-11-28 21:58:25 +09:00 |
Yuichi Nishiwaki
|
e10bbac8e5
|
accept injected symbols (syntactic-closures) at the places of lambda formals
|
2013-11-28 18:40:31 +09:00 |
Yuichi Nishiwaki
|
3266ae7d3c
|
[bugfix] missed to mark stx->senv
|
2013-11-28 13:15:27 +09:00 |
Yuichi Nishiwaki
|
c2d7f3d1f2
|
[bugfix] wrong size for pic_proc allocation
|
2013-11-27 06:31:49 -08:00 |