Yuichi Nishiwaki
3df7d1dd71
use pic_malloc and pic_free in file.c
2015-06-19 02:05:56 +09:00
Yuichi Nishiwaki
2e59b6ab04
rename xfile.[ch] to file.[ch]
2015-06-19 01:11:04 +09:00
Yuichi Nishiwaki
b4c3e2cc4f
small refactoring. use DEFINE_STANDARD_PORT_ACCESSOR macro to define pic_stdxx
2015-06-18 23:15:09 +09:00
Yuichi Nishiwaki
61ff69b968
remove pic->xSTDXX
2015-06-18 22:59:22 +09:00
Yuichi Nishiwaki
1d1210db09
cleanup lib.c
2015-06-17 01:52:20 +09:00
Yuichi Nishiwaki
2e5b66fabd
s/macroexpand/expand/g
2015-06-16 20:27:58 +09:00
Yuichi Nishiwaki
84a3eaee35
change eval interface: eval takes an expression and an environment
...
macroexpand should be done in the context in which the expansion is
running. As of now I only changed c interface of eval but should change
the scheme interface as well ASAP.
2015-06-16 19:16:06 +09:00
Yuichi Nishiwaki
181d120f09
reader support of (#' #` #, #,@)
2015-06-15 02:52:37 +09:00
Yuichi Nishiwaki
3a59a95960
[WIP] replace macro expander
...
remove define-syntax, add define-macro instead
saner display when writing identifiers
2015-06-15 02:48:31 +09:00
Yuichi Nishiwaki
454146ab52
s/rXXX/uXXX/g
2015-06-15 02:30:05 +09:00
Yuichi Nishiwaki
191d3067f8
Revert "Revert "remove in-library""
...
This reverts commit 77d3b0b41e
.
2015-06-09 23:02:06 +09:00
Yuichi Nishiwaki
6af9a3ee7d
remove pic_warn
2015-06-09 22:13:46 +09:00
Yuichi Nishiwaki
6af60c9e2b
don't use static non-const local variable
2015-06-09 19:19:27 +09:00
Yuichi Nishiwaki
b983c77767
use registries for parameter table
2015-06-09 18:36:39 +09:00
Yuichi Nishiwaki
111779c39e
add pic_reg
2015-06-09 18:31:46 +09:00
Yuichi Nishiwaki
53a9e72413
optimize var implementation
2015-06-08 22:28:17 +09:00
Yuichi Nishiwaki
5def1df320
s/pic_winder/pic_checkpoint/g
2015-06-08 21:04:04 +09:00
Yuichi Nishiwaki
77d3b0b41e
Revert "remove in-library"
...
This reverts commit 8604e18719
.
2015-06-06 13:48:31 +09:00
Yuichi Nishiwaki
8604e18719
remove in-library
2015-06-04 14:17:37 +09:00
Yuichi Nishiwaki
531187bb2a
speed up bytecode compilation
2015-06-04 13:53:41 +09:00
Yuichi Nishiwaki
dbcd81c8c1
[bugfix] calling dead escape continuation causes segv
2015-06-02 06:01:16 +09:00
Yuichi Nishiwaki
15e61d8cd4
pic_open_library -> pic_make_library
2015-05-31 00:25:40 +09:00
Yuichi Nishiwaki
d0e10b49a7
pic_env -> pic_context
2015-05-30 22:34:51 +09:00
Yuichi Nishiwaki
9b7eb2f996
unify all headers into picrin.h
2015-05-28 23:57:10 +09:00
Yuichi Nishiwaki
fa8226e581
[bugfix] pic_debug broken in debug build
2015-05-28 23:30:55 +09:00
Yuichi Nishiwaki
00cde353ba
xfile completely refactored
2015-05-28 23:28:55 +09:00
Yuichi Nishiwaki
d11da3a400
move complex macros from picrin.h to util.h
2015-05-28 16:54:36 +09:00
Yuichi Nishiwaki
6a692541a6
s/pic_alloc/pic_malloc/g
2015-05-28 16:42:16 +09:00
Yuichi Nishiwaki
278075910a
custom allocator and custom abort
2015-05-28 02:12:26 +09:00
Yuichi Nishiwaki
304664eaf0
add libc fallback
2015-05-28 01:55:55 +09:00
Yuichi Nishiwaki
7dcd050e1a
add PIC_ENABLE_FLOAT and PIC_WORD_BOXING
2015-05-28 01:48:38 +09:00
Yuichi Nishiwaki
b9dde91123
allow custom setjmp/longjmp
2015-05-28 00:41:55 +09:00
Yuichi Nishiwaki
7923f947d7
don't use xstd** from benz
2015-05-28 00:14:10 +09:00
Yuichi Nishiwaki
15449354c6
switch string implementation to picrin's
2015-05-27 23:34:40 +09:00
Yuichi Nishiwaki
1e8f49872e
s/pic_noreturn/PIC_NORETURN/g
2015-01-26 12:22:38 +09:00
Yuichi Nishiwaki
d390fc44ca
add PIC_INLINE macro
2015-01-26 12:20:32 +09:00
Yuichi Nishiwaki
1b637d1763
refactor pic_deflibrary macro. don't declare variables in for statements
2015-01-25 20:44:35 +09:00
Yuichi Nishiwaki
6e6e1de7a5
pic_sym is not a pointer
2015-01-20 16:02:28 +09:00
Yuichi Nishiwaki
b9df96499d
move symbol constants to pic_state
2015-01-19 14:37:47 +09:00
Yuichi Nishiwaki
ffa27e4b11
s/SYMBOL_P/SYMBOLP/g, s/PAIR_P/PAIRP/g
2015-01-19 14:37:46 +09:00
Yuichi Nishiwaki
ccc7a2beed
add gc on/off flag
2015-01-19 12:14:29 +09:00
Yuichi Nishiwaki
3fc49b59be
move symbol-related macros to symbol.h
2015-01-19 11:11:19 +09:00
Yuichi Nishiwaki
fa1b681eba
remove pic_sym_value
2015-01-19 11:08:27 +09:00
Yuichi Nishiwaki
f349e4148e
remove pic_symbol_value
2015-01-19 11:02:22 +09:00
Yuichi Nishiwaki
fc654dd280
heap symbol seems working (with GC stopped)
2015-01-19 11:00:23 +09:00
Yuichi Nishiwaki
4be979b1df
change pic_intern interface
2015-01-19 02:21:10 +09:00
Yuichi Nishiwaki
09cb576a3b
remove pic_ungensym
2015-01-19 01:55:39 +09:00
Yuichi Nishiwaki
9209722a5b
use dictionaries for pic->globals and pic->macros
2015-01-18 21:25:34 +09:00
Yuichi Nishiwaki
f2eb51e53d
some procedures are moved to contrib/
...
system related procedures are moved to contrib/
file related procedures are moved to contrib/
load related procedures are moved to conrib/
2015-01-18 01:03:29 +09:00
Yuichi Nishiwaki
4cc423d815
gather all includes of standard headers into picrin.h
2015-01-18 00:17:37 +09:00