Commit Graph

281 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 1e345d8228 WIP: add compiler 2017-04-05 16:18:00 +09:00
Yuichi Nishiwaki 463b73f11f reimplement macro expander in scheme 2017-04-04 15:05:34 +09:00
Yuichi Nishiwaki 6c3c505aa4 move simple macros to (picrin macro) 2017-04-04 02:16:18 +09:00
Yuichi Nishiwaki af5acb6c4f no consing when getting value from ephemeron table 2017-04-04 01:25:46 +09:00
Yuichi Nishiwaki d776adba34 add load&compile functions 2017-04-04 00:52:59 +09:00
Yuichi Nishiwaki bba2abffde WIP: precompile macros 2017-04-03 23:39:30 +09:00
Yuichi Nishiwaki 8f6113f61b library system is now implemeted in scheme 2017-04-03 00:37:37 +09:00
Yuichi Nishiwaki d319a57422 WIP: reimplement library system in scheme 2017-04-02 22:15:38 +09:00
Yuichi Nishiwaki c51be07a9a add dictionary-delete! and dictionary-has? 2017-04-01 20:00:30 +09:00
Yuichi Nishiwaki 690384c5b4 make-ephemeron -> make-ephemeron-table 2017-03-31 15:59:22 +09:00
Yuichi Nishiwaki fc7b9a50f9 implment dynamic-wind in scheme 2017-03-31 15:41:25 +09:00
Yuichi Nishiwaki e7953146c3 pic_return -> pic_values 2017-03-30 21:53:49 +09:00
Yuichi Nishiwaki 637047fa83 remove call/cc nitro 2017-03-30 17:42:02 +09:00
Yuichi Nishiwaki c658b97dd2 add extra parameter to obj_ptr and obj_value 2017-03-29 08:32:28 +09:00
Yuichi Nishiwaki 3e014b0e60 redefine value constructors/destructors as inline functions 2017-03-29 07:58:08 +09:00
Yuichi Nishiwaki a2b2bf18ca pic_obj_value -> obj_value 2017-03-29 07:12:13 +09:00
Yuichi Nishiwaki b44d69b4da add value.h 2017-03-29 07:11:27 +09:00
Yuichi Nishiwaki 53ec7384ca add length argument to pic_str() 2017-03-28 23:31:15 +09:00
Yuichi Nishiwaki b58a81ca39 reorganize files 2017-03-28 23:10:20 +09:00
Yuichi Nishiwaki 9377999579 bin/picrin -> picrin 2017-03-22 23:59:22 +09:00
Tokuno a3c4dd32f8 Fix make-syntactic-closure
make-syntactic-closure raises an error when it takes identifiers.
The following session demonstrates the error.

> (define-macro a (sc-macro-transformer (lambda (form use-env) 'foo)))
#undefined
> (a)
error: attempted to set a non-object key '()' in a register
2016-09-12 22:32:04 +09:00
Sunrin SHIMURA 2a279f9d2e Merge pull request #346 from okuoku/fbsd-build-fix
readline: Fix nitro.mk to honor pkg-config results
2016-08-12 20:34:09 +09:00
okuoku 7b630cdafe readline: Fix nitro.mk to honor pkg-config results 2016-08-12 17:28:38 +09:00
okuoku 47ac6d2cb1 emyg_atod: Use scalbn(C99) instead of scalb
scalb() was removed in POSIX 2008. It is not implemented in
Cygwin(newlib).
2016-08-12 06:21:57 +09:00
Yuichi Nishiwaki 2d90c1fb90 reimplement read-bytevector in scheme using read-bytevector! 2016-07-11 00:43:15 +09:00
Yuichi Nishiwaki 05cb5aec22 move u8-ready? to contrib 2016-07-10 23:36:32 +09:00
Yuichi Nishiwaki 9515060b00 rename I/O functions 2016-06-20 04:49:01 +09:00
Yuichi Nishiwaki f1b6109b2f make a small optimization 2016-06-03 02:42:48 +09:00
Yuichi Nishiwaki 365ccc7a51 fix #339 2016-06-03 01:44:03 +09:00
stibear d9f4380ae8 fix promise bug
fix the second one in https://github.com/picrin-scheme/picrin/issues/339
2016-06-03 00:41:02 +09:00
stibear 842a0290f3 fix promise bug
fix the first one in https://github.com/picrin-scheme/picrin/issues/339
2016-06-02 22:09:51 +09:00
Yuichi Nishiwaki 574c8ce884 fix #335 2016-03-14 10:55:22 +09:00
Yuichi Nishiwaki ca4fb058d1 remove pic->iseq 2016-03-01 03:14:18 +09:00
Yuichi Nishiwaki 73e38657ff remove pic->native_stack_start 2016-02-24 16:32:24 +09:00
Yuichi Nishiwaki e93536bf9a struct pic_cont -> struct cont 2016-02-23 22:48:06 +09:00
Yuichi Nishiwaki b3e9794385 remove pic->xp 2016-02-23 22:42:03 +09:00
Yuichi Nishiwaki 34331dad6f [bugfix] make-parameter is broken 2016-02-23 20:50:26 +09:00
Yuichi Nishiwaki 4e1aaf8b89 pic_strf_value does not interpret '~s' format specifier 2016-02-23 04:24:42 +09:00
Yuichi Nishiwaki 571fa0993c improve repl error message 2016-02-23 04:03:59 +09:00
Yuichi Nishiwaki fae7ef0376 pic_errorf -> pic_error 2016-02-23 04:03:42 +09:00
Yuichi Nishiwaki 229555fa83 remove pic_error 2016-02-23 02:23:22 +09:00
Yuichi Nishiwaki 608569e876 drop pic_ prefix of structs 2016-02-21 20:32:12 +09:00
Yuichi Nishiwaki 684eb6502d pic_callinfo -> struct pic_callinfo, pic_code -> struct pic_code 2016-02-21 20:18:31 +09:00
Yuichi Nishiwaki 2a0a7be40d C++ mode of PIC_UNUSED 2016-02-21 19:19:35 +09:00
Yuichi Nishiwaki f8b05efa7f don't call pic_panic on internal logic flaw 2016-02-21 19:02:23 +09:00
Yuichi Nishiwaki 8dd423cdbc add include/picrin/private dir 2016-02-21 01:37:40 +09:00
Yuichi Nishiwaki 2246cc42d9 integrate mutable-string.c into the core 2016-02-21 01:04:55 +09:00
Yuichi Nishiwaki 53b760cfac add picrin/extra.h 2016-02-21 00:58:58 +09:00
Yuichi Nishiwaki 317369a914 don't include picrin/state.h by default 2016-02-21 00:30:40 +09:00
Yuichi Nishiwaki 9e5f846787 make pic_get_args more useful 2016-02-20 21:16:10 +09:00