3 ms·
You're missing a reader, I think.
by sillysaurus3 9y ago
You're missing a reader, I think.
- hyperion2010 9y agoThat was the 'in theory' bit. You can create a reader module inside main.rkt using (module+ reader (provide read-syntax)) where read-syntax can be defined in main.rkt or required from elsewhere. Good point though since I actually don't know exactly where to put a reader.rkt file to get the equivalent behavior of defining it as a submodule inside of main.rkt.
- samth 9y agoYou put in in a `lang` subdirectory (so `my-lang/lang/reader.rkt`).