Yuichi Nishiwaki
7f092cb9ab
managed to make it work
2014-09-01 09:53:19 +09:00
Yuichi Nishiwaki
83f580bfcf
initial benz integration
2014-09-01 09:33:28 +09:00
Yuichi Nishiwaki
ac15ac6e2d
use readline in repl
2014-08-31 01:00:13 +09:00
Yuichi Nishiwaki
058de5b7e9
reader by readtable
2014-08-12 09:14:43 +09:00
Yuichi Nishiwaki
d98cb495a3
[bugfix] define standard functions before loading piclibs
2014-08-07 11:20:28 +09:00
Yuichi Nishiwaki
7653cb4bb1
add libraries function
2014-08-07 11:14:58 +09:00
Yuichi Nishiwaki
474a625349
inline push_sym macro
2014-08-07 11:06:38 +09:00
Yuichi Nishiwaki
261c592d79
move core syntaxes from (scheme base) to (picrin base core)
2014-08-06 01:14:43 +09:00
Yuito Murase
fa0de0c3fa
Merge remote-tracking branch 'upstream/master' into native-record
...
Conflicts:
include/picrin/value.h
piclib/prelude.scm
src/codegen.c
src/gc.c
src/init.c
src/macro.c
src/vm.c
src/write.c
2014-08-03 15:48:24 +09:00
Yuito Murase
c76dfcb861
implement native record
...
native record primitives are defined in (picrin record-primitive)
- (make-record rectype)
- (record-of? record rectype)
- (record-ref record rectype field-name)
- (record-set! record rectype field-name value)
define-record-type is defined using these primitives
2014-08-03 15:30:48 +09:00
Yuichi Nishiwaki
9c1a397ead
define 'define-library' as a macro
2014-07-28 00:48:13 +09:00
Yuichi Nishiwaki
e680b4a6bb
change deflibrary API
2014-07-27 14:47:14 +09:00
Yuichi Nishiwaki
e258529e8a
primary eval support
2014-07-27 13:41:55 +09:00
Yuichi Nishiwaki
72422343c0
s/lib->senv/lib->env/g
2014-07-20 15:30:48 +09:00
Yuichi Nishiwaki
7a2f8abd9c
rewrite let-syntax in scheme
2014-07-20 14:55:17 +09:00
Yuichi Nishiwaki
6a038bc926
change init_contrib API
2014-07-20 09:36:18 +09:00
Yuichi Nishiwaki
b50f5fc54f
remove sLETREC_SYNTAX
2014-07-18 11:50:08 +09:00
Yuichi Nishiwaki
5faa7cd46d
leave core syntax keywords renamed
2014-07-14 10:08:11 +09:00
Yuichi Nishiwaki
6c45bb3c5d
support let-syntax
2014-07-13 22:36:30 +09:00
Yuichi Nishiwaki
bc2a684961
add read function support
2014-06-25 22:36:56 +09:00
Yuichi Nishiwaki
da553b9001
primary symbol to object hashtable support (dictionary)
2014-06-14 22:17:57 +09:00
Yuichi Nishiwaki
2155a0c8f1
declare arena_idx as a size_t
2014-05-26 16:06:41 +09:00
Yuichi Nishiwaki
1ff408b59b
cosmetic changes
2014-04-12 08:25:17 +09:00
Yuichi Nishiwaki
4f4c3e24c5
embed scheme library files into a c source file
2014-04-06 02:47:14 +09:00
Yuichi Nishiwaki
d0e14a4acb
s/pic_load_stdlib/pic_load_piclib/g
2014-04-06 02:44:38 +09:00
Yuichi Nishiwaki
8750b9b4dd
add pic_define_syntactic_keyword
2014-04-05 04:01:42 +09:00
Yuichi Nishiwaki
708f348674
s/pic_null_syntactic_env/pic_null_syntactic_environment/g
2014-04-05 03:50:38 +09:00
Yuichi Nishiwaki
b9125caa3d
remove pic_(minimal|core)_syntactic_env
2014-04-05 03:49:20 +09:00
Yuichi Nishiwaki
f66c48cc6f
load 26.scm at init.
2014-03-31 22:26:31 +09:00
Yuichi Nishiwaki
3e8d64fdb7
initial regexp support
2014-03-31 20:43:36 +09:00
Yuichi Nishiwaki
4a2cb90095
move pic_try/pic_catch macros to error.h
2014-03-24 12:30:21 +09:00
Yuichi Nishiwaki
0e1b6d93b4
load srfi files at init. close #61
2014-03-15 20:53:07 +09:00
Yuichi Nishiwaki
851187f7bb
use pic_try/catch in stdlib_load
2014-03-10 01:12:19 +09:00
Yuichi Nishiwaki
6ddaa0eda0
use pic_deflibrary in init.c
2014-03-01 19:54:29 +09:00
Yuichi Nishiwaki
f32754c0f9
place define-macro syntax in (picrin macro) library
2014-02-13 14:59:17 +09:00
Yuichi Nishiwaki
34c10b0054
unify includes of stdio and assert
2014-02-11 23:25:25 +09:00
Yuichi Nishiwaki
372fd3157b
error report is propagated through pic->err
2014-02-11 13:21:00 +09:00
Yuichi Nishiwaki
faac3f7e9d
include xhash in picrin.h
2014-02-07 01:24:51 +09:00
Yuichi Nishiwaki
395f48bc81
move rSYMBOLs from pic_state to codegen_state
2014-01-18 11:47:18 -08:00
Yuichi Nishiwaki
ca068f560b
clarify license information
2014-01-17 20:58:31 +09:00
Yuichi Nishiwaki
41dea6c5d2
split functions related to 'write' procedure into files
2014-01-16 21:31:46 +09:00
Yuichi Nishiwaki
34d52e1a51
use pic_load to load built-in.scm
2014-01-13 14:52:19 +09:00
Yuichi Nishiwaki
0753b12f60
[bugfix] native operators such as = or + are not inline-expanded
2014-01-13 14:39:21 +09:00
Yuichi Nishiwaki
5b068d7cc7
implement load procedure
2014-01-13 13:54:52 +09:00
Yuichi Nishiwaki
a9f4eff13e
add parameter primitives: (picrin parameter) library
2014-01-09 00:39:13 +09: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
78cafe3db7
add make-syntactic-closure function
2013-11-27 15:04:44 +09:00
Yuichi Nishiwaki
23b806cc41
print propagated error messages when stdlib failed to build
2013-11-22 06:34:34 -08:00
Yuichi Nishiwaki
f146287eff
load_stdlib releases arena objects every time evaluating exprssion
2013-11-21 06:30:33 -08:00
Yuichi Nishiwaki
a3c2dabcc7
add feature function
2013-11-18 01:46:28 +09:00