Yuichi Nishiwaki
|
06a7b0f5f6
|
add pic_func struct to hold native function name
|
2014-02-26 00:39:16 +09:00 |
Yuichi Nishiwaki
|
bb93a8be14
|
catch up to XFILE changes
|
2014-02-25 21:07:32 +09:00 |
Yuichi Nishiwaki
|
9a73ba707c
|
add pic_strcmp
|
2014-02-23 17:45:34 +09:00 |
Yuichi Nishiwaki
|
0fa61b6a4a
|
change pic_get_args API. 'z' now returns a pointer to null terminated
cstr, 's' a pointer to pic_str
|
2014-02-23 11:52:15 +09:00 |
Yuichi Nishiwaki
|
9f240c191c
|
add pic_str_new_fill
|
2014-02-23 11:25:39 +09:00 |
Yuichi Nishiwaki
|
349d7f1799
|
don't take int arguments with size_t
|
2014-02-23 10:51:21 +09:00 |
Yuichi Nishiwaki
|
067a4756ff
|
fix #58
|
2014-02-23 09:16:29 +09:00 |
Yuichi Nishiwaki
|
7ac4cd9ded
|
add 'pic_' prefix to heap manipulte functions
|
2014-02-22 16:54:12 +09:00 |
Yuichi Nishiwaki
|
5175f0bb8d
|
change gc heap API and hide sturctures.
|
2014-02-22 15:53:59 +09:00 |
Yuichi Nishiwaki
|
56f5f4a1f5
|
move sturct definitions for basic types to type-specific headers respectively
|
2014-02-22 15:21:55 +09:00 |
Yuichi Nishiwaki
|
a8aa6b2c5e
|
add some string utility functions
|
2014-02-21 18:24:20 +09:00 |
Yuichi Nishiwaki
|
131440b1d0
|
s/struct pic_string/pic_str/g
|
2014-02-21 18:05:59 +09:00 |
Yuichi Nishiwaki
|
80a794310d
|
call/cc must save pic->ip
|
2014-02-20 20:59:35 +09:00 |
Yuichi Nishiwaki
|
078b72ff17
|
cleanup
|
2014-02-20 20:44:30 +09:00 |
Yuichi Nishiwaki
|
19f426a4f4
|
[bugfix] segv on pic_receive
|
2014-02-20 18:57:01 +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
|
742be0b2c0
|
don't reset retc in pic_receive
|
2014-02-20 18:00:16 +09:00 |
Yuichi Nishiwaki
|
acc3afc120
|
don't emit debug message into stderr
|
2014-02-20 17:58:00 +09:00 |
Yuichi Nishiwaki
|
85a766a242
|
adjust stack pointer to the next to the initial position after calling function
|
2014-02-20 17:41:59 +09:00 |
Yuichi Nishiwaki
|
213177eb10
|
reset ci->retc when pic_receive is called
|
2014-02-20 17:19:40 +09:00 |
Yuichi Nishiwaki
|
bad8daa813
|
ci->retc is set to 1 by default
|
2014-02-20 17:19:28 +09:00 |
Yuichi Nishiwaki
|
c9331fb59e
|
[refactor] proceed return values from C functions in OP_RET block
|
2014-02-20 17:14:58 +09:00 |
Yuichi Nishiwaki
|
29b2d84268
|
show invalid application callee
|
2014-02-20 17:10:55 +09:00 |
Yuichi Nishiwaki
|
2d0faff732
|
VM end state shows info based on the position the VM entered
|
2014-02-20 17:09:55 +09:00 |
Yuichi Nishiwaki
|
82647584e8
|
[bugfix] handle 1-coarity native function
|
2014-02-20 16:50:14 +09:00 |
Yuichi Nishiwaki
|
7217baee0a
|
add coarity register to the VM
|
2014-02-20 16:33:18 +09:00 |
Yuichi Nishiwaki
|
0f75a1b7cb
|
let OP_RET take an argument
|
2014-02-20 16:01:29 +09:00 |
Yuichi Nishiwaki
|
16639a1764
|
fix #56. thank you @justinethier
|
2014-02-20 11:58:27 +09:00 |
Yuichi Nishiwaki
|
d718490a03
|
(finally!) hunt the bug. no more segv on error in repl
|
2014-02-19 02:24:30 +09:00 |
Yuichi Nishiwaki
|
b69b549fca
|
delegate error handling to REPL when no exception handlers remain
|
2014-02-19 02:22:34 +09:00 |
Yuichi Nishiwaki
|
6e3a2b176a
|
split error and raise
|
2014-02-19 02:11:29 +09:00 |
Yuichi Nishiwaki
|
a1a0aff657
|
newlines are included in block comments
|
2014-02-19 01:58:40 +09:00 |
Yuichi Nishiwaki
|
a5f5eb3b06
|
skip block comments
|
2014-02-19 01:53:47 +09:00 |
Yuichi Nishiwaki
|
844f25b5c1
|
[workaround] traverse_seq is broken, use traverse_shared instead
|
2014-02-19 01:15:30 +09:00 |
Yuichi Nishiwaki
|
d5e27e0949
|
add char-ready?
|
2014-02-18 19:20:29 +09:00 |
Yuichi Nishiwaki
|
cc97f857e1
|
add read-line
|
2014-02-18 18:56:14 +09:00 |
Yuichi Nishiwaki
|
17ae669b30
|
support nested comments
|
2014-02-18 17:24:08 +09:00 |
Yuichi Nishiwaki
|
a078266c2d
|
add pic_raise_continuable
|
2014-02-18 16:58:51 +09:00 |
Yuichi Nishiwaki
|
c42090f0b7
|
cleanup
|
2014-02-18 04:40:19 +09:00 |
Yuichi Nishiwaki
|
80a7e31901
|
s/port_/write_/g
|
2014-02-18 04:24:41 +09:00 |
Yuichi Nishiwaki
|
26808c1f51
|
add write function in C level (must not enter into a infinite loop)
|
2014-02-18 04:22:58 +09:00 |
Yuichi Nishiwaki
|
52a89ef5c9
|
fix memory leak
|
2014-02-18 03:45:00 +09:00 |
Yuichi Nishiwaki
|
b4166dde71
|
refactor tagged expression checker
|
2014-02-18 03:42:33 +09:00 |
Yuichi Nishiwaki
|
cd34417c42
|
add write-shared
|
2014-02-18 03:40:03 +09:00 |
Yuichi Nishiwaki
|
c6c88e976f
|
add support for circular objects to write
|
2014-02-18 03:39:32 +09:00 |
Yuichi Nishiwaki
|
7358e0933c
|
fix segv in is_quote etc
|
2014-02-18 03:38:12 +09:00 |
Yuichi Nishiwaki
|
c3d221f2da
|
revert prev commit
|
2014-02-17 23:31:12 +09:00 |
Yuichi Nishiwaki
|
ad3aca95a3
|
[workaround] write function now stops in a certain recursion depth
|
2014-02-17 23:08:17 +09:00 |
Yuichi Nishiwaki
|
ceef33af8a
|
[bugfix] is_quote family don't stop when circular object is given
|
2014-02-17 23:07:46 +09:00 |