hyln9 / ikarus

Optimizing incremental native-code compiler for R6RS scheme. This is a forked repository.
https://launchpad.net/ikarus
Other
5 stars 0 forks source link

Accepting invalid lexical syntax for complex number #209

Open hyln9 opened 10 years ago

hyln9 commented 10 years ago

Ikarus Scheme version 0.0.4-rc1+ (revision 1827, build 2009-07-06) Copyright (c) 2006-2009 Abdulaziz Ghuloum

!r6rs 5i

+5i

According to R6RS 4.2.1 , #+ or #- must be first. (I wonder why. I don't see why it's necessary.)

Launchpad Details: #LP398351 Derick Eddington - 2009-07-12 02:17:01 -0400

hyln9 commented 10 years ago

I don't think I'm going to fix this. It complicates the parser much worse than it already is. I'll leave it open just in case I change my mind.

Launchpad Details: #LPC Abdulaziz Ghuloum - 2009-08-02 08:26:30 -0400