Commit Graph

223 Commits

Author SHA1 Message Date
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
stibear 2f550aee49 implemented Filtering & partitioning 2014-02-11 05:34:32 +09:00
stibear 4e00cfc86a implemented Fold, unfold & map 2014-02-11 05:06:05 +09:00
stibear 270f5aa8f0 Merge branch 'master' of git://github.com/wasabiz/picrin into srfi1 2014-02-10 23:22:11 +09:00
stibear 4e2becb642 implemented Miscellaneous completely 2014-02-10 23:20:20 +09:00
stibear 2c491001a5 implemented Miscellaneous 2014-02-10 23:01:17 +09:00
Yuichi Nishiwaki 6538dfa2cf cleanup 2014-02-09 03:41:13 +09:00
Yuichi Nishiwaki cf152e2249 remove (picrin bootstrap-utils) library 2014-02-09 03:17:51 +09:00
Yuichi Nishiwaki a08a19bed1 cosmetic changes 2014-02-09 03:15:50 +09:00
Yuichi Nishiwaki 668ace7901 implement some string functions in c 2014-02-09 03:10:58 +09:00
Yuichi Nishiwaki 39af5ca254 implement string-append in C 2014-02-09 02:42:50 +09:00
stibear a89d88d276 implemented Selectors 2014-02-09 02:20:48 +09:00
stibear bc51836440 implemented Constructors and Predicates 2014-02-08 23:11:17 +09:00
Yuichi Nishiwaki 5d1c00bb06 add write/write-shared/display, but incomplete 2014-02-08 19:45:05 +09:00
Yuichi Nishiwaki 1adecf5cf5 style clenaup 2014-02-08 17:32:40 +09:00
Yuito Murase d5b0b7bf19 implement standard library : (scheme cxr) 2014-02-08 03:24:26 +09:00
Yuichi Nishiwaki b6637842e7 Revert "Revert "suppress duplicate definition warnings, variables are hoisted""
This reverts commit 968c0b53df.
2014-02-08 03:18:13 +09:00
Yuichi Nishiwaki 968c0b53df Revert "suppress duplicate definition warnings, variables are hoisted"
This reverts commit 15e95f82da.
2014-02-08 03:12:39 +09:00
Yuichi Nishiwaki f051de77c5 support 'else' syntax in cond 2014-02-08 02:55:17 +09:00
Yuichi Nishiwaki 15e95f82da suppress duplicate definition warnings, variables are hoisted 2014-02-08 02:48:57 +09:00
Yuichi Nishiwaki a99cf8458a implement ir-macro-transformer with C 2014-01-19 01:14:32 -08:00
Yuichi Nishiwaki 0425dbdd1e implement values and call-with-values with C 2014-02-02 14:26:58 +09:00
Yuichi Nishiwaki dd784c589b implement some of important list functions listed on srfi-1 2014-02-01 23:20:13 +09:00
Yuichi Nishiwaki 78d82e4d12 add srfi-1 prototype 2014-02-01 22:45:59 +09:00
Yuichi Nishiwaki 95c5361197 rewrite min/max/gcd/lcm with C 2014-01-22 23:47:33 +09:00
Yuichi Nishiwaki 2f965fa809 replace some number predicates with c imples 2014-01-22 22:58:08 +09:00
Yuichi Nishiwaki 5dd66cbcd1 replace list-copy and make-list impls by scheme with ones by C 2014-01-22 22:37:27 +09:00
Yuichi Nishiwaki c539f889cd native implementatino of for-each 2014-01-22 22:21:48 +09:00
Yuichi Nishiwaki 85a5745716 native implmentation of map 2014-01-22 22:18:25 +09:00
Yuichi Nishiwaki e417439f4a reduce exports 2014-01-22 21:36:32 +09:00
Yuichi Nishiwaki 74088d0130 replace list-set! impl with C impl 2014-01-22 21:35:13 +09:00
Yuichi Nishiwaki d07456466d replace cxxr and list? impls by scheme with ones by C 2014-01-22 21:29:11 +09:00
Yuichi Nishiwaki 7fc2885fad replace list impl by scheme with impl by C 2014-01-22 21:20:13 +09:00
Yuichi Nishiwaki bbd1ec3fbb replace length/reverse/append impls with c functions 2014-01-22 21:14:10 +09:00
Yuichi Nishiwaki 67d4d28d19 impl list-ref and list-tail as C functions 2014-01-22 21:00:29 +09:00
Yuichi Nishiwaki 82dd55f77f er macro no longer requires identifier? defined 2014-01-11 12:56:51 +09:00
Yuichi Nishiwaki 64855bfcec er-macro-transformer is no longer defined using sc 2014-01-11 12:56:07 +09:00
Yuichi Nishiwaki c66a217e87 Types that can be passed to the rename procedure is only a symbol 2014-01-11 12:55:34 +09:00
Yuichi Nishiwaki d0713456ef add make-parameter and parameterize 2014-01-09 00:39:45 +09:00
Yuichi Nishiwaki 8273659bd0 [bugfix] `do` macro should execute epilogue expressions iff test
evaluates *true*
2014-01-08 20:18:44 +09:00
Yuichi Nishiwaki 55105dc14f gather utility functions which are necessary in bootstrap stage 2013-12-10 09:14:08 -08:00
Yuichi Nishiwaki cb41d9262a add `define-values` syntax 2013-12-10 08:48:26 -08:00
Yuichi Nishiwaki d4ebf6c926 letrec and let-values should be declared as aliases of letrec* and let*-values 2013-12-10 08:37:33 -08:00
Yuichi Nishiwaki 38a3a0936d define let*-values as an alias to let-values 2013-12-10 08:34:57 -08:00
Yuichi Nishiwaki 11c0d78957 [bugfix] exact-integer-sqrt was broken 2013-12-10 08:30:20 -08:00
Yuichi Nishiwaki acd70f108d implement let-values 2013-12-10 08:30:06 -08:00
Yuichi Nishiwaki 45fb1be04f strict check whether given expression is multiple value or not 2013-12-10 08:14:14 -08:00
Yuichi Nishiwaki 7fe6a5007c separate functions and syntaces related to multiple value 2013-12-10 08:11:54 -08:00
Yuichi Nishiwaki c6e828ef3e utf8<->string conversion 2013-12-10 07:58:25 -08:00
Yuichi Nishiwaki 6958730fa4 export all symbols defined in built-in.scm 2013-12-10 07:13:57 -08:00