Yuichi Nishiwaki
|
f31ddb36a2
|
reentrant scanner
|
2013-10-23 03:45:57 +09:00 |
Yuichi Nishiwaki
|
bb0bb0e186
|
reentrant parser (but not for scanner)
|
2013-10-23 03:13:10 +09:00 |
Yuichi Nishiwaki
|
dd3adf30e6
|
use xhash to manage scopes during codegin
|
2013-10-22 22:22:35 +09:00 |
Yuichi Nishiwaki
|
76cba3fad2
|
add some number-theoretic division functions
|
2013-10-22 18:29:55 +09:00 |
Yuichi Nishiwaki
|
828606aed5
|
throw an error when finding invalid argument specifier
|
2013-10-22 17:44:47 +09:00 |
Yuichi Nishiwaki
|
779199d571
|
add many many number primitive functions
|
2013-10-22 17:24:07 +09:00 |
Yuichi Nishiwaki
|
d696339577
|
[bugfix] pic_get_args should ignore optional args when i > argc
|
2013-10-22 17:23:21 +09:00 |
Yuichi Nishiwaki
|
b45d7d9592
|
add eof-object type
|
2013-10-22 16:02:20 +09:00 |
Yuichi Nishiwaki
|
176d167de8
|
add some file open functions
|
2013-10-22 15:44:03 +09:00 |
Yuichi Nishiwaki
|
6245ec7e05
|
finalize port objects when collected
|
2013-10-22 15:40:36 +09:00 |
Yuichi Nishiwaki
|
d2e09fa2c7
|
add file related functions
|
2013-10-22 15:16:35 +09:00 |
Yuichi Nishiwaki
|
0c1babb6c5
|
add pic_reverse
|
2013-10-22 00:19:43 +09:00 |
Yuichi Nishiwaki
|
114d6b708b
|
since pic_string is a first-class value, move it to value.h
|
2013-10-21 17:38:05 +09:00 |
Yuichi Nishiwaki
|
f5154625ba
|
add aux object field to proc object
|
2013-10-21 17:35:14 +09:00 |
Yuichi Nishiwaki
|
72a6e90d83
|
exit functions take an optional argument
|
2013-10-21 14:13:08 +09:00 |
Yuichi Nishiwaki
|
86177b7c4e
|
pic_get_args supports optional argument
|
2013-10-21 13:57:02 +09:00 |
Yuichi Nishiwaki
|
6c8dd50ab8
|
add exit and emergency-exit
|
2013-10-21 12:08:46 +09:00 |
Yuichi Nishiwaki
|
db1f977600
|
add pic_list_p
|
2013-10-21 12:03:35 +09:00 |
Yuichi Nishiwaki
|
15c4361381
|
return #f if get-environment-variable refers undefined env-var
|
2013-10-21 12:03:25 +09:00 |
Yuichi Nishiwaki
|
adab797391
|
add system.c
|
2013-10-21 11:51:02 +09:00 |
Yuichi Nishiwaki
|
7dbb2c6de4
|
cleanup
|
2013-10-21 11:44:23 +09:00 |
Yuichi Nishiwaki
|
b02f81760c
|
pic_get_args supports strings
|
2013-10-21 11:42:21 +09:00 |
Yuichi Nishiwaki
|
ba78a00d5c
|
take care of escaped characters in string
|
2013-10-21 11:12:34 +09:00 |
Yuichi Nishiwaki
|
8f4788ca27
|
read strings
|
2013-10-21 10:48:03 +09:00 |
Yuichi Nishiwaki
|
a49675c322
|
add OP_PUSHCONST
|
2013-10-21 09:29:56 +09:00 |
Yuichi Nishiwaki
|
5e43fe58fe
|
add string type
|
2013-10-21 08:48:55 +09:00 |
Yuichi Nishiwaki
|
cefa9a9885
|
handle runtime error
|
2013-10-20 23:30:01 +09:00 |
Yuichi Nishiwaki
|
d57d8ff3c0
|
place main.c under etc/
|
2013-10-20 18:44:26 +09:00 |
Yuichi Nishiwaki
|
05eb62cc4d
|
do not abort when meet a compilation error
|
2013-10-20 18:17:12 +09:00 |
Yuichi Nishiwaki
|
4f8aa03b24
|
clarify the meanings of error functions
|
2013-10-20 17:41:48 +09:00 |
Yuichi Nishiwaki
|
12e2f10869
|
add error.c file
|
2013-10-20 17:26:18 +09:00 |
Yuichi Nishiwaki
|
444fc7c750
|
split codegen and vm
|
2013-10-20 17:06:47 +09:00 |
Yuichi Nishiwaki
|
510b84702e
|
eq? compares symbol's ptr
|
2013-10-20 14:07:27 +09:00 |
Yuichi Nishiwaki
|
7322271d65
|
intern symbols using hash table
|
2013-10-20 14:05:48 +09:00 |
Yuichi Nishiwaki
|
bde09e063a
|
add pic_acons function
|
2013-10-20 14:04:39 +09:00 |
Yuichi Nishiwaki
|
40c996bd03
|
fix confusion of GC_DEBUG and VM_DEBUG
|
2013-10-20 13:07:14 +09:00 |
Yuichi Nishiwaki
|
6d8d7bb8bd
|
exit repl with ^D
|
2013-10-20 12:57:15 +09:00 |
Yuichi Nishiwaki
|
50b9c2bd97
|
add pair.h
|
2013-10-20 12:34:57 +09:00 |
Yuichi Nishiwaki
|
6faaa5261c
|
add time functions
|
2013-10-20 12:04:15 +09:00 |
Yuichi Nishiwaki
|
cfae6f3c59
|
add OP_NILP
|
2013-10-20 03:53:02 +09:00 |
Yuichi Nishiwaki
|
78f301794a
|
add OP_CAR/OP_CDR
|
2013-10-20 03:48:06 +09:00 |
Yuichi Nishiwaki
|
9bb3c4f4db
|
suppress warnings around parser/scanner
|
2013-10-20 03:11:08 +09:00 |
Yuichi Nishiwaki
|
daac4dd7f3
|
suppress compiler warnings
|
2013-10-20 03:05:42 +09:00 |
Yuichi Nishiwaki
|
5e96d05fd1
|
insert OP_POP into sequential operation
|
2013-10-18 02:29:11 +09:00 |
Yuichi Nishiwaki
|
3d523a8081
|
the first callinfo's argc is 1
|
2013-10-18 01:30:35 +09:00 |
Yuichi Nishiwaki
|
a0e2089e56
|
mark global variables
|
2013-10-18 00:17:55 +09:00 |
Yuichi Nishiwaki
|
e7a5784fd7
|
allocate global variable entry area by malloc and save it into pic_state
|
2013-10-18 00:15:15 +09:00 |
Yuichi Nishiwaki
|
c92a672e01
|
change the stack layout: to hold proc object on the stack when procedure
call is invoked
|
2013-10-17 23:29:18 +09:00 |
Yuichi Nishiwaki
|
1646de5e8d
|
initial port commit
|
2013-10-17 22:42:47 +09:00 |
Yuichi Nishiwaki
|
e87f632327
|
writer writes lists in short form
|
2013-10-17 22:42:20 +09:00 |