<div dir="ltr">I have a file that starts with:<div><br></div><div>#lang at-exp racket/base</div><div><br></div><div>I then have a bunch of require and init boilerplate that I'd like to move out into a module language.  Using <a href="http://docs.racket-lang.org/guide/module-languages.html">http://docs.racket-lang.org/guide/module-languages.html</a> as a rough guide, I created a file and exported my own module begin to include all the boilerplate.  I changed the original file to be:</div>
<div><br></div><div>#lang at-exp "my-lang.rkt"</div><div><br></div><div>But I get "bad language" path following at-exp.</div><div><br></div><div>I suspect that at-exp doesn't work the same as s-exp for using module languages?  If so, do I need to define a new #lang my-lang reader file ie, my-lang/lang/reader.rkt?  Is there a shortcut to what I'm trying to do that doesn't involve overriding read and read-syntax?  </div>
<div><br></div><div>Either that or I might just have a simple mistake in my-lang.rkt file.</div><div><br></div><div>Thanks.</div><div><div><br></div>-- <br>Talk to you soon,<br><br>Scott Klarenbach<br><br>PointyHat Software Corp.<br>
<a href="http://www.pointyhat.ca" target="_blank">www.pointyhat.ca</a><br>p 604-568-4280<br>e <a href="mailto:scott@pointyhat.ca" target="_blank">scott@pointyhat.ca</a><br><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">200-1575 W. Georgia</span><br>
Vancouver, BC <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">V6G2V3</span><br><br>_______________________________________<br>To iterate is human; to recur, divine
</div></div>