Ludovic Courtès
bce5cb5641
Provide Guile-friendly `coding:' meta-data.
...
* module/ice-9/i18n.scm, module/rnrs/bytevector.scm,
module/rnrs/io/ports.scm, module/scripts/compile.scm,
module/srfi/srfi-35.scm, module/srfi/srfi-88.scm: Write `coding:'
comment at the top.
2010-01-11 01:21:13 +01:00
Andy Wingo
ceedcfaa0c
srfi-35 properly uses vtable-offset-user
...
* module/srfi/srfi-35.scm (condition-type-id):
(condition-type-parent, condition-type-all-fields): Don't ref fixed
struct indices, use vtable-offset-user instead.
2009-11-15 20:28:12 +01:00
Ludovic Courtès
67231cef72
Improve the printer of SRFI-35 error conditions.
...
* module/srfi/srfi-35.scm (print-condition): Print the name and value of
each field.
2009-11-10 22:19:05 +01:00
Ludovic Courtès
5565279a67
SRFI-35: Provide nice vtable names, to make GOOPS happier.
...
* module/srfi/srfi-35.scm (%make-condition-type): New procedure.
(make-condition-type, make-compound-condition-type): Use it.
* test-suite/tests/srfi-35.test ("condition
types")["struct-vtable-name"]: New test.
2009-10-25 22:57:29 +01:00
Neil Jerram
f564f4784f
Remove deprecation warnings from the build
...
* module/srfi/srfi-35.scm: Remove explicit use of (ice-9 syncase).
* test-suite/tests/r5rs_pitfall.test: Same again.
* test-suite/tests/syncase.test: Remove "(ice-9 syncase) loads" test;
syncase is always loaded now.
2009-09-17 01:18:14 +01:00
Neil Jerram
83ba2d3750
Complete changing license to LGPLv3+
...
(Still guile-readline to do, but that will all be GPLv3+.)
2009-06-17 22:30:26 +01:00
Ludovic Courtès
de784acd87
Rewrite SRFI-35 macros using `syntax-rules'.
...
* module/srfi/srfi-35.scm: Use `(ice-9 syncase)'.
(define-condition-type, condition): Rewritten using `syntax-rules'.
(compound-condition, condition-instantiation): New helper internal
macros. Thanks to Andy Wingo for his help!
2009-05-22 23:44:43 +02:00
Andy Wingo
ea93465de7
move scm srfi files to module/srfi, and compile them.
...
* .gitignore: Add gdb-pre-inst-guile.
* configure.in: Add module/srfi/Makefile.
* module/Makefile.am: Add srfi/.
* module/srfi/: SRFI scheme files moved here, and compiled.
* srfi/Makefile.am: Remove the bits about the scheme files.
2008-11-01 13:49:23 +01:00