stamourv / picobit

A Compact Scheme System for Microcontrollers
GNU General Public License v3.0
181 stars 35 forks source link

Why use the unstable module port.rkt? #1

Closed NalaGinrut closed 10 years ago

NalaGinrut commented 12 years ago

I tried racket-5.3, but it throws the error:

default-load-handler: cannot open input file path: /usr/local/lib/racket/collects/unstable/port.rkt

I realized that unstable/port.rkt is deleted from unstable. As a suggestion, maybe not to use unstable module is better?

stamourv commented 12 years ago

I'm not working on Picobit at the moment.

To fix the problem, remove the import of unstable/port and replace uses of (read-all-syntax read-syntax x) with (port->list (lambda (p) (read-syntax 'here p)) x).

NalaGinrut commented 12 years ago

Thanks! It's solved. Considering the later racket user, do you need the patch for it?

stamourv commented 10 years ago

Fixed.