[uim-commit] r3027 - in branches/r5rs/sigscheme: . src

yamaken at freedesktop.org yamaken at freedesktop.org
Sun Jan 29 16:09:04 PST 2006


Author: yamaken
Date: 2006-01-29 16:08:59 -0800 (Sun, 29 Jan 2006)
New Revision: 3027

Modified:
   branches/r5rs/sigscheme/TODO
   branches/r5rs/sigscheme/src/config.h
Log:
* sigscheme/src/config.h
  - (SCM_USE_CONTINUATION, SCM_USE_QUASIQUOTE, SCM_USE_HYGIENIC_MACRO,
    SCM_USE_INT, SCM_USE_RATIONAL, SCM_USE_REAL, SCM_USE_COMPLEX,
    SCM_USE_CHAR, SCM_USE_STRING, SCM_USE_VECTOR, SCM_USE_PORT,
    SCM_USE_READER, SCM_USE_WRITER, SCM_USE_LOAD,
    SCM_USE_LEGACY_MACRO, SCM_USE_DUMP, SCM_USE_NUMBER): New macro

* sigscheme/TODO
  - Update


Modified: branches/r5rs/sigscheme/TODO
===================================================================
--- branches/r5rs/sigscheme/TODO	2006-01-29 23:24:01 UTC (rev 3026)
+++ branches/r5rs/sigscheme/TODO	2006-01-30 00:08:59 UTC (rev 3027)
@@ -96,9 +96,12 @@
 * Object representation compaction ([Anthy-dev 2353], [Anthy-dev 2360])
   - Make all tests passed without error or SEGV
   - Support 64bit models
+  - Support constant vector
   - Create immediate objects directly without calling scm_make_*()
   - Refine logical structure and namings
 
+* (not required for now) Simplify read.c by table-based tokenizer
+
 * (not required for now) Replace procedure registration functions with
   typecode-base single function with typecheck macro, to reduce footprint
   - Make private proc registration in SRFI-34 type-safe

Modified: branches/r5rs/sigscheme/src/config.h
===================================================================
--- branches/r5rs/sigscheme/src/config.h	2006-01-29 23:24:01 UTC (rev 3026)
+++ branches/r5rs/sigscheme/src/config.h	2006-01-30 00:08:59 UTC (rev 3027)
@@ -39,10 +39,30 @@
 #endif
 
 /*===========================================================================
-  Optional Features Written in C
+  R5RS Features
 ===========================================================================*/
+#define SCM_USE_CONTINUATION    1  /* (cannot be 0 yet) use continuation */
+#define SCM_USE_QUASIQUOTE      1  /* (cannot be 0 yet) use quasiquotation */
+#define SCM_USE_HYGIENIC_MACRO  0  /* (not supported yet) use hygienic macros */
+#define SCM_USE_INT             1  /* (cannot be 0 yet) use integer numbers */
+#define SCM_USE_RATIONAL        0  /* (not supported yet) use rational numbers */
+#define SCM_USE_REAL            0  /* (not supported yet) use real numbers */
+#define SCM_USE_COMPLEX         0  /* (not supported yet) use complex numbers */
+#define SCM_USE_CHAR            1  /* (cannot be 0 yet) use character */
+#define SCM_USE_STRING          1  /* (cannot be 0 yet) use string */
+#define SCM_USE_VECTOR          1  /* (cannot be 0 yet) use vector */
+#define SCM_USE_PORT            1  /* (cannot be 0 yet) use ports */
+#define SCM_USE_READER          1  /* (cannot be 0 yet) use sexp reader */
+#define SCM_USE_WRITER          1  /* (cannot be 0 yet) use sexp writer */
+#define SCM_USE_LOAD            1  /* (cannot be 0 yet) use 'load' */
 #define SCM_USE_DEEP_CADRS      1  /* use all c[ad]+r defined in R5RS */
+
+/*===========================================================================
+  Optional Features
+===========================================================================*/
 #define SCM_USE_NONSTD_FEATURES 1  /* use Non-R5RS standard features such as "require" */
+#define SCM_USE_LEGACY_MACRO    0  /* (not supported yet) use define-macro */
+#define SCM_USE_DUMP            0  /* (not supported yet) use storage dump */
 
 #define SCM_USE_SRFI1           0  /* use SRFI-1  list library (broken) */
 #define SCM_USE_SRFI2           1  /* use SRFI-2  'and-let*' */
@@ -56,7 +76,7 @@
 #define SCM_USE_SRFI75_NAMED_CHARS 1  /* use named characters of SRFI-75 R6RS unicode data */
 #define SCM_USE_SRFI75          1  /* use SRFI-75 R6RS unicode data */
 
-#define SCM_COMPAT_SIOD         1  /* use SIOD compatible features */
+#define SCM_COMPAT_SIOD         1  /* use (some) SIOD compatible features */
 #define SCM_COMPAT_SIOD_BUGS    1  /* emulate the buggy behaviors of SIOD */
 
 /*===========================================================================
@@ -155,6 +175,10 @@
 #error "Don't enable dangerous SCM_USE_NULL_CAPABLE_STRING for production code"
 #endif
 
+#if (SCM_USE_INT || SCM_USE_RATIONAL || SCM_USE_REAL || SCM_USE_COMPLEX)
+#define SCM_USE_NUMBER          1
+#endif
+
 #if SCM_STRICT_R5RS
 #undef SCM_STRICT_NULL_FORM
 #define SCM_STRICT_NULL_FORM    1



More information about the uim-commit mailing list