Custom Query (1630 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (22 - 24 of 1630)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Ticket Resolution Summary Owner Reporter
#183 fixed symbols starting with # do not have read-write invariance Jim Ursetto
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 felix winkelmann Jim Ursetto
Description

Line continuation missing in make distclean in master. patch attached

#192 fixed Only the last clause in COND may be an ELSE clause Jim Ursetto
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.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Note: See TracQuery for help on using queries.