racket / zuo

A tiny Racket for scripting
Other
263 stars 27 forks source link

bug: can't handle shebang #9

Closed nat-418 closed 1 year ago

nat-418 commented 1 year ago

When a zuo script is executed using a shebang, like in this example:

#!/usr/bin/env zuo
#lang zuo

"Test"

the following error is reported:

read: expected #lang followed by a space at position 0 in "example.zuo"
 in module->hash
mflatt commented 1 year ago

Good point - thanks!