Custom Query (1630 matches)
Results (22 - 24 of 1630)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#183 | fixed | symbols starting with # do not have read-write invariance | ||
Description |
I noticed this because if I have a string "#hostinfo#" and do string->symbol on it and write it to a file, (read) on this file causes a syntax error. I am not sure, but at first glance you might fix this by changing (not (##core#inline "C_substring_compare" "#!" str 0 0 2)) to (not (##core#inline "C_substring_compare" "#" str 0 0 1)) or a more efficient equivalent in sym-is-readable? in library.scm. As far as I know, anything starting with # is sharp-syntax and is unlikely to be read as a symbol. Yes? Examples: #;> (with-input-from-string (with-output-to-string (lambda () (write (string->symbol "#x")))) read) Error: illegal number syntax: "" #;> (with-input-from-string (with-output-to-string (lambda () (write (string->symbol "#hostinfo")))) read) Error: invalid sharp-sign read syntax: #\h #;> (symbol? (with-input-from-string (with-output-to-string (lambda () (write (string->symbol "#t")))) read)) #f #;> (char? (with-input-from-string (with-output-to-string (lambda () (write (string->symbol "#\\x")))) read)) #t |
|||
#191 | fixed | make distclean fix | ||
Description |
Line continuation missing in make distclean in master. patch attached |
|||
#192 | fixed | Only the last clause in COND may be an ELSE clause | ||
Description |
And patch 0001 will throw a syntax error if additional clauses are found. Patch 0002 removes an extraneous character in wiki2html.scm, which is now illegal after patch 0001. |