Commit Graph

272 Commits

Author SHA1 Message Date
Yuichi Nishiwaki a2c00017ea implement memq and assq with c 2014-07-19 12:48:27 +09:00
Yuichi Nishiwaki e715ca10ea add capture-syntactic-environment. close #96 2014-07-19 11:23:14 +09:00
Yuichi Nishiwaki 8a1d068519 fix many bugs around sc 2014-07-19 11:20:54 +09:00
Yuichi Nishiwaki f66bea4e97 add close-syntax 2014-07-17 16:47:50 +09:00
Yuichi Nishiwaki 690bdcb83d add srfi 111 2014-07-17 16:43:25 +09:00
Yuichi Nishiwaki b99bddcad0 rename built-in.scm to prelude.scm 2014-07-17 16:22:53 +09:00
Yuichi Nishiwaki 5b41b979d9 [bugfix] abuse compare of er-macro 2014-07-17 16:11:33 +09:00
Yuichi Nishiwaki e5511027e8 add type check guards to comparators 2014-07-17 13:58:08 +09:00
Yuichi Nishiwaki f4d68d691b remove c impls of ir/er macros 2014-07-17 13:44:18 +09:00
Yuichi Nishiwaki c0b83759a8 re-implement ir-macro-transformer in scheme 2014-07-17 13:40:45 +09:00
Yuichi Nishiwaki 2e35f03f35 remove type check guards in compare function 2014-07-17 13:40:18 +09:00
Yuichi Nishiwaki 5e8c4af84b fix bugs introduced in prev commit 2014-07-17 13:39:28 +09:00
Yuichi Nishiwaki cf509a4922 [bugfix] move define-auxiliary-syntax to the beginning. This made
mac-env and use-env of cond expression different
2014-07-17 11:32:52 +09:00
Yuichi Nishiwaki 73a6eaf9da rewrite er-macro-transformer in scheme 2014-07-17 11:32:41 +09:00
Yuichi Nishiwaki 5d9242f5b5 rewrite make-syntactic-closure in scheme 2014-07-17 11:32:30 +09:00
Yuichi Nishiwaki bdcb83296e update case-lambda impl 2014-07-16 14:47:36 +09:00
Yuichi Nishiwaki b86d010b76 add letrec-syntax 2014-07-16 14:30:45 +09:00
Yuichi Nishiwaki b1962ef61b Merge branch 'array' 2014-07-15 23:55:56 +09:00
Yuichi Nishiwaki fa0cde8d77 publish call-with-{in,out}put-file 2014-07-15 23:09:20 +09:00
Yuichi Nishiwaki 632529c9a5 add array-map and array-for-each 2014-07-15 22:45:04 +09:00
Yuichi Nishiwaki 318475c14b optional argument for make-array 2014-07-15 22:27:48 +09:00
Yuichi Nishiwaki 4f5a92d921 rename array type; avoid variable conflict 2014-07-15 22:20:45 +09:00
Yuichi Nishiwaki d358c8873d add array<->list converters 2014-07-15 22:20:32 +09:00
Yuichi Nishiwaki 2da5d440a8 more array functions 2014-07-15 21:26:08 +09:00
Yuichi Nishiwaki 443bd6e830 initial array support 2014-07-15 20:59:29 +09:00
Yuichi Nishiwaki 1d5fa803aa add case-lambda 2014-07-15 17:51:27 +09:00
Yuichi Nishiwaki fda89b1604 [bugfix] broken hygiene of cond expression 2014-07-13 22:51:22 +09:00
Yuichi Nishiwaki b7a44ee810 fix not-implemented errors 2014-07-13 12:33:13 +09:00
Yuichi Nishiwaki 71677d3e85 add dictionary.scm 2014-07-13 12:18:39 +09:00
Yuichi Nishiwaki 9c78a9a51f refactor parameterize 2014-07-13 11:16:38 +09:00
Yuichi Nishiwaki 7ffcbb7a7d refactor var. c api no longer supports converters. 2014-07-13 11:07:42 +09:00
Yuichi Nishiwaki 05309a1d38 don't use pic_defvar 2014-07-13 11:07:42 +09:00
Sunrim KIM (keen) 351d7948c0 fix bug of `{bytevector, vector}-copy!` with the same src and dst 2014-07-07 04:16:40 +09:00
Yuichi Nishiwaki 2af2362b4f support `(define-values (x y . z) ...)` 2014-06-29 15:08:23 +09:00
Yuichi Nishiwaki a6ac56d311 rewrite `include` macro with scheme 2014-06-29 15:08:23 +09:00
Yuichi Nishiwaki cee98a9954 [bugfix] support vector literal in quasiquote 2014-06-28 19:43:49 +09:00
Yuichi Nishiwaki 1e458d9691 fix #153 2014-06-28 12:40:02 +09:00
stibear 31acb21093 rewrite an unavailable symbol into an available one 2014-06-28 11:48:30 +09:00
Yuichi Nishiwaki 39a87d1c60 Merge pull request #131 from KeenS/missing-functions
( ref #130 ) Missing functions
2014-06-27 09:03:50 +09:00
Yuichi Nishiwaki 195ccf199d [bugfix] make-promise makes a promise that is done all along 2014-06-27 08:55:02 +09:00
Yuichi Nishiwaki a98411cd0b syntax error around comma 2014-06-27 08:55:01 +09:00
stibear 2526474fb3 implements delete-duplicates(!) tail-recursively 2014-06-26 22:44:38 +09:00
koba-e964 5b215eb57a Make filter tail-recursive 2014-06-26 18:40:40 +09:00
Yuito Murase d39a2eb4c9 fix bug that filter-map fails when called with multiple clists 2014-06-26 09:53:30 +09:00
stibear 694d5eafe3 implements (srfi 60) 2014-06-23 03:11:43 +09:00
stibear d765d803cb implements (srfi 43) 2014-06-19 03:23:47 +09:00
stibear 5f4dcd331c implements (srfi 8) 2014-06-19 03:21:53 +09:00
stibear 72dabaa24d correct `pair-for-each` 2014-06-18 22:00:24 +09:00
Sunrim KIM (keen) 6ccfa7ad69 some bug fixes 2014-05-29 03:58:04 +09:00
Yuichi Nishiwaki 65038c9504 Merge pull request #120 from KeenS/bytevector-append
fix bug of `bytevector-append`
2014-05-29 01:37:38 +09:00
Sunrim KIM (keen) a9c4cefe88 `quotient` is defined in base 2014-05-29 01:23:06 +09:00
Sunrim KIM (keen) 49e2148d38 fix bug of `bytevector-append` 2014-05-29 00:31:40 +09:00
Sunrim KIM (keen) b9a783c23e if `=>` is specified, treat expression as a function 2014-05-27 17:49:51 +09:00
Sunrim KIM (keen) 0fea822ac0 allow `else` and `=>` keyword in `case` 2014-05-27 13:24:59 +09:00
Yuichi Nishiwaki db1a99c63a write down list of picrin's standard libraries by hand 2014-05-21 01:23:43 +09:00
Yuichi Nishiwaki e78ad9f452 split into piclib/CMakeLists.txt 2014-05-21 00:48:56 +09:00
Yuichi Nishiwaki 7132c0714e support => in cond syntax. close #95 2014-04-06 11:59:29 +09:00
Yuito Murase 388987c55b move code from piclib/syntax-rules.scm to piclib/built-in.scm 2014-04-03 15:40:48 +09:00
Yuito Murase 7af2f1e11d clean up code 2014-04-03 15:30:42 +09:00
Yuito Murase 85db821ad2 remove definition of number->string 2014-04-03 02:16:29 +09:00
Yuito Murase 8c2e69336e <literal> superiors to <ellipsis>, when there is conflict 2014-04-03 02:13:52 +09:00
Yuito Murase cf8bf2c32b fix bug of matching symbol literal 2014-04-03 01:49:23 +09:00
Yuito Murase cb28c52e9b fix bug on matching string litral 2014-04-03 01:47:26 +09:00
Yuito Murase 1352735f3d remove redundunt code 2014-04-02 01:32:24 +09:00
Yuito Murase d8ed0b384c add support match/expand vector 2014-04-02 01:31:54 +09:00
Yuito Murase 7ad3782f3f bug fix 2014-04-02 01:16:56 +09:00
Yuito Murase 62e887e89c remove debug code 2014-04-02 00:07:38 +09:00
Yuito Murase 894954117d fix bugs around matching (... p <ellipsis> ...) pattern 2014-04-01 23:43:46 +09:00
Yuito Murase da7b76a77a implement syntax-rules
need to fix
* number->string
* check-vars
* vector pattern/template
2014-04-01 01:21:29 +09:00
stibear b825da0e5a implemented completely 2014-03-26 00:48:46 +09:00
Yuichi Nishiwaki 794c87b870 resolve redefinition warnings 2014-03-25 14:39:44 +09:00
Yuichi Nishiwaki a7ff80090b delete trailing whitespaces in 1.scm 2014-03-25 14:32:56 +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 0e1b6d93b4 load srfi files at init. close #61 2014-03-15 20:53:07 +09:00
Yuichi Nishiwaki 5b0bce9ce3 cleanup 2014-03-15 20:43:22 +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 8a9bd366a1 define display function in C 2014-03-04 00:12:28 +09:00
Yuichi Nishiwaki 078b72ff17 cleanup 2014-02-20 20:44:30 +09:00
stibear cb1414dfa6 implemented (scheme lazy) 2014-02-19 02:18:21 +09:00
Yuichi Nishiwaki 54c0ded876 move (picrin record) to the head of file 2014-02-19 02:01:02 +09:00
Yuichi Nishiwaki ca8a1f3bf7 export define-record-type from (scheme base) 2014-02-19 01:59:37 +09:00
Yuichi Nishiwaki 9e6612c0cb s/(scheme record)/(picrin record)/g 2014-02-19 01:59:22 +09:00
Yuichi Nishiwaki f17f2f3a77 comment out eval redefinition 2014-02-19 01:59:05 +09:00
Yuichi Nishiwaki 0b1438a9da cleanup 2014-02-19 01:41:35 +09:00
stibear 487b99d2e5 implemented scheme-record 2014-02-19 01:22:54 +09:00
Yuichi Nishiwaki 64e98d3e9b remove old exports 2014-02-18 17:30:11 +09:00
Yuichi Nishiwaki 26808c1f51 add write function in C level (must not enter into a infinite loop) 2014-02-18 04:22:58 +09:00
Yuichi Nishiwaki cd34417c42 add write-shared 2014-02-18 03:40:03 +09:00
Yuichi Nishiwaki c69687d234 quasiquote is now safe for nesting 2014-02-12 22:31:17 +09:00
stibear 95561ba3e8 fixed trivial bugs 2014-02-11 22:53:51 +09:00
stibear 88706bddad fixed trivial bug 2014-02-11 22:29:25 +09:00
stibear cfdeae686c Merge branch 'master' of git://github.com/wasabiz/picrin into srfi1 2014-02-11 21:53:31 +09:00
stibear 47594a07e2 implemented Set operations on lists 2014-02-11 21:52:36 +09:00
stibear bdfaef4467 implemented Association lists 2014-02-11 21:52:15 +09:00
Yuichi Nishiwaki 634c9e0e2f fix #38 2014-02-11 21:35:56 +09:00
stibear 00c8351d5f implemented Deleting 2014-02-11 16:40:59 +09:00
stibear 978e800104 implemented Searching 2014-02-11 06:28:36 +09:00