News for hackers. Stuff that matters.
Re:A Programmable Programming Language by hyperion2010 on Saturday February 24, 2018 @09:18PM (#16456752)
That 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.
Re:A Programmable Programming Language by samth on Sunday February 25, 2018 @03:39PM (#16461050)
You put in in a `lang` subdirectory (so `my-lang/lang/reader.rkt`).