Commit Graph

1937 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 673b66a723 use register_core_symbol macro to initialize pic_state 2013-11-26 06:40:48 -08:00
Yuichi Nishiwaki ad3c268f81 insert renamer pass after old macroexpansion phase 2013-11-26 04:08:46 -08:00
Yuichi Nishiwaki 1ad562f1a8 [wip] add renamer 2013-11-26 04:06:46 -08:00
Yuichi Nishiwaki 573ba79782 [bugfix] log10 must not be given 0 2013-11-26 04:06:03 -08:00
Yuichi Nishiwaki b7f0f3dfb3 [bugfix] get rid of a comma 2013-11-26 04:05:37 -08:00
Yuichi Nishiwaki c59d8f601b add PIC_TT_SENV and PIC_TT_SYNTAX 2013-11-26 04:05:02 -08:00
Yuichi Nishiwaki 3c65025394 add macro.h 2013-11-26 04:03:52 -08:00
Yuichi Nishiwaki bf6a337a5f add pic_cxxr functions 2013-11-26 02:42:13 -08:00
Yuichi Nishiwaki 72cf45d4ea add `new_uniq_sym` function 2013-11-25 23:38:39 -08:00
Yuichi Nishiwaki 4701f86ff0 fix a grammar error 2013-11-26 16:22:49 +09:00
Yuichi Nishiwaki 52f1776b22 cleanup 2013-11-25 11:10:57 +09:00
Yuichi Nishiwaki f11623f075 add_heap_page should not be invoked in gc_alloc, but should be in obj_alloc 2013-11-25 00:24:03 +09:00
Yuichi Nishiwaki df20de5285 push back dead objects to free list 2013-11-25 00:22:32 +09:00
Yuichi Nishiwaki 40bfe13895 add a comment to sweep algorithm 2013-11-22 07:30:29 -08:00
Yuichi Nishiwaki 563b65efde s/expand.c/macro.c/ 2013-11-22 07:22:52 -08:00
Yuichi Nishiwaki 579735d16e s/heap_page/pic_heap/g 2013-11-22 07:19:31 -08:00
Yuichi Nishiwaki e6523730a4 pluggable heap pages 2013-11-22 07:12:03 -08:00
Yuichi Nishiwaki 663081921d shrink default heap size 2013-11-22 06:38:41 -08:00
Yuichi Nishiwaki 1be72f1e18 rewrite gc! 2013-11-22 06:38:29 -08:00
Yuichi Nishiwaki 2dd293c0f9 [workaround] add stack overflow detector 2013-11-22 06:37:57 -08:00
Yuichi Nishiwaki 0a521c2314 add overflow guards to some global stacks (or value pools) 2013-11-22 06:35:51 -08:00
Yuichi Nishiwaki 23b806cc41 print propagated error messages when stdlib failed to build 2013-11-22 06:34:34 -08:00
Yuichi Nishiwaki 4b326e4f6e add new compilation flag GC_DEBUG_DETAIL 2013-11-22 03:29:05 -08:00
Yuichi Nishiwaki 4004282e50 alloc stacks by calloc, not malloc 2013-11-22 03:28:09 -08:00
Yuichi Nishiwaki 626c0adb3a fix broken pic_type_repr 2013-11-22 03:27:09 -08:00
Yuichi Nishiwaki f610424ae5 remove unnecessary protect 2013-11-22 01:53:22 -08:00
Yuichi Nishiwaki 05b2717b9e less memory usage of pic_reverse 2013-11-21 06:32:56 -08:00
Yuichi Nishiwaki 00fc0ee931 protect more objects during expansion 2013-11-21 06:31:32 -08:00
Yuichi Nishiwaki f146287eff load_stdlib releases arena objects every time evaluating exprssion 2013-11-21 06:30:33 -08:00
Yuichi Nishiwaki 6581177ec5 realloc pic->irep when exhausted 2013-11-21 06:28:43 -08:00
Yuichi Nishiwaki 58b9e2cb60 debug prints when a global stack is realloc'ed 2013-11-21 06:28:06 -08:00
Yuichi Nishiwaki e28d9e3b71 add -fPIC flag (it's needed when compiling on Linux) 2013-11-21 02:55:08 -08:00
Yuichi Nishiwaki e49ddbd13b [bugfix] makeing a shared library failure under the version 3 of bison 2013-11-18 20:47:20 +09:00
Yuichi Nishiwaki ed0b02ecfa fixed #5 (again) 2013-11-18 20:38:03 +09:00
Yuichi Nishiwaki d2bb4ad4f2 Revert "(maybe) fix #5"
This reverts commit a3ac65a75f.
2013-11-18 20:36:30 +09:00
Yuichi Nishiwaki a3ac65a75f (maybe) fix #5 2013-11-18 20:35:27 +09:00
Yuichi Nishiwaki d5f01595b0 fixed #4 2013-11-18 20:24:09 +09:00
Yuichi Nishiwaki 8b46cef71e Revert "change lex option"
This reverts commit e6a0078892.
2013-11-18 20:21:01 +09:00
Yuichi Nishiwaki e6a0078892 change lex option 2013-11-18 20:10:44 +09:00
Yuichi Nishiwaki 6f94202e13 s/pic_expand/pic_macroexpand/g 2013-11-18 16:36:44 +09:00
Yuichi Nishiwaki a3c2dabcc7 add feature function 2013-11-18 01:46:28 +09:00
Yuichi Nishiwaki 7352cf8bcf add missing bytevector functions 2013-11-18 01:45:08 +09:00
Yuichi Nishiwaki 926924982d add missing vector functions 2013-11-18 01:29:54 +09:00
Yuichi Nishiwaki 7fbff9384e add missing string functions 2013-11-18 01:26:03 +09:00
Yuichi Nishiwaki 0d952d3639 add string functions 2013-11-18 01:09:54 +09:00
Yuichi Nishiwaki 6cfbe51c87 pic_get_args: change type of argc 2013-11-18 01:07:51 +09:00
Yuichi Nishiwaki 6ac3055816 change return type of pic_str_new to struct pic_string * 2013-11-18 00:28:42 +09:00
Yuichi Nishiwaki ca66291d93 vector<->list conversion 2013-11-17 18:35:45 +09:00
Yuichi Nishiwaki d675ce1c80 update readme 2013-11-17 18:18:11 +09:00
Yuichi Nishiwaki d4188e0969 add error function 2013-11-17 18:16:03 +09:00