Commit Graph

688 Commits

Author SHA1 Message Date
Yuichi Nishiwaki e067ab64c9 Merge pull request #13 from omasanori/isoc-part-1
Improve ISO C Conformance and Remove Warnings: Part 1
2014-01-07 21:56:07 -08:00
OGINO Masanori ceffd8a3bd Cast to `void *` for '%p' format specifiers.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 18:10:33 +09:00
OGINO Masanori da1eb0bc10 Remove '\e'. The escape sequence is not in ISO C.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 18:00:02 +09:00
Yuichi Nishiwaki be22f63378 Merge pull request #8 from omasanori/fix-include
Include string.h and stdlib.h at all time.
2014-01-04 23:22:40 -08:00
Yuichi Nishiwaki 259766f4d5 Merge pull request #9 from omasanori/without-rl
Fix warnings when !PIC_ENABLE_READLINE.
2014-01-04 23:22:29 -08:00
Yuichi Nishiwaki 99c398e300 Merge pull request #10 from omasanori/fix-import
Add (import ...) to etc/tak.scm and t/*.scm.
2014-01-04 23:22:09 -08:00
OGINO Masanori 61f0852b82 Include string.h and stdlib.h at all time.
Even if readline support is disabled, some functions declared in
string.h and stdlib.h are used. (e.g. strlen and exit)

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 16:12:17 +09:00
OGINO Masanori ebda32d108 Add (import ...) to etc/tak.scm and t/*.scm.
Note that this commit only fixes 'unbound variable' errors. For now
t/dynamic-wind.scm, t/exception.scm and t/ir-macro.scm seem buggy on my
Linux (amd64) machine.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 16:11:32 +09:00
OGINO Masanori 9681301ab4 Fix warnings when !PIC_ENABLE_READLINE.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2014-01-05 16:06:14 +09:00
Yuichi Nishiwaki fbe9bb7a38 remove NOTICE message on readme 2013-12-28 02:48:09 -08:00
Yuichi Nishiwaki c52b15e5b8 update readme 2013-12-10 09:50:30 -08:00
Yuichi Nishiwaki 55105dc14f gather utility functions which are necessary in bootstrap stage 2013-12-10 09:14:08 -08:00
Yuichi Nishiwaki eb4202cf34 revise readme 2013-12-10 09:10:07 -08:00
Yuichi Nishiwaki 40f7a3eacf fix the comment about library syntax on README 2013-12-10 09:01:27 -08:00
Yuichi Nishiwaki dfe0c8f384 update readme 2013-12-10 08:52:17 -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 12aff8134f too long log will cause travis report an error 2013-12-10 08:06:07 -08:00
Yuichi Nishiwaki e380f810af use annotation in readme 2013-12-10 08:00:29 -08:00
Yuichi Nishiwaki ef5a4d6432 update README 2013-12-10 07:58:45 -08:00
Yuichi Nishiwaki c6e828ef3e utf8<->string conversion 2013-12-10 07:58:25 -08:00
Yuichi Nishiwaki 76f5cbf0b3 ENDLIBRARY requires a trailing semicolon 2013-12-10 07:26:43 -08:00
Yuichi Nishiwaki 6958730fa4 export all symbols defined in built-in.scm 2013-12-10 07:13:57 -08:00
Yuichi Nishiwaki db9de51d07 [bugfix] min and max are broken 2013-12-10 07:13:17 -08:00
Yuichi Nishiwaki 1651ef5d12 update readme 2013-12-10 06:06:44 -08:00
Yuichi Nishiwaki d23f686485 newline is not an element of (scheme write) 2013-12-10 05:59:03 -08:00
Yuichi Nishiwaki c67c81c1aa add call-with-port 2013-12-10 05:53:59 -08:00
Yuichi Nishiwaki cdb1911f9f define (scheme inexact) library 2013-12-10 05:40:44 -08:00
Yuichi Nishiwaki 6dc66d354c add missing finite? function 2013-12-10 05:40:26 -08:00
Yuichi Nishiwaki afe630bc42 use find_library inside in_library 2013-12-10 05:40:03 -08:00
Yuichi Nishiwaki 38aa2d5880 update advartising messages on README 2013-12-10 03:43:03 -08:00
Yuichi Nishiwaki 4b1fab6557 diet README 2013-12-10 03:40:47 -08:00
Yuichi Nishiwaki e4e2622386 update README 2013-12-10 03:30:41 -08:00
Yuichi Nishiwaki 11b0796187 add syntax-error 2013-12-10 03:21:29 -08:00
Yuichi Nishiwaki d1752bb236 add a comment 2013-12-10 03:14:08 -08:00
Yuichi Nishiwaki cb43c9f35d ir-macro-transformer seems not work properly 2013-12-10 03:11:01 -08:00
Yuichi Nishiwaki ae3164643e [bugfix] let may take an identifier as a loop name 2013-12-10 03:10:42 -08:00
Yuichi Nishiwaki 79f6f5c034 rewrite core syntaces with explicit renaming macro 2013-12-10 03:09:27 -08:00
Yuichi Nishiwaki fb34b71de1 [bugfix] identifier=? dies when take auxiliary syntax (because they emit
errors during expansion)
2013-12-10 01:50:53 -08:00
Yuichi Nishiwaki 41ffd0d7e5 define macro primitives (such as make-syntactic-closure) in (picrin macro) 2013-12-10 01:49:48 -08:00
Yuichi Nishiwaki fad425fcb9 export core syntaces from (scheme base) 2013-12-10 01:49:07 -08:00
Yuichi Nishiwaki 7cdd997f34 define 'case' syntax in (pircin core-syntax) library 2013-12-10 01:48:53 -08:00
Yuichi Nishiwaki fd8c551159 use print_code for CODE_EXECUTE_HOOK 2013-12-10 01:47:45 -08:00
Yuichi Nishiwaki e021ac52ac identifier=? dons not necessarily take identifiers 2013-12-10 00:22:34 -08:00
Yuichi Nishiwaki 7520de3dcd cosmetic changes 2013-12-10 00:21:43 -08:00