kleopatra999 / owl-lisp

Automatically exported from code.google.com/p/owl-lisp
3 stars 1 forks source link

Character names don't work #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How to trigger the problem?

#\space

What is the expected output?

32

What do you see instead?

What is 'pace'? 
115

R7RS requires the names alarm, backspace, delete, escape, newline, null, 
return, space, and tab to work.

Original issue reported on code.google.com by johnwco...@gmail.com on 4 Jan 2012 at 7:17

GoogleCodeExporter commented 9 years ago
Thanks for the list. These were missing mainly because I didn't know which ones 
to add while adding the char syntax.

$ bin/vm fasl/bootp.fasl -e '(list #\alarm #\backspace #\delete #\escape 
#\newline #\null #\return #\space #\tab #\*)'
(7 8 127 27 10 0 13 32 9 42)

I just recalled the issue of #\spacer being parsed successfully to 32 and r 
instead of an error affects this one, so not marking as fixed yet though. The 
same issue affects many other things currently, like concatenated numbers and 
symbols.

Original comment by aohelin on 4 Jan 2012 at 7:42

GoogleCodeExporter commented 9 years ago
Will track overly permissive parsing issues separately.

Original comment by aohelin on 4 Jan 2012 at 7:50