Commit Graph

3557 Commits

Author SHA1 Message Date
Lassi Kortela 311abc4d5f Rewrite tools/mkboot.scm in Perl
Now we don't have to depend on a bin/picrin-bootstrap binary.

The old mkboot.scm filtered the Scheme source code through `read` and
`write`. This step removed extra whitespace and comments, but required
mkboot to depend on Scheme. In practice, the whitespace and comments
are not a problem, but the dependency is.

Discussed with Masanori Ogino.
2024-03-01 21:08:12 +09:00
Masanori Ogino 16615615c9 Add status note
Signed-off-by: Masanori Ogino <mogino@acm.org>
2024-03-01 10:31:41 +09:00
Yuichi Nishiwaki e273cba24d fix include path 2017-04-03 13:32:47 +09:00
Yuichi Nishiwaki 8f6113f61b library system is now implemeted in scheme 2017-04-03 00:37:37 +09:00
Yuichi Nishiwaki 408bf4cf48 use dictionary for pic->globals 2017-04-02 22:19:11 +09:00
Yuichi Nishiwaki d319a57422 WIP: reimplement library system in scheme 2017-04-02 22:15:38 +09:00
Yuichi Nishiwaki 4dd5e5b0d6 add test for the prev bugfix 2017-04-02 01:21:24 +09:00
Yuichi Nishiwaki 7b3972e832 bugfix: initial value of parameter must be registered to the top
dynamic env
2017-04-02 01:13:03 +09:00
Yuichi Nishiwaki eaea31ee19 add assertions to type cast functions 2017-04-02 00:15:23 +09:00
Yuichi Nishiwaki 130d226d65 bugfix: no allocation between call of producer and pic_receive 2017-04-02 00:15:16 +09:00
Yuichi Nishiwaki c51be07a9a add dictionary-delete! and dictionary-has? 2017-04-01 20:00:30 +09:00
Yuichi Nishiwaki f7ab0a9cd6 bugfix: do not rewind arena_index up to before pic_try 2017-04-01 18:57:24 +09:00
Yuichi Nishiwaki 99c269e7ea bugfix: fix sequence point violation 2017-04-01 17:55:38 +09:00
Yuichi Nishiwaki b3aaee6e3a tear off contexts when invoking a continuation 2017-04-01 17:32:36 +09:00
Yuichi Nishiwaki 7d47d56b9c bugfix: forgot to remove pic->cp 2017-04-01 15:43:38 +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 449800c117 add pic->dyn_env 2017-03-31 14:39:01 +09:00
Yuichi Nishiwaki d478affabd manage ireps by gc 2017-03-30 23:29:08 +09:00
Yuichi Nishiwaki 2d8980b2d0 inline pic_eq_p when nan boxing is enabled 2017-03-30 22:41:32 +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 8d4a8be402 remvoe unused string APIs 2017-03-30 16:19:20 +09:00
Yuichi Nishiwaki c658b97dd2 add extra parameter to obj_ptr and obj_value 2017-03-29 08:32:28 +09:00
Yuichi Nishiwaki 70a4432d20 fix build on x64 2017-03-29 08:20:02 +09:00
Yuichi Nishiwaki d5882f6d6d update READMEs 2017-03-29 08:11:20 +09:00
Yuichi Nishiwaki 3e014b0e60 redefine value constructors/destructors as inline functions 2017-03-29 07:58:08 +09:00
Yuichi Nishiwaki 6d264f7b53 nan-boxing: embed type tag of full size to uint64_t 2017-03-29 07:23:35 +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 f7484c089f cleanup 2017-03-29 00:03:23 +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 39b6103548 fix build 2017-03-28 21:51:24 +09:00
Yuichi Nishiwaki 446a17f2e4 update yuichi's e-mail address 2017-03-23 22:52:55 +09:00
Yuichi Nishiwaki d66ce64130 generate boot.c from boot.scm 2017-03-23 22:47:55 +09:00
Yuichi Nishiwaki 4834052556 bugfix: string-copy issue 2017-03-23 22:33:41 +09:00
Yuichi Nishiwaki 25e2ad7505 add `make push` command 2017-03-23 01:32:33 +09:00
Yuichi Nishiwaki ad1912119d update copyright year 2017-03-23 01:27:05 +09:00
Yuichi Nishiwaki 8ed21aa4a4 update lib/README.md 2017-03-23 00:42:20 +09:00
Yuichi Nishiwaki 8759f867b7 lib/libpicrin.so -> libpicrin.so 2017-03-23 00:40:33 +09:00
Yuichi Nishiwaki 9377999579 bin/picrin -> picrin 2017-03-22 23:59:22 +09:00
Yuichi Nishiwaki e0786a7015 extlib/benz -> lib/ 2017-03-22 23:41:38 +09:00
Yuichi Nishiwaki a639e8f562 Merge pull request #348 from wtokuno/patch-1
Fix make-syntactic-closure
2016-09-12 16:30:22 +02: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
Yuichi Nishiwaki 5d92067031 Merge pull request #344 from okuoku/cygwin-build-fix
Cygwin build fix
2016-08-12 11:37:30 +09:00
okuoku 226cb8500a Cygwin: rename raise => raise_action
Cygwin libc pulls <signal.h> with <setjmp.h>. Function raise() would
conflict with it.
2016-08-12 06:36:05 +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