Commit Graph

1574 Commits

Author SHA1 Message Date
Yuichi Nishiwaki ef7d01971b publish UNREACHABLE macro 2014-03-19 17:40:31 +09:00
Yuichi Nishiwaki acfa79bc62 s/NORETURN/noreturn/g 2014-03-19 17:37:06 +09:00
Yuichi Nishiwaki 41a3e17904 no unistd.h in lex.yy.c 2014-03-19 17:35:54 +09:00
Yuichi Nishiwaki cd657e7f9b Merge pull request #72 from koba-e964/master
[bugfix] circular-list?, proper-list?
2014-03-17 11:57:46 +09:00
koba-e964 dfb525157e [bugfix] circular-list? in srfi-1
circular-list? does not get stuck in an infinite loop if it is given a list such as '(1 2 3 2 3 2 3 2 3 ...).
2014-03-17 10:43:39 +09:00
koba-e964 21b17cfd59 [bigfix] circular-list?
Fix a bug in circular-list?
2014-03-17 10:03:29 +09:00
Yuichi Nishiwaki 04375c3056 [bugfix] propagate errors through the VM 2014-03-16 23:32:28 +09:00
Yuichi Nishiwaki 00d92c79bf pic_length is now unsafe to circular list 2014-03-16 23:13:03 +09:00
Yuichi Nishiwaki 8598042deb pic_list_p don't need to take pic_state *. 2014-03-16 23:12:07 +09:00
Yuichi Nishiwaki 27d4853aef refactor pic_list_p 2014-03-16 22:51:33 +09:00
Yuichi Nishiwaki 6cc6046ea3 Merge pull request #69 from koba-e964/master
list? for circular lists (Issue #17)
2014-03-16 22:39:57 +09:00
koba-e964 c23e3254fb cleanup
Re-format the code so that it complies with the C coding rule of picrin.
2014-03-16 21:55:50 +09:00
koba-e964 138ac70130 list? for circular lists
pic_list_p() detects circular lists using Floyd's cycle-finding algorithm.
2014-03-16 01:38:12 +09:00
Yuichi Nishiwaki 495be09d8a [bugfix] could not explicitly disable readline on some environment where libreadline
is installed
2014-03-15 21:22:53 +09:00
Yuichi Nishiwaki 0e1b6d93b4 load srfi files at init. close #61 2014-03-15 20:53:07 +09:00
Yuichi Nishiwaki b4609aafb7 refine pic_load error message 2014-03-15 20:52:34 +09:00
Yuichi Nishiwaki 5b0bce9ce3 cleanup 2014-03-15 20:43:22 +09:00
Yuichi Nishiwaki e35820da54 add koba-e to AUTHORS 2014-03-15 10:54:33 +09:00
Yuichi Nishiwaki 15604ae7bd update readme 2014-03-15 10:13:50 +09:00
Yuichi Nishiwaki d9841a6e16 Merge pull request #66 from koba-e964/master
SRFI 95 Sorting and Merging
2014-03-15 10:06:31 +09:00
koba-e964 309ac59a7e [bugfix] merge-sort!
merge-sort! returns correct lists.
Sort functions for vectors are not implemented.
2014-03-15 03:29:58 +09:00
koba-e964 4dd7af5799 Sort functions for lists
There are some bugs in merge-sort!.
2014-03-15 03:19:23 +09:00
Yuichi Nishiwaki a785719ccc [bugfix] pic_close broken 2014-03-10 01:53:09 +09:00
Yuichi Nishiwaki 68ea22f6eb add pic_blk_exit 2014-03-10 01:51:27 +09:00
Yuichi Nishiwaki 851187f7bb use pic_try/catch in stdlib_load 2014-03-10 01:12:19 +09:00
Yuichi Nishiwaki d227c22379 change native_stack marker type to char * 2014-03-10 01:11:01 +09:00
Yuichi Nishiwaki d40f39962b add missing find_package(git) 2014-03-10 00:34:56 +09:00
Yuichi Nishiwaki 920674a6ef typedef struct pic_block pic_block 2014-03-07 22:09:12 +09:00
Yuichi Nishiwaki 751d0f87f8 typedef struct pic_code pic_code 2014-03-07 22:06:43 +09:00
Yuichi Nishiwaki 07cdd24fe1 update xrope 2014-03-06 22:19:35 +09:00
Yuichi Nishiwaki 171539b029 cleanup CMakeFiles.txt 2014-03-05 23:06:06 +09:00
Yuichi Nishiwaki 488a2c902c mmm, cmake on travis seems earlier than 2.8.8... 2014-03-05 23:00:24 +09:00
Yuichi Nishiwaki 19371d1d81 some compilers don't support liking a static library into another shared
library. compiling xfile into an object file instead.
2014-03-05 16:06:35 +09:00
Yuichi Nishiwaki e4ead0da48 mv FindReadline.cmake FindREADLINE.cmake 2014-03-05 15:59:44 +09:00
Yuichi Nishiwaki 0e4ec3b41b add -g flag when Debug mode 2014-03-05 00:39:43 +09:00
Yuichi Nishiwaki a243134dca compile xfile into a static library 2014-03-05 00:39:30 +09:00
Yuichi Nishiwaki f0367d95a0 cleanup 2014-03-04 23:58:07 +09:00
Yuichi Nishiwaki 818fb41f77 fix #63. process escape sequences in string 2014-03-04 23:45:55 +09:00
Yuichi Nishiwaki f8b3f5f1fd don't rename unbound symbols 2014-03-04 00:45:47 +09:00
Yuichi Nishiwaki f776907550 pic_error is obsoleted 2014-03-04 00:44:13 +09:00
Yuichi Nishiwaki 6fbfd15011 formatter support display syntax (~a) 2014-03-04 00:32:55 +09:00
Yuichi Nishiwaki 4bf2262605 pic_alloc is the right name, not pic_malloc 2014-03-04 00:30:11 +09:00
Yuichi Nishiwaki d8d34353aa cleanup 2014-03-04 00:29:00 +09:00
Yuichi Nishiwaki 8f5c053bd8 add display function API 2014-03-04 00:28:39 +09:00
Yuichi Nishiwaki 5b2898ae5c rename read functions which return a list of multiple expressions to 'parse' 2014-03-04 00:26:33 +09:00
Yuichi Nishiwaki 8a9bd366a1 define display function in C 2014-03-04 00:12:28 +09:00
Yuichi Nishiwaki 1de4073212 cleanup 2014-03-03 23:13:32 +09:00
Yuichi Nishiwaki 5d4d90228d update read error message 2014-03-03 23:02:52 +09:00
Yuichi Nishiwaki 2cdcbb150a refactor repl 2014-03-03 23:00:58 +09:00
Yuichi Nishiwaki 777f951caf pic_compile now unsafe to compilation error 2014-03-03 22:49:59 +09:00