Debian Codegraph @

ChangeLog

raw
1 2007-12-12 Ludovic Courtès <[email protected]>
2
3 * NEWS, README: Update stuff.
4
5 2007-12-12 Ludovic Courtès <[email protected]>
6
7 * NEWS, doc/guile-reader.texi: doc: Add "Quick Start" section. *
8 doc/guile-reader.texi (Quick Start): New node.
9
10 2007-10-25 Ludovic Courtès <[email protected]>
11
12 * Makefile.am, configure.ac, doc/Makefile.am, module/Makefile.am,
13 module/system/documentation/c-snarf.scm,
14 module/system/documentation/output.scm, module/system/reader.scm,
15 module/system/reader/compat.scm,
16 module/system/reader/confinement.scm,
17 module/system/reader/library.scm, modules/Makefile.am,
18 modules/system/documentation/c-snarf.scm,
19 modules/system/documentation/output.scm, modules/system/reader.scm,
20 modules/system/reader/compat.scm,
21 modules/system/reader/confinement.scm,
22 modules/system/reader/library.scm, pre-inst-guile.in: Rename
23 `module' to `modules'.
24
25 2007-10-25 Ludovic Courtès <[email protected]>
26
27 * doc/extract-c-doc.scm: Reinstate documentation of C functions. *
28 doc/extract-c-doc.scm (main): Set `*document-c-functions?*' to true.
29
30
31 2007-10-24 Ludovic Courtès <[email protected]>
32
33 * NEWS, TODO: Update `NEWS'.
34
35 2007-10-24 Ludovic Courtès <[email protected]>
36
37 * src/symbol-token-reader.c, src/token-readers.c: For long
38 symbols/strings/numbers, concatenate strings at the end. *
39 src/symbol-token-reader.c (NUMBER_TR_NAME): Use
40 `scm_string_concatenate ()' at the end instead of `scm_string_append
41 ()' at every step, for obvious algorithmic reasons.
42 (SYMBOL_TR_NAME): Likewise. * src/token-readers.c
43 (scm_read_string): Likewise. (SYMBOL_BUFFER_SIZE): New.
44
45 2007-10-24 Ludovic Courtès <[email protected]>
46
47 * src/token-readers.c, tests/scheme-reader.scm: Fix `CHAR_IS_BLANK
48 ()'. * src/token-readers.c (CHAR_IS_BLANK): Recognize `\r', `\f',
49 and MSDOS' 26. From Guile 1.8.3's reader. *
50 tests/scheme-reader.scm (test-cases)[symbols-with-cr]: New test.
51 (scheme-reader): Leave with `(exit failed)', otherwise failures were
52 invisible.
53
54 2007-10-24 Ludovic Courtès <[email protected]>
55
56 * src/Makefile.am, src/reader-lib.c, src/reader.c,
57 src/token-readers.c: Don't use GNU Make extensions. *
58 src/Makefile.am (BUILT_SOURCES): Rename `*.c.x' to `*.x'. (%.c.x):
59 Changed to... (.c.x): This rule. (%.doc): Remove. *
60 src/reader-lib.c: Update. * src/reader.c: Update. *
61 src/token-readers.c: Update.
62
63 2007-10-24 Ludovic Courtès <[email protected]>
64
65 * configure.ac, src/Makefile.am: Use GCC flags only when using GCC.
66 * configure.ac (GCC_CFLAGS): New.
67 (LIGHTNING_CONFIGURE_IF_NOT_FOUND): Change `GCC_CFLAGS' if lightning
68 is available. * src/Makefile.am (AM_CPPFLAGS): New. (AM_CFLAGS):
69 Use `$(GCC_CFLAGS)'. (snarfcppopts): Use `$(AM_CPPFLAGS)', not
70 `$(AM_CFLAGS)'. (%.doc): Likewise.
71
72 2007-10-24 Ludovic Courtès <[email protected]>
73
74 * .arch-inventory, build-aux/.arch-inventory, doc/.arch-inventory:
75 Remove `.arch-inventory'.
76
77 2007-10-24 Ludovic Courtès <[email protected]>
78
79 * TODO: Update `TODO'.
80
81 2007-10-24 Ludovic Courtès <[email protected]>
82
83 * src/.gitignore: More `.gitignore'.
84
85 2007-10-24 Ludovic Courtès <[email protected]>
86
87 * Makefile.am, compat.h, configure.ac, doc/Makefile.am,
88 example-repl.scm, extract-make-reader-flags.sh,
89 extract-token-readers.sh, pre-inst-guile.in, reader-config.h.in,
90 reader-lib.c, reader-lib.h, reader.c, reader.h, src/Makefile.am,
91 src/compat.h, src/example-repl.scm,
92 src/extract-make-reader-flags.sh, src/extract-token-readers.sh,
93 src/reader-config.h.in, src/reader-lib.c, src/reader-lib.h,
94 src/reader.c, src/reader.h, src/symbol-token-reader.c,
95 src/token-readers.c, src/token-readers.h, symbol-token-reader.c,
96 token-readers.c, token-readers.h: Add `src' sub-directory (!).
97
98 2007-10-24 Ludovic Courtès <[email protected]>
99
100 * doc/Makefile.am, tests/Makefile.am: Make `distcheck' happy. *
101 doc/Makefile.am (AM_CPPFLAGS): New. (*.texi): Use it. *
102 tests/Makefile.am (CLEANFILES): New.
103
104 2007-10-24 Ludovic Courtès <[email protected]>
105
106 * configure.ac: Bump version number.
107
108 2007-10-24 Ludovic Courtès <[email protected]>
109
110 * configure.ac, doc/Makefile.am, doc/extract-c-doc.scm,
111 doc/extract-c-doc.scm.in, module/system/documentation/c-snarf.scm,
112 module/system/documentation/output.scm: Update C doc snarfing tools
113 (from Guile-Avahi).
114
115 2007-10-24 Ludovic Courtès <[email protected]>
116
117 * .gitignore, doc/.gitignore: Add `.gitignore'.
118
119 2007-10-24 Ludovic Courtès <[email protected]>
120
121 * INSTALL: Update `INSTALL'.
122
123 2007-10-24 Ludovic Courtès <[email protected]>
124
125 * NEWS, configure.ac, module/Makefile.am,
126 module/system/Makefile.am, module/system/documentation/Makefile.am,
127 module/system/reader/Makefile.am: Add support for configure
128 `--with-guilemoduledir'.
129
130 2007-10-24 Ludovic Courtès <[email protected]>
131
132 * NEWS, README: Mention Git repository.
133
134 2007-02-24 Ludovic Courtes <[email protected]>
135
136 * : Releasing version 0.3. git-archimport-id:
137 [email protected]/guile-reader--devo--0.3--version-0
138
139 2007-02-22 Ludovic Courtes <[email protected]>
140
141 * doc/guile-reader.texi: More doc fixes. * doc/guile-reader.texi:
142 Fixed various cross-references and little things.
143 git-archimport-id:
144 [email protected]/guile-reader--devo--0.3--patch-54
145
146 2007-02-20 Ludovic Courtes <[email protected]>
147
148 * : Fixed ChangeLog. git-archimport-id:
149 [email protected]/guile-reader--devo--0.3--patch-53
150
151 2007-02-20 Ludovic Courtes <[email protected]>
152
153 * doc/guile-reader.texi: Minor documentation fixes. *
154 doc/guile-reader.texi: Fixed `@author'. (Introduction): Changed
155 `@inforef' into proper `@pxref' in the introduction. Mention
156 Gambit. git-archimport-id:
157 [email protected]/guile-reader--devo--0.3--patch-52
158
159 2007-02-20 Ludovic Courtes <[email protected]>
160
161 * doc/extract-doc.scm: Fixed token reader documentation extraction.
162 * doc/extract-doc.scm (extract-token-reader-doc)[show-char-escaped]:
163 Don't treat `\' specially. Uncommented `@columnfractions'.
164 Output a newline after each `@item'. git-archimport-id:
165 [email protected]/guile-reader--devo--0.3--patch-51
166
167 2007-02-20 Ludovic Courtes <[email protected]>
168
169 * .arch-inventory, build-aux/.arch-inventory, configure.ac,
170 doc/.arch-inventory: Arch inventory cleanup. git-archimport-id:
171 [email protected]/guile-reader--devo--0.3--patch-50
172
173 2007-02-20 Ludovic Courtes <[email protected]>
174
175 * NEWS, README, doc/guile-reader.texi: Documentation improvements.
176 * README: Updated. * doc/guile-reader.texi: Likewise.
177 git-archimport-id:
178 [email protected]/guile-reader--devo--0.3--patch-49
179
180 2007-02-20 Ludovic Courtes <[email protected]>
181
182 * doc/Makefile.am, module/system/documentation/output.scm: Improved
183 the output of snarfed doc. * doc/Makefile.am (CLEANFILES): New
184 variable. * module/system/documentation/output.scm: Use `srfi-1'.
185 (scheme-procedure-texi-line): New. Properly render optional and
186 rest arguments. (procedure-gdf-string): Use it.
187 (procedure-texi-documentation): Likewise. git-archimport-id:
188 [email protected]/guile-reader--devo--0.3--patch-48
189
190 2007-02-20 Ludovic Courtes <[email protected]>
191
192 * reader.c, token-readers.c: Updated copyright years.
193 git-archimport-id:
194 [email protected]/guile-reader--devo--0.3--patch-47
195
196 2007-02-18 Ludovic Courtes <[email protected]>
197
198 * token-readers.c: Fixed warnings in `token-readers.c'. *
199 token-readers.c (scm_read_sexp): Removed unused variables. Replaced
200 `#if SCM_ENABLE_ELISP' by `#if 0'. git-archimport-id:
201 [email protected]/guile-reader--devo--0.3--patch-46
202
203 2007-02-18 Ludovic Courtes <[email protected]>
204
205 * reader.c: `scm_c_make_reader'/lightning: Use `JIT_V2' for the
206 top-level reader. * reader.c: lightning part: Use `JIT_V2' to store
207 the top-level reader. (stack_offsets_t)[top_level_reader]:
208 Removed. (generate_reader_prologue): Updated.
209 (generate_token_reader_invocation): Likewise. (scm_c_make_reader):
210 Likewise. git-archimport-id:
211 [email protected]/guile-reader--devo--0.3--patch-45
212
213 2006-11-21 Ludovic Courtes <[email protected]>
214
215 * Makefile.am: Fixed LDFLAGS for `libguile-reader.la'. *
216 Makefile.am (libguile_reader_la_LDFLAGS): Added `$(GUILE_LDFLAGS)'.
217 git-archimport-id:
218 [email protected]/guile-reader--devo--0.3--patch-44
219
220 2006-11-21 Ludovic Courtes <[email protected]>
221
222 * reader.c: scm_c_make_reader/lightning: Migrate from `pushr' to
223 `allocai'. * reader.c (stack_offsets_t): New.
224 (compilation_context_t): New. (JIT_STACK_LOCAL_VARIABLES_SIZE):
225 Removed. (generate_debug_registers): Take a single CONTEXT arg
226 instead of START and BUFFER_SIZE. Use CONTEXT->OFFSETS.TEMP[1-4]
227 and store data there instead of using `jit_pushr'.
228 (generate_position_store): Likewise. (generate_position_set):
229 Likewise. (generate_to_upper): Likewise. (generate_to_lower):
230 Likewise. (generate_getc_update_port_position): Likewise.
231 (generate_getc): Likewise. (generate_space_reservation): Likewise.
232 (generate_abortion): Likewise. (generate_character_dispatch):
233 Likewise. (generate_token_reader_invocation): Likewise.
234 (generate_unexpected_character_handling): Likewise.
235 (generate_character_handling_code): Likewise. (scm_c_make_reader):
236 Updated. (generate_reader_prologue): Initialize the
237 CONTEXT->OFFSETS. (generate_reader_epilogue): Don't touch
238 `JIT_SP'. git-archimport-id:
239 [email protected]/guile-reader--devo--0.3--patch-43
240
241 2006-11-01 Ludovic Court`es <[email protected]>
242
243 * doc/Makefile.am, doc/extract-doc.scm, doc/guile-reader.texi,
244 module/system/reader/library.scm, reader-lib.c, reader.c, reader.h,
245 tests/scheme-reader.scm: Updated documentation wrt. to
246 `%reader-standard-fault-handler'. * doc/Makefile.am
247 (make-reader-doc.texi): Include doc for
248 `%reader-standard-fault-handler'. * doc/extract-doc.scm
249 (extract-module-doc): Don't issue anything for undocumented
250 procedures. * doc/guile-reader.texi (Defining a New Reader): Fixed
251 a typo. * module/system/reader/library.scm
252 (make-alternate-guile-reader): Have FAULT-HANDLER to
253 `%reader-standard-fault-handler'; document it. * reader-lib.c
254 (make-guile-reader): Likewise. * reader.c (make-reader): Document
255 FAULT-HANDLER. (scm_reader_standard_fault_handler): Use
256 `SCM_DEFINE'. (scm_reader_init_bindings): Updated accordingly. *
257 reader.h (scm_reader_standard_fault_handler): New declaration. *
258 tests/scheme-reader.scm (test-cases): Removed outdated `FIXME'.
259 git-archimport-id:
260 [email protected]/guile-reader--devo--0.3--patch-42
261
262 2006-11-01 Ludovic Court`es <[email protected]>
263
264 * reader.c: make-reader/lightning: Use `jit_retval' instead of
265 accessing `JIT_RET'. * reader.c: In all lightning code-generation
266 functions, use `jit_retval' to fetch the return value instead of
267 accessing `JIT_RET' (which doesn't work on SPARC).
268 git-archimport-id:
269 [email protected]/guile-reader--devo--0.3--patch-41
270
271 2006-10-31 Ludovic Court`es <[email protected]>
272
273 * reader-lib.c, reader.c: Tiny fixes for the debug mode (with the
274 `DEBUG' macro defined). * reader-lib.c (SHARP_READER_SIZE): Bumped
275 to 20000. (TOP_LEVEL_READER_SIZE): Bumped to 25000. * reader.c
276 (do_scm_set_source_position): Fixed the arguments passed to `debug
277 ()'. (generate_character_handling_code): Added a `debug ()'
278 statement showing the value of HANDLER_CODE. (test_getc): Added
279 missing argument to `generate_getc ()'. git-archimport-id:
280 [email protected]/guile-reader--devo--0.3--patch-40
281
282 2006-10-28 Ludovic Court`es <[email protected]>
283
284 * reader-lib.c: Fixed a bug in `make-guile-reader' when
285 FAULT_HANDLER is not `#f'. * reader-lib.c (scm_make_guile_reader):
286 When FAULT_HANDLER is not `#f', terminate S_DEPS with `#f'.
287 git-archimport-id:
288 [email protected]/guile-reader--devo--0.3--patch-39
289
290 2006-10-25 Ludovic Courtes <[email protected]>
291
292 * doc/Makefile.am, doc/guile-reader.texi, token-readers.h: Doc:
293 Improved, started and populated the ``Limitations'' section. *
294 doc/Makefile.am (BUILT_SOURCES): Removed `reader-lib-api-doc.texi',
295 added `default-reader-doc.texi' and `make-guile-reader-doc.texi'.
296 (reader-lib-api-doc.texi): Target removed.
297 (default-reader-doc.texi): New target.
298 (make-guile-reader-doc.texi): New target. * doc/guile-reader.texi
299 (Introduction): Improved. (Limitations): New section. (Token
300 Delimiters): Moved therein. (Overlapping Token Readers): New
301 section. (Compatibility and Confinement): Fixed references to
302 Guile 1.7, added a cross-reference to Guile's manual.
303 (Internals): Mention the performance of automatically generated
304 scanners. * token-readers.h: Added cross-references to ``Token
305 Delimiters'' and ``Overlapping Token Readers''.
306 git-archimport-id:
307 [email protected]/guile-reader--devo--0.3--patch-38
308
309 2006-10-24 Ludovic Courtes <[email protected]>
310
311 * doc/guile-reader.texi, reader.c: Slight documentation
312 improvements. * doc/guile-reader.texi (Introduction): Mention SILex
313 and the limitations of guile-reader. (Token Delimiters): Mention
314 SILex. * reader.c (scm_make_reader): Added a complete docstring.
315 git-archimport-id:
316 [email protected]/guile-reader--devo--0.3--patch-37
317
318 2006-10-24 Ludovic Courtes <[email protected]>
319
320 * doc/extract-c-doc.scm.in: extract-c-doc.scm.in: Fixed `-I' flags.
321 * doc/extract-c-doc.scm.in: Also pass `-I@top_builddir@'.
322 git-archimport-id:
323 [email protected]/guile-reader--devo--0.3--patch-36
324
325 2006-10-24 Ludovic Courtes <[email protected]>
326
327 * doc/.arch-inventory, doc/Makefile.am, doc/guile-reader.texi: Use
328 the new C doc snarfing tools in `guile-reader.texi'. *
329 doc/.arch-inventory: Updated the list of precious things. *
330 doc/Makefile.am (BUILT_SOURCES): Added a few files.
331 (make-token-reader-doc.texi): New target.
332 (token-reader-api-doc.texi): New target. (make-reader-doc.texi):
333 New target. (reader-lib-api-doc.texi): New target. *
334 doc/guile-reader.texi: Include all those files. git-archimport-id:
335 [email protected]/guile-reader--devo--0.3--patch-35
336
337 2006-10-24 Ludovic Courtes <[email protected]>
338
339 * doc/extract-c-doc.scm.in: Tiny fix for `extract-c-doc.scm.in'. *
340 doc/extract-c-doc.scm.in (main): Fixed handling of the PROCS rest
341 argument. git-archimport-id:
342 [email protected]/guile-reader--devo--0.3--patch-34
343
344 2006-10-24 Ludovic Courtes <[email protected]>
345
346 * Makefile.am: Tiny fix for the top-level Makefile.am. *
347 Makefile.am (EXTRA_DIST): Added `pre-inst-guile.in'.
348 git-archimport-id:
349 [email protected]/guile-reader--devo--0.3--patch-33
350
351 2006-10-24 Ludovic Courtes <[email protected]>
352
353 * configure.ac, doc/.arch-inventory, doc/Makefile.am,
354 doc/extract-c-doc.scm.in, module/system/Makefile.am,
355 module/system/documentation/Makefile.am,
356 module/system/documentation/c-snarf.scm,
357 module/system/documentation/output.scm: Added the basic
358 infrastructure for C doc snarffing. * configure.ac: Output
359 `module/system/documentation/Makefile' and
360 `doc/extract-c-doc.scm'; make `doc/extract-c-doc.scm' executable. *
361 doc/.arch-inventory: Account for `extract-c-doc.scm'. *
362 doc/Makefile.am (EXTRA_DIST): Added `extract-c-doc.scm.in'. *
363 module/system/Makefile.am (SUBDIRS): Added `documentation'.
364 git-archimport-id:
365 [email protected]/guile-reader--devo--0.3--patch-32
366
367 2006-10-24 Ludovic Courtes <[email protected]>
368
369 * : Added missing patch logs. git-archimport-id:
370 [email protected]/guile-reader--devo--0.3--patch-31
371
372 2006-08-23 Ludovic Court`es <[email protected]>
373
374 Fixed build procedure, thereby allowing for `distcheck'. *
375 Makefile.am (AM_CFLAGS): Added `top_srcdir' and `top_builddir'.
376 (snarfcppopts): Added `$(AM_CFLAGS)'. (*.c): Prepended
377 `$(top_srcdir)' to the dependency file names. * doc/Makefile.am
378 (token-reader-doc.texi): Get `pre-inst-guile' from `top_builddir'
379 rather than `top_srcdir'. * extract-make-reader-flags.sh: Read from
380 stdin rather than cat'ting `reader.h'. *
381 extract-token-readers.sh: Likewise. * pre-inst-guile.in: Get
382 `libtool' from `builddir' rather than `srcdir'. * tests/Makefile.am
383 (TESTS_ENVIRONMENT): Export `top_builddir'. * tests/benchmark.scm:
384 Get `pre-inst-guile' from `builddir'. * tests/confinement.scm:
385 Likewise. * tests/library.scm: Likewise. * tests/position.scm:
386 Likewise. * tests/scheme-reader.scm: Likewise. git-archimport-id:
387 [email protected]/guile-reader--devo--0.3--patch-30
388
389 2006-07-17 Ludovic Courtes <[email protected]>
390
391 * configure.ac, reader.c: Use a jump table to dispatch character
392 handling in the Lightning-based version. * configure.ac: Check the
393 size of `void *'. * reader.c (guile_reader_abort): New.
394 (generate_getc): Take an additional DEBUG argument. Generate
395 appropriate code if true. (generate_space_reservation): New.
396 Taken from
397 `[email protected]/guile-reader--devo--0.2--patch-2'.
398 (generate_abortion): New. (generate_character_dispatch): New.
399 (populate_jump_table_for_tr): New.
400 (generate_character_handling_code): New. (scm_c_make_reader): Use
401 `generate_space_reservation ()', `generate_character_dispatch ()'
402 and `generate_character_handling_code ()'. Note: The jump table
403 provides almost invisible improvement (per `benchmark.scm') on x86
404 at least. git-archimport-id:
405 [email protected]/guile-reader--devo--0.3--patch-29
406
407 2006-07-17 Ludovic Courtes <[email protected]>
408
409 * tests/benchmark.scm: Tweaked the benchmark. * tests/benchmark.scm
410 (%iterations): Set to 50 (was 30). (how-long): Use `(tms:utime
411 (times))' instead of `get-internal-run-time'. git-archimport-id:
412 [email protected]/guile-reader--devo--0.3--patch-28
413
414 2006-07-16 Ludovic Courtes <[email protected]>
415
416 * reader.c: Honor the `lightning_state' argument in all `generate_'
417 procedures. * reader.c (generate_token_reader_invocation): Define
418 `_jit'. (generate_unexpected_character_handling): Likewise.
419 git-archimport-id:
420 [email protected]/guile-reader--devo--0.3--patch-27
421
422 2006-07-16 Ludovic Courtes <[email protected]>
423
424 * reader.c: scm_c_make_reader/Lightning: More on factorization. *
425 reader.c (scm_c_make_reader): Moved position-setting code to...
426 (generate_token_reader_invocation): Here. git-archimport-id:
427 [email protected]/guile-reader--devo--0.3--patch-26
428
429 2006-07-16 Ludovic Courtes <[email protected]>
430
431 * reader.c: scm_c_make_reader/Lightning: Factorized out token reader
432 invocation. * reader.c (generate_token_reader_invocation): New,
433 stolen from `scm_c_make_reader ()'. (scm_c_make_reader): Moved
434 reader invocation code there. git-archimport-id:
435 [email protected]/guile-reader--devo--0.3--patch-25
436
437 2006-07-14 Ludovic Courtes <[email protected]>
438
439 * tests/Makefile.am, tests/library.scm: Added test cases for
440 `make-alternate-guile-reader'. * tests/Makefile.am (TESTS): Added
441 `library.scm'. git-archimport-id:
442 [email protected]/guile-reader--devo--0.3--patch-24
443
444 2006-07-14 Ludovic Courtes <[email protected]>
445
446 * module/system/reader/library.scm: Fixed
447 `make-alternate-guile-reader' for `colon-keywords'. *
448 module/system/reader/library.scm (filter-out-symbol-token-readers):
449 Fixed (was using `eq?' to compare lists).
450 (ensure-colon-free-token-readers): New.
451 (alternate-guile-reader-token-readers): In the `colon-keywords'
452 case, use `ensure-colon-free-token-readers'. In the
453 `case-insensitive' case, use `memq' instead of `member'.
454 git-archimport-id:
455 [email protected]/guile-reader--devo--0.3--patch-23
456
457 2006-07-14 Ludovic Courtes <[email protected]>
458
459 * module/system/reader.scm, reader.c: Implemented O(1) char lookup
460 for the Lightning-less version. * module/system/reader.scm
461 (token-reader-handles-char?): New exported procedure. * reader.c
462 (tr_handles_char): Moved higher in the file, out of the `#ifdef'.
463 (struct scm_reader)[eightbit_char_to_tr_map]: New field (in the case
464 where Lighting is not used). (scm_c_make_reader): Initialize it.
465 (scm_call_reader): Use the 8-bit-char-to-token-reader map for faster
466 lookup. This makes `guile-reader' (without Lightning) 7.3 times
467 faster than Guile's built-in reader (was 6.4 times faster without
468 this). (scm_token_reader_handles_char_p): New. git-archimport-id:
469 [email protected]/guile-reader--devo--0.3--patch-22
470
471 2006-07-14 Ludovic Courtes <[email protected]>
472
473 * reader-lib.c, token-readers.h: Fixed handling of `#f' between the
474 `srfi-4' and `boolean' token readers. * token-readers.h
475 (SCM_TR_SRFI_4): Documented the handling of `#f'.
476 (SCM_TR_BOOLEAN_SRFI_4): New. Likewise. * reader-lib.c
477 (scm_sharp_reader_standard_specs): Use `SCM_TR_BOOLEAN_SRFI_4'
478 instead of `SCM_TR_BOOLEAN'. git-archimport-id:
479 [email protected]/guile-reader--devo--0.3--patch-21
480
481 2006-07-14 Ludovic Courtes <[email protected]>
482
483 * reader.c: Fixed the Lightning-free implementation (did not
484 compile). * reader.c (do_scm_set_source_position): Fixed the
485 `debug' statement. (scm_call_reader): Don't use `scm_port_column
486 ()', `scm_port_line ()', et al; use the `SCM_COL ()', `SCM_LINUM
487 ()', etc. macros instead. (scm_to_make_reader_flags): Removed
488 unused variable C_FLAG. git-archimport-id:
489 [email protected]/guile-reader--devo--0.3--patch-20
490
491 2006-07-11 Ludovic Courtes <[email protected]>
492
493 * reader.c: Optimized source-position recording in the Lightning
494 version. * reader.c (do_scm_set_source_position): Take LINE as a
495 `long' and COLUMN as an `int' instead of `SCM's.
496 (SCM_JIT_PTAB_ENTRY): New. Similar to the former `FETCH_C_PORT ()'
497 macro used in `generate_getc ()'. (generate_position_store):
498 Directly access the fields of the C port structure instead of
499 invoking `scm_port_line ()', `scm_port_column ()' and
500 `scm_port_filename ()'. (generate_getc)[FETCH_C_PORT]: Removed.
501 Use `SCM_JIT_PTAB_ENTRY ()' instead. git-archimport-id:
502 [email protected]/guile-reader--devo--0.3--patch-19
503
504 2006-07-11 Ludovic Courtes <[email protected]>
505
506 * tests/benchmark.scm: Benchmark: Test with and without position
507 recording. * tests/benchmark.scm (compare-readers): New.
508 (benchmark): Use it, passing it readers with and without position
509 recording. git-archimport-id:
510 [email protected]/guile-reader--devo--0.3--patch-18
511
512 2006-07-07 Ludovic Court`es <[email protected]>
513
514 * doc/.arch-inventory, doc/Makefile.am, doc/guile-reader.texi,
515 reader.h, tests/Makefile.am: Fixed version handling in the manual.
516 Bumped version to 0.3. * doc/Makefile.am (BUILT_SOURCES): Added
517 `version.texi'. * doc/guile-reader.texi: Include `version.texi'. *
518 reader.h (SCM_READER_VERSION_MINOR): Set to 3. * tests/Makefile.am
519 (dist_check_SCRIPTS): Removed. Use `EXTRA_DIST' instead (undoes
520 previous patch). git-archimport-id:
521 [email protected]/guile-reader--devo--0.3--patch-17
522
523 2006-07-07 Ludovic Court`es <[email protected]>
524
525 * .arch-inventory, configure.ac, doc/Makefile.am,
526 doc/extract-doc.scm, pre-inst-guile.in, tests/.arch-inventory,
527 tests/Makefile.am, tests/benchmark.scm, tests/confinement.scm,
528 tests/guile-for-test.in, tests/position.scm,
529 tests/scheme-reader.scm: Various cleanups for the configure and
530 build stages. * configure.ac: Test the value of `$GPERF', not that
531 of `$gperf'. (AC_CONFIG_FILES): Added `pre-inst-guile', removed
532 `tests/guile-for-test'. (AC_CONFIG_COMMANDS): Likewise. *
533 doc/Makefile.am (reader-lib-doc.texi): New target. Make sure to use
534 `$(top_srcdir)/pre-inst-guile' when running `extract-doc.scm'. *
535 doc/extract-doc.scm: Removed initial shell meta-stuff. *
536 tests/Makefile.am: Use `dist_check_SCRIPTS' rather than
537 `EXTRA_DIST'. (TEST_ENVIRONMENTS): New. * tests/benchmark.scm:
538 Use `$top_srcdir' when defined. * tests/confinement.scm: Likewise.
539 * tests/position.scm: Likewise. * tests/scheme-reader.scm:
540 Likewise. git-archimport-id:
541 [email protected]/guile-reader--devo--0.3--patch-16
542
543 2006-07-06 Ludovic Court`es <[email protected]>
544
545 * reader.c: Inlined `scm_getc ()': Work around Lightning bug on
546 PowerPC. * reader.c (generate_getc_update_port_position): Use
547 `andi(r1, r2, 7)' rather than `modi(r1, r2, 8)' in the `\t' case.
548 This works around a Lightning bug on PowerPC (where `modi' seems
549 broken), plus it may yield more efficient code on all
550 architectures (e.g., PPC doesn't have a `modi' instruction, so
551 using it yields a long sequence of instructions).
552 git-archimport-id:
553 [email protected]/guile-reader--devo--0.3--patch-15
554
555 2006-07-06 Ludovic Court`es <[email protected]>
556
557 Merge from [email protected] Patches applied: *
558 [email protected]/guile-reader--devo--0.3 (patch 8-14) -
559 Merge: Adapted to use `scm_c_locale_stringn_to_number ()' where
560 available. - First stab at the implementation of an inlined
561 `scm_getc ()'. - Finished the inline JIT implementation of
562 `scm_getc ()'. - Improved the position-recording test case. -
563 Re-organized and cleaned up the test framework. - Added a tiny
564 benchmark. - Fixed `guile-for-test' so that the right shared
565 library is used. *
566 [email protected]/guile-reader--devo--0.3 (patch 9-14)
567 - First stab at the implementation of an inlined `scm_getc ()'. -
568 Finished the inline JIT implementation of `scm_getc ()'. -
569 Improved the position-recording test case. - Re-organized and
570 cleaned up the test framework. - Added a tiny benchmark. -
571 Fixed `guile-for-test' so that the right shared library is used.
572 git-archimport-id:
573 [email protected]/guile-reader--devo--0.3--patch-9
574
575 2006-07-05 Ludovic Courtes <[email protected]>
576
577 * tests/guile-for-test.in: Fixed `guile-for-test' so that the right
578 shared library is used. * tests/guile-for-test.in: Use Libtool
579 magic to make sure the right `libguile-reader.so' is used.
580 git-archimport-id:
581 [email protected]/guile-reader--devo--0.3--patch-14
582
583 2006-07-05 Ludovic Courtes <[email protected]>
584
585 * tests/Makefile.am, tests/benchmark.scm: Added a tiny benchmark. *
586 tests/Makefile.am (EXTRA_DIST): Added `benchmark.scm'.
587 git-archimport-id:
588 [email protected]/guile-reader--devo--0.3--patch-13
589
590 2006-07-05 Ludovic Courtes <[email protected]>
591
592 * Makefile.am, configure.ac, guile.c, test-confinement.scm,
593 test-position.scm, tests/.arch-inventory, tests/Makefile.am,
594 tests/confinement.scm, tests/guile-for-test.in, tests/position.scm,
595 tests/scheme-reader.scm, testsuite.scm: Re-organized and cleaned up
596 the test framework. * tests/guile-for-test.in: New. * Makefile.am
597 (noinst_PROGRAMS): Removed. (guile_LDFLAGS): Removed. (TESTS):
598 Removed. (SUBDIRS): Added `tests'. * configure.ac: Issue
599 `tests/guile-for-test' and make it executable. Bumped version
600 number to `0.3'. * tests/confinement.scm: Use `./guile-for-test' by
601 default and don't pass it `-L module'. * tests/position.scm:
602 Likewise. * tests/scheme-reader.scm: Likewise. Renamed the module
603 from `testsuite' to `scheme-reader'. git-archimport-id:
604 [email protected]/guile-reader--devo--0.3--patch-12
605
606 2006-07-05 Ludovic Courtes <[email protected]>
607
608 * test-position.scm: Improved the position-recording test case. *
609 test-position.scm (%test-cases): Added test cases with `\a', `\b',
610 `\r'. Useful to test the inline `scm_getc ()' implementation.
611 git-archimport-id:
612 [email protected]/guile-reader--devo--0.3--patch-11
613
614 2006-07-05 Ludovic Courtes <[email protected]>
615
616 * NEWS, reader.c: Finished the inline JIT implementation of
617 `scm_getc ()'. * reader.c: Updated copyright years.
618 (SCM_READER_INLINE_GETC): Now defined by default.
619 (generate_getc_update_port_position): New. (generate_getc): Use
620 it. * NEWS: Updated. git-archimport-id:
621 [email protected]/guile-reader--devo--0.3--patch-10
622
623 2006-07-02 Ludovic Courtes <[email protected]>
624
625 * reader.c: First stab at the implementation of an inlined `scm_getc
626 ()'. * reader.c (generate_getc): New. Lacks code to update
627 column/line numbers. (generate_reader_prologue): Move some of
628 the initialization stuff from `scm_c_make_reader ()' here.
629 (scm_c_make_reader): See above. Adjusted to use `generate_getc ()'
630 if `SCM_READER_INLINE_GETC' is defined. (test_getc): New.
631 git-archimport-id:
632 [email protected]/guile-reader--devo--0.3--patch-9
633
634 2006-03-21 Ludovic Court`es <[email protected]>
635
636 Merge: Adapted to use `scm_c_locale_stringn_to_number ()' where
637 available. * compat.h: New file. * Makefile.am (EXTRA_DIST): Added
638 `compat.h'. * configure.ac: Check for
639 `scm_c_locale_stringn_to_number ()' and `scm_i_mem2number ()'. *
640 symbol-token-reader.c: Include `compat.h'. Use
641 `scm_c_locale_stringn_to_number ()' instead of `scm_i_mem2number
642 ()'. * token-readers.c: Likewise. git-archimport-id:
643 [email protected]/guile-reader--devo--0.3--patch-8
644
645 2006-03-21 Ludovic Court`es <[email protected]>
646
647 Merge from [email protected] Patches applied: *
648 [email protected]/guile-reader--devo--0.3 (patch 7) *
649 [email protected]/guile-reader--devo--0.3 (patch 7)
650 - Fixed C99ism in the `SCM_DEFTOKEN' macros. git-archimport-id:
651 [email protected]/guile-reader--devo--0.3--patch-8
652
653 2006-03-21 Ludovic Court`es <[email protected]>
654
655 * Makefile.am, compat.h, configure.ac, symbol-token-reader.c,
656 token-readers.c: Adapted to use `scm_c_locale_stringn_to_number ()'
657 where available. * compat.h: New file. * Makefile.am (EXTRA_DIST):
658 Added `compat.h'. * configure.ac: Check for
659 `scm_c_locale_stringn_to_number ()' and `scm_i_mem2number ()'. *
660 symbol-token-reader.c: Include `compat.h'. Use
661 `scm_c_locale_stringn_to_number ()' instead of `scm_i_mem2number
662 ()'. * token-readers.c: Likewise. git-archimport-id:
663 [email protected]/guile-reader--devo--0.3--patch-7
664
665 2006-03-19 Ludovic Courtes <[email protected]>
666
667 * reader.h: Fixed C99ism in the `SCM_DEFTOKEN' macros. * reader.h
668 (SCM_DEFTOKEN_SINGLE): Made more C89-friendly (assignment of
669 `.value.c_reader'). (SCM_DEFTOKEN_RANGE): Likewise.
670 (SCM_DEFTOKEN_SET): Likewise. (SCM_END_TOKENS): Likewise.
671 git-archimport-id:
672 [email protected]/guile-reader--devo--0.3--patch-7
673
674 2006-01-25 Ludovic Court`es <[email protected]>
675
676 Merge from [email protected] Patches applied: *
677 [email protected]/guile-reader--devo--0.3 (patch 5-6) -
678 Moved `current-reader' and `primitive-load' to `compat.scm'. -
679 Fixed a bug in position recording; added a corresponding test case.
680 * [email protected]/guile-reader--devo--0.3 (patch 5-6)
681 - Merge from [email protected] - Fixed a bug in position
682 recording; added a corresponding test case. git-archimport-id:
683 [email protected]/guile-reader--devo--0.3--patch-6
684
685 2006-01-24 Ludovic Courtes <[email protected]>
686
687 * Makefile.am, reader.c, test-position.scm: Fixed a bug in position
688 recording; added a corresponding test case. Patches applied: *
689 guile-reader--devo--0.3 (patch 5-6) - Merge from
690 [email protected] - Fixed a bug in position recording;
691 added a corresponding test case. git-archimport-id:
692 [email protected]/guile-reader--devo--0.3--patch-6
693
694 2006-01-11 Ludovic Court`es <[email protected]>
695
696 Moved `current-reader' and `primitive-load' to `compat.scm'. *
697 module/system/reader/confinement.scm: Moved `current-reader' and
698 `primitive-load' out of here. * module/system/reader/compat.scm:
699 New home of the `current-reader' and `primitive-load'
700 forward-compatible implementations. * doc/guile-reader.texi
701 (Compatibility and Confinement): Updated according to the new
702 definition of `current-reader'. git-archimport-id:
703 [email protected]/guile-reader--devo--0.3--patch-5
704
705 2006-01-11 Ludovic Court`es <[email protected]>
706
707 * doc/guile-reader.texi, module/system/reader/compat.scm,
708 module/system/reader/confinement.scm: Moved `current-reader' and
709 `primitive-load' to `compat.scm'. *
710 module/system/reader/confinement.scm: Moved `current-reader' and
711 `primitive-load' out of here. * module/system/reader/compat.scm:
712 New home of the `current-reader' and `primitive-load'
713 forward-compatible implementations. * doc/guile-reader.texi
714 (Compatibility and Confinement): Updated according to the new
715 definition of `current-reader'. git-archimport-id:
716 [email protected]/guile-reader--devo--0.3--patch-5
717
718 2006-01-11 Ludovic Court`es <[email protected]>
719
720 * module/system/reader/confinement.scm: Made compatible with the new
721 (CVS) definition of `current-reader'. *
722 module/system/reader/confinement.scm: Made compatible with the
723 now-in-CVS definition of `current-reader' as a fluid.
724 git-archimport-id:
725 [email protected]/guile-reader--devo--0.3--patch-4
726
727 2006-01-11 Ludovic Court`es <[email protected]>
728
729 Merge from [email protected] Patches applied: *
730 [email protected]/guile-reader--devo--0.3 (patch 4) *
731 [email protected]/guile-reader--devo--0.3 (patch 4)
732 - Made `scm_read_keyword ()' more robust. git-archimport-id:
733 [email protected]/guile-reader--devo--0.3--patch-3
734
735 2006-01-10 Ludovic Courtes <[email protected]>
736
737 * token-readers.c: Made `scm_read_keyword ()' more robust. *
738 token-readers.c (scm_read_keyword): Before calling
739 `scm_symbol_to_keyword ()', make sure we actually read a keyword.
740 git-archimport-id:
741 [email protected]/guile-reader--devo--0.3--patch-4
742
743 2006-01-10 Ludovic Court`es <[email protected]>
744
745 Merge from [email protected] Patches applied: *
746 [email protected]/guile-reader--devo--0.3 (base, patch 1-3)
747 - tag of
748 [email protected]/guile-reader--devo--0.3--base-0 -
749 Avoid using Scheme strings as intermediate representations. -
750 Fixed a bug in source position recording for non-file ports. -
751 Rewrote and optimized `scm_read_string ()'. *
752 [email protected]/guile-reader--devo--0.3 (patch 1, 3)
753 - Fixed a bug in source position recording for non-file ports. -
754 Rewrote and optimized `scm_read_string ()'. git-archimport-id:
755 [email protected]/guile-reader--devo--0.3--patch-2
756
757 2006-01-09 Ludovic Courtes <[email protected]>
758
759 * token-readers.c: Rewrote and optimized `scm_read_string ()'. *
760 token-readers.c (scm_read_string): Rewritten without using any Guile
761 internal. Hopefully, this is also more efficient in the common
762 case. git-archimport-id:
763 [email protected]/guile-reader--devo--0.3--patch-3
764
765 2006-01-09 Ludovic Courtes <[email protected]>
766
767 * reader.c: Fixed a bug in source position recording for non-file
768 ports. Patches applied: * guile-reader--devo--0.3 (patch 1)
769 - Fixed a bug in source position recording for non-file ports.
770 git-archimport-id:
771 [email protected]/guile-reader--devo--0.3--patch-2
772
773 2005-12-16 Ludovic Court`es <[email protected]>
774
775 Avoid using Scheme strings as intermediate representations. *
776 symbol-token-reader.c (NUMBER_TR_NAME): Use Scheme strings only as a
777 last resort, i.e., when the whole number doesn't fit in C_NUM. Use
778 `scm_i_mem2number ()' and `scm_from_locale_symboln ()' where
779 possible. The latter proves to be efficient when
780 `scm_from_locale_symboln ()' is not implemented using Scheme
781 strings. (SYMBOL_TR_NAME): Likewise. git-archimport-id:
782 [email protected]/guile-reader--devo--0.3--patch-1
783
784 2005-12-16 Ludovic Court`es <[email protected]>
785
786 * symbol-token-reader.c: Avoid using Scheme strings as intermediate
787 representations. * symbol-token-reader.c (NUMBER_TR_NAME): Use
788 Scheme strings only as a last resort, i.e., when the whole number
789 doesn't fit in C_NUM. Use `scm_i_mem2number ()' and
790 `scm_from_locale_symboln ()' where possible. The latter proves to
791 be efficient when `scm_from_locale_symboln ()' is not implemented
792 using Scheme strings. (SYMBOL_TR_NAME): Likewise.
793 git-archimport-id:
794 [email protected]/guile-reader--devo--0.3--patch-1
795
796 2005-11-24 Ludovic Court`es <[email protected]>
797
798 * Makefile.am, README, TODO, doc/guile-reader.texi,
799 example-repl.scm, module/system/reader/confinement.scm,
800 test-confinement.scm, test-repl.scm: Got ready for release 0.2. *
801 test-repl.scm: Renamed to `example-repl.scm'. *
802 test-confinement.scm: New file. * ChangeLog: Changed the branch
803 name to the right one. * Makefile.am (TESTS): Added
804 `test-confinement.scm'. (EXTRA_DIST): Added `example-repl.scm'. *
805 README: Added the URL of the Savannah project and of the GNU Arch
806 archives. * TODO: Removed useless items. * doc/guile-reader.texi
807 (Compatibility and Confinement): Mention `current-reader' and the
808 `primitive-load' hack. (Internals): Documented statically
809 initialized token reader arrays. *
810 module/system/reader/confinement.scm (compile-module-read-options!):
811 Use `ensure-reader-hash-extensions' instead of
812 `%module-reader-hash-extensions'. This fixes a bug when there are
813 no hash extensions. (read-options-interface): Call
814 `set-current-reader' when we're done. (read-hash-extend):
815 Likewise. (primitive-load): New procedure. git-archimport-id:
816 [email protected]/guile-reader--devo--0.2--patch-12
817
818 2005-11-23 Ludovic Court`es <[email protected]>
819
820 * NEWS, doc/extract-doc.scm, doc/guile-reader.texi,
821 module/system/reader/confinement.scm,
822 module/system/reader/library.scm, test-repl.scm, testsuite.scm,
823 token-readers.h: Documented the reader confinement module, augmented
824 the test suite. Patches applied: *
825 [email protected]/guile-reader--devo--0.2--patch-20
826 Completed and documented the reader confinement module. *
827 [email protected]/guile-reader--devo--0.2--patch-21
828 Fixed `misc-chars' symbol TRs; augmented the test suite.
829 git-archimport-id:
830 [email protected]/guile-reader--devo--0.2--patch-11
831
832 2005-11-07 Ludovic Court`es <[email protected]>
833
834 * module/system/reader/Makefile.am,
835 module/system/reader/compat.scm,
836 module/system/reader/confinement.scm,
837 module/system/reader/library.scm: Added a new `compat' module.
838 Patches applied: *
839 [email protected]/guile-reader--devo--0.2--patch-19
840 Added a new `compat' module. git-archimport-id:
841 [email protected]/guile-reader--devo--0.2--patch-10
842
843 2005-11-02 Ludovic Court`es <[email protected]>
844
845 * Makefile.am, TODO, configure.ac, doc/Makefile.am,
846 doc/extract-doc.scm, doc/guile-reader.texi,
847 extract-make-reader-flags.sh, module/system/reader.scm,
848 module/system/reader/library.scm, reader-lib.h, reader.c, reader.h,
849 test-repl.scm, testsuite.scm, token-readers.c, token-readers.h:
850 Improved the high-level API and the doc; implemented SRFI-30 and
851 SRFI-62. Patches applied: *
852 [email protected]/guile-reader--devo--0.2--patch-15
853 Fixed a bug of `scm_c_make_reader ()' (showing on PPC). *
854 [email protected]/guile-reader--devo--0.2--patch-16
855 Implemented `make-alternate-guile-reader'; augmented the doc. *
856 [email protected]/guile-reader--devo--0.2--patch-17
857 Implemented SRFI-30 and SRFI-62 token readers. *
858 [email protected]/guile-reader--devo--0.2--patch-18
859 Fixed the S-exp/Sk-exp TRs; fixed the build process.
860 git-archimport-id:
861 [email protected]/guile-reader--devo--0.2--patch-9
862
863 2005-10-28 Ludovic Court`es <[email protected]>
864
865 * reader-lib.c, reader.c, reader.h, test-repl.scm, token-readers.c:
866 Fixed a bug of `scm_c_make_reader ()' (showing on PPC). *
867 reader-lib.c (SHARP_READER_SIZE): New. (TOP_LEVEL_READER_SIZE):
868 New. (scm_default_reader): Use the above macros. * reader.c
869 (do_debug_regs): Added V1. (generate_debug_registers): Push V1
870 too. (scm_c_make_reader): Call `jit_prolog (3)' instead of
871 `jit_prolog (2)'. This fixes a bug at least on PPC. Call
872 `CHECK_CODE_SIZE' after each `debug_pre_call ()'. * token-reader.c
873 (_flush_ws): Return 0 by default. * test-repl.scm: Minor change.
874 git-archimport-id:
875 [email protected]/guile-reader--devo--0.2--patch-8
876
877 2005-10-28 Ludovic Court`es <[email protected]>
878
879 * Makefile.am, configure.ac, doc/extract-doc.scm,
880 doc/guile-reader.texi, module/system/Makefile.am,
881 module/system/reader/Makefile.am, module/system/reader/library.scm,
882 reader-lib.c, reader-lib.h, reader.h, symbol-token-reader.c,
883 testsuite.scm, token-readers.c, token-readers.h: Fixed the number
884 TRs; implemented new TRs; implemented `make-guile-reader'. Patches
885 applied: *
886 [email protected]/guile-reader--devo--0.2--patch-13
887 Implemented `make-guile-reader' and the `guile-bit-vector' TR. *
888 [email protected]/guile-reader--devo--0.2--patch-14
889 Fixed the number token readers. git-archimport-id:
890 [email protected]/guile-reader--devo--0.2--patch-7
891
892 2005-10-24 Ludovic Court`es <[email protected]>
893
894 * Makefile.am, doc/Makefile.am, doc/extract-doc.scm,
895 doc/guile-reader.texi, extract-token-readers.sh,
896 module/system/reader.scm, reader-lib.c, reader-lib.h, reader.c,
897 reader.h, test-repl.scm, token-readers.c, token-readers.h:
898 Implemented O(1) TR lookup and online documentation. Patches
899 applied: *
900 [email protected]/guile-reader--devo--0.2--patch-12
901 Implemented O(1) TR lookup and online documentation.
902 git-archimport-id:
903 [email protected]/guile-reader--devo--0.2--patch-6
904
905 2005-10-17 Ludovic Court`es <[email protected]>
906
907 * Makefile.am, doc/guile-reader.texi, module/system/reader.scm,
908 module/system/reader/confinement.scm, reader.c, reader.h,
909 symbol-token-reader.c, test-repl.scm, testsuite.scm,
910 token-readers.c, token-readers.h: New token readers, modified API,
911 improved doc. Patches applied: *
912 [email protected]/guile-reader--devo--0.2--patch-8
913 Fixed licensing issues. *
914 [email protected]/guile-reader--devo--0.2--patch-9
915 Implemented upper-case/lower-case; started a `confinement' module.
916 * [email protected]/guile-reader--devo--0.2--patch-10
917 Added a TOP_LEVEL_READER arg to both readers and TRs. Implemented
918 vectors. *
919 [email protected]/guile-reader--devo--0.2--patch-11
920 Added a number of symbol and number token readers.
921 git-archimport-id:
922 [email protected]/guile-reader--devo--0.2--patch-5
923
924 2005-10-14 Ludovic Court`es <[email protected]>
925
926 * Makefile.am, TODO, configure.ac, reader-config.h.in, reader.c,
927 token-readers.c: Updated the Lightning-free version. Patches
928 applied: *
929 [email protected]/guile-reader--devo--0.2--patch-7
930 Updated the Lightning-free version. Added a to-do list.
931 git-archimport-id:
932 [email protected]/guile-reader--devo--0.2--patch-4
933
934 2005-10-13 Ludovic Court`es <[email protected]>
935
936 * COPYING, module/system/reader.scm, reader.c, reader.h,
937 test-repl.scm, testsuite.scm, token-readers.c, token-readers.h:
938 Updated the license note to "GNU GPL v2 or later" everywhere.
939 Updated the license note to "GNU GPL v2 or later" everywhere, plus
940 FSF's postal mail address. git-archimport-id:
941 [email protected]/guile-reader--devo--0.2--patch-3
942
943 2005-10-12 Ludovic Court`es <[email protected]>
944
945 * reader.c, reader.h, test-repl.scm, token-readers.c: Fixed a code
946 generation bug; updated the API. Patches applied: *
947 [email protected]/guile-reader--devo--0.2--patch-5
948 Fixed the reader prologue generation. *
949 [email protected]/guile-reader--devo--0.2--patch-6
950 Cleaned the `make-reader' API, fixed a few bugs.
951 git-archimport-id:
952 [email protected]/guile-reader--devo--0.2--patch-2
953
954 2005-10-10 Ludovic Court`es <[email protected]>
955
956 * Makefile.am, configure.ac, reader.c, reader.h, test-repl.scm,
957 token-readers.c: Cleaned up `scm_c_make_reader ()' and implemented
958 position recording. Patches applied: *
959 [email protected]/guile-reader--devo--0.2--base-0 tag
960 of [email protected]/scheme-reader--devo--0.1--patch-15
961 * [email protected]/guile-reader--devo--0.2--patch-1
962 Started implementing position recording. *
963 [email protected]/guile-reader--devo--0.2--patch-2
964 Working version of `scm_c_make_reader ()' that supports
965 RECORD_POSITIONS. *
966 [email protected]/guile-reader--devo--0.2--patch-3
967 Made `scm_c_make_reader ()' re-entrant, cleaned it a bit. *
968 [email protected]/guile-reader--devo--0.2--patch-4
969 Joined the branch for guile-reader 0.2 in the `2004-libre' archive.
970 * [email protected]/scheme-reader--devo--0.1--patch-15
971 Updated from the newly released 0.1. git-archimport-id:
972 [email protected]/guile-reader--devo--0.2--patch-1
973
974 2005-09-12 Ludovic Court`es <[email protected]>
975
976 * ChangeLog, Makefile.am, configure.ac, doc/guile-reader.texi,
977 extract-token-readers.sh, reader.c, testsuite.scm: Got ready for
978 release 0.1. * Makefile.am (EXTRA_DIST): Added $(TESTS).
979 (%.doc): New (unused) rule. * configure.ac: Look for
980 `scm_take_u8vector' in order to make sure we're using Guile 1.7.
981 * doc/guile-reader.texi: Significantly augmented. *
982 extract-token-readers.sh: Handle the `--no-gperf-header' option
983 (currently unused). * reader.c (scm_c_make_reader): When
984 CALLER_HANDLED is a procedure, don't use `jit_pusharg_p ((void
985 *)start' (which is wrong), use `jit_pusharg_p (JIT_R1)' instead.
986 * testsuite.scm: Use `(ice-9 format)'. git-archimport-id:
987 [email protected]/scheme-reader--devo--0.1--patch-12
988
989 2005-09-12 Ludovic Court`es <[email protected]>
990
991 * ChangeLog, Makefile.am, configure.ac, doc/Makefile.am,
992 doc/guile-reader.texi, doc/texinfo.tex, guile.c,
993 module/Makefile.am, module/system/Makefile.am,
994 module/system/reader.scm, reader.c, reader.h, reader.scm,
995 test-repl.scm, testsuite.scm, token-readers.c: GC and TR bug fixes;
996 renamed module; cleaned build process; doc. Patches applied: *
997 [email protected]/scheme-reader--devo--0.1--patch-10
998 Fixed token readers for the remaining corner cases; now reads
999 `boot-9.scm'. *
1000 [email protected]/scheme-reader--devo--0.1--patch-11
1001 Updated the Lightning-free implementation. *
1002 [email protected]/scheme-reader--devo--0.1--patch-12
1003 Cleaned up the build and installation process. *
1004 [email protected]/scheme-reader--devo--0.1--patch-13
1005 Fixed a GC bug; renamed the reader module; exported more C
1006 functions. *
1007 [email protected]/scheme-reader--devo--0.1--patch-14
1008 Added a documentation skeleton. git-archimport-id:
1009 [email protected]/scheme-reader--devo--0.1--patch-11
1010
1011 2005-09-07 Ludovic Court`es <[email protected]>
1012
1013 * ChangeLog, Makefile.am, reader.c, reader.h, test-repl.scm,
1014 testsuite.scm, token-readers.c, token-readers.h: New testsuite; now
1015 able to define a fault handler, or to let the caller handle them.
1016 Patches applied: *
1017 [email protected]/scheme-reader--devo--0.1--patch-6
1018 Added support for reader fault handlers; wrote a test suite. *
1019 [email protected]/scheme-reader--devo--0.1--patch-7
1020 Added the capability to escape to token readers. *
1021 [email protected]/scheme-reader--devo--0.1--patch-8
1022 Allow for caller handling of a reader's unhandled characters. *
1023 [email protected]/scheme-reader--devo--0.1--patch-9
1024 Added support for complex numbers, fixed a number of TRs.
1025 git-archimport-id:
1026 [email protected]/scheme-reader--devo--0.1--patch-10
1027
1028 2005-09-01 Ludovic Court`es <[email protected]>
1029
1030 * ChangeLog, INSTALL, Makefile.am, README, configure.ac,
1031 reader-config.h.in, reader.c, reader.h, test-repl.scm,
1032 token-readers.c, token-readers.h: Merge with laptop: various bug
1033 fixes and an API improvement (still buggy). Patches applied: *
1034 [email protected]/scheme-reader--devo--0.1--base-0
1035 tag of
1036 [email protected]/scheme-reader--devo--0.1--patch-2 *
1037 [email protected]/scheme-reader--devo--0.1--patch-1
1038 Merged with the main development branch. *
1039 [email protected]/scheme-reader--devo--0.1--patch-2
1040 Optimized a bit the `token-reader-proc' case. *
1041 [email protected]/scheme-reader--devo--0.1--patch-3
1042 Fixed two bugs that showed up when SCSH block comments were used.
1043 * [email protected]/scheme-reader--devo--0.1--patch-4
1044 Simplification of `scm_c_make_reader ()'; small bug fixes. *
1045 [email protected]/scheme-reader--devo--0.1--patch-5
1046 Various GC-related and other bug fixes. git-archimport-id:
1047 [email protected]/scheme-reader--devo--0.1--patch-9
1048
1049 2005-08-26 Ludovic Court`es <[email protected]>
1050
1051 * ChangeLog, reader.c, reader.h: Added a SMOB type representing
1052 C-implemented token reader procedures. * reader.c
1053 (token-reader-procedure): Return a `token-reader-proc' SMOB is
1054 reader is a C reader. (scm_token_reader_proc_type): New variable.
1055 (token_reader_proc_apply): New proc. (token_reader_proc_free):
1056 New proc. (token_reader_proc_mark): New proc.
1057 (scm_reader_init_bindings): Init the new SMOB type. * reader.h
1058 (scm_token_reader_proc_type): New declaration. git-archimport-id:
1059 [email protected]/scheme-reader--devo--0.1--patch-8
1060
1061 2005-08-24 Ludovic Court`es <[email protected]>
1062
1063 * ChangeLog, reader.c, reader.h, token-readers.c: Implemented and
1064 tested the Lightning-free version of `scm_c_make_reader ()'. *
1065 reader.h (scm_call_reader): New macro. * reader.c
1066 (scm_call_reader): New function. (tr_handles_char): New
1067 function. (tr_invoke): New function. * token-readers.c: Call
1068 readers using `scm_call_reader ()'. git-archimport-id:
1069 [email protected]/scheme-reader--devo--0.1--patch-7
1070
1071 2005-08-24 Ludovic Court`es <[email protected]>
1072
1073 * ChangeLog, Makefile.am, reader.c, reader.scm, test-repl.scm,
1074 token-readers.c: Cleaned up the reader's code, augmented the API,
1075 fixed TR bugs. * reader.c (read_token_spec): Handle sets.
1076 (scm_make_token_reader): Fixed a bug when a Scheme proc is passed.
1077 (token-reader-procedure): New function.
1078 (token-reader-specification): New function. (token_reader_free):
1079 Free the set if it's a set. (scm_to_reader_spec): Removed.
1080 (read_token_reader_spec): Removed. * reader.scm: Export the above
1081 new procedures. * test-repl.scm (test-token-reader): New variable.
1082 * token-readers.c (read_token): Stop whenever a non-alphanumeric
1083 char is read (like a bracket). (scm_reader_standard_specs):
1084 Added `.' to `symbol-misc-chars'; this fixes the sexp readers for
1085 pairs. git-archimport-id:
1086 [email protected]/scheme-reader--devo--0.1--patch-6
1087
1088 2005-08-23 Ludovic Court`es <[email protected]>
1089
1090 * ChangeLog, reader.c, test-repl.scm, token-readers.c: Fixed and
1091 improved the token readers. * reader.c (scm_c_make_reader):
1092 Produce code that returns `SCM_EOF_VAL' when EOF is read. *
1093 test-repl.scm: Account for this. * token-readers.c
1094 (scm_read_symbol): Removed the size limitation; call
1095 `scm_read_number ()' when reading a number.
1096 (scm_read_number_and_radix): New function. (scm_read_number):
1097 Removed the size limitation; allow to read for floating points,
1098 signed numbers, or symbols. git-archimport-id:
1099 [email protected]/scheme-reader--devo--0.1--patch-5
1100
1101 2005-08-23 Ludovic Court`es <[email protected]>
1102
1103 * ChangeLog, Makefile.am, extract-token-readers.sh, reader.c,
1104 reader.h, reader.scm, test-repl.scm, token-readers.c,
1105 token-readers.h: Implemented first-class token readers. *
1106 Makefile.am (lib_LTLIBRARIES): Renamed the lib to
1107 `libguile-reader.la'. * reader.c (scm_reader_smob_t): New
1108 structure. (SCM_NEW_READER_SMOB): New macro.
1109 (SCM_READER_SMOB_DATA): New macro. (SCM_TOKEN_READER_SMOB_DATA):
1110 New macro. (scm_c_make_reader): Added calls to `CHECK_CODE_SIZE
1111 ()'. (scm_token_reader_lookup): Moved to `token-readers.c'.
1112 (scm_from_reader): New function. (scm_from_token_reader): New
1113 function. (scm_to_reader): New function. (scm_make_reader):
1114 Changed. Now expects a list of token reader SMOBs.
1115 (scm_make_token_reader): New function.
1116 (scm_standard_token_reader): New function.
1117 (scm_token_reader_type): New variable. * reader.h
1118 (scm_token_reader_type): New declaration. * reader.scm: Export
1119 the new procs. * test-repl.scm: Updated. * token-readers.c
1120 (scm_read_symbol): Bail out on numbers. (scm_read_number):
1121 Expect hexadecimal digits. (scm_read_keyword): Call
1122 `scm_read_symbol' instead of SCM_READER.
1123 (scm_read_extended_symbol): New function.
1124 (scm_token_reader_lookup): New function. (scm_reader_misc_specs):
1125 New variable. * token-readers.h: Slightly updated. *
1126 extract-token-readers.sh: New (unused) file. git-archimport-id:
1127 [email protected]/scheme-reader--devo--0.1--patch-4
1128
1129 2005-08-19 Ludovic Court`es <[email protected]>
1130
1131 * AUTHORS, COPYING, ChangeLog, Makefile, Makefile.am, NEWS,
1132 configure.ac, reader.c, reader.h, reader.scm, test-repl.scm,
1133 token-readers.c, token-readers.h: Allowed to build readers from
1134 reader; modularized out the `#' reader. Warning: This is somewhat
1135 broken, in particular lookup of existing token readers from
1136 `scm_standard_*reader_specs'. * configure.ac: New file. *
1137 Makefile.am: New file. * reader.c (scm_c_make_reader): Handle
1138 calls to `scm_reader_t' C functions (SCM_TOKEN_READER_READER); use
1139 the new `scm_token_reader_type_t' enum. (default-reader): New
1140 function. (dynr_init_bindings): Call `scm_load_standard_reader
1141 ()'. * reader.h (scm_token_reader_type_t): New enum.
1142 (scm_token_reader_spec_t): Use that. * token-readers.c
1143 (scm_standard_sharp_reader): New specs. (scm_read_sharp):
1144 Splitted in several readers. (scm_reader_standard_specs): Now
1145 depends on `scm_standard_sharp_reader'.
1146 (scm_read_skribe_literal): Renamed to `scm_read_skribe_exp'. *
1147 reader.scm (dynamic-link): Appended the `.so' extension. *
1148 COPYING, AUTHORS, NEWS, ChangeLog: New (dummy) files.
1149 git-archimport-id:
1150 [email protected]/scheme-reader--devo--0.1--patch-3
1151
1152 2005-06-28 Ludovic Court`es <[email protected]>
1153
1154 * reader.c: Now allows to pass Scheme reader specifications to
1155 `make-reader'. * reader.c (scm_c_make_reader): Added generation of
1156 code that allows to call token readers written as Scheme
1157 procedures. (dynr_make_reader): Renamed to `scm_make_reader'.
1158 (token_spec_to_string): New function. (do_scm_make_char): New
1159 function. (read_token_spec): New function.
1160 (read_token_reader_spec): New function. (scm_to_reader_spec):
1161 Use the above functions. git-archimport-id:
1162 [email protected]/scheme-reader--devo--0.1--patch-2
1163
1164 2005-06-27 Ludovic Court`es <[email protected]>
1165
1166 * reader.c, reader.h, test-repl.scm: Starting exporting
1167 `scm_c_make_reader ()' to Scheme. * reader.c (CHECK_CODE_SIZE):
1168 Increased the threshold. (scm_c_make_reader): Added
1169 `CHECK_CODE_SIZE ()' invocations. If no reader was specified for a
1170 given char, call `scm_ungetc ()'. (scm_token_reader_lookup): New
1171 function. (scm_to_reader_spec): New function. (make-reader):
1172 Use `scm_to_reader_spec ()'. (scm_reader_type): New SMOB type. *
1173 reader.h (scm_reader_spec_t): New type. * test-repl.scm: Use the
1174 new API of `make-reader'. git-archimport-id:
1175 [email protected]/scheme-reader--devo--0.1--patch-1
1176
1177 2005-06-24 Ludovic Court`es <[email protected]>
1178
1179 * Initial import of a JIT-compiled, extensible, Scheme reader
1180 definition mechanism. Initial import. git-archimport-id:
1181 [email protected]/scheme-reader--devo--0.1--base-0
1182