After your mail I tried for myself #\\n and found it returned '\'. :-)
One thing which I think would be reasonable would be to fix #\ so that
it can handle the the extra backquote and return something sensible.
Like the $ in vanilla Erlang. So #\\n will return 10. We should
probably fix its current strangeness of always only grabbing only
*one* character (or perhaps *two* with the \ fix) and leaving the rest
to the next token. So writing (1 #\23) results in the list (1 50 3).
It would make more sense for it to grab everything up-to a delimiter
and parse that. $ in vanilla behaves the same way as #\ currently does
but will usually generate a syntactic error because of a missing
separator, which is often unnecessary in CL so it looks funny.
When I was looking through the scanner I noticed that some of the
rules are taken from scheme and not CL. I will fix that at the same
time. Another property is that the CL parser is described in parsing
*one* step while I do the parsing in to steps, first tokenisation and
then parsing. This make it easier, especially for using tools, but it
means that it is very difficult to get it to work in exactly the same
way. For example CL's nested #| ... |# block quotes you mentioned
earlier.
For the time being I will cleanup I what we have now but leave it as it is.
Robert
> --
> You received this message because you are subscribed to the Google Groups
> "Lisp Flavoured Erlang" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
lisp-flavoured-e...@googlegroups.com.
> To post to this group, send email to
lisp-flavo...@googlegroups.com.
> Visit this group at
>
http://groups.google.com/group/lisp-flavoured-erlang?hl=en-US.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>