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 |
Yuichi Nishiwaki
|
dda8ad367c
|
split built-in functins into libraries
|
2013-12-07 23:17:28 -08:00 |
Yuichi Nishiwaki
|
906f2c8a93
|
make-library returns existing library if name conflicts
|
2013-12-07 23:15:16 -08:00 |
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
|
bea04325e5
|
define arithmetic operators as c functions
|
2013-12-07 20:55:04 -08:00 |
Yuichi Nishiwaki
|
8720ffa0c5
|
s/DEFINE_MATH_PRED/DEFINE_ARITH_CMP/g
|
2013-12-07 20:55:04 -08:00 |
Yuichi Nishiwaki
|
617ee5aa68
|
add pic_parse
|
2013-12-07 20:54:23 -08:00 |
Yuichi Nishiwaki
|
24a41d8e27
|
add pic_assoc
|
2013-12-07 20:52:58 -08:00 |
Yuichi Nishiwaki
|
28da6d71ba
|
add pic_equal_p
|
2013-12-07 20:52:58 -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 |