<div dir="ltr">With help from soegaard in the channel, we got it working; turns out the issue was failing to declare syntax literals externally from the macros they're used in. Works great within a module, but Racket gets cranky if they aren't explicitly named and exported.<div><br></div><div>It's working now, you can find it on Github: <a href="https://github.com/jarcane/heresy">https://github.com/jarcane/heresy</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 16, 2014 at 12:20 PM, Konrad Hinsen <span dir="ltr"><<a href="mailto:konrad.hinsen@fastmail.net" target="_blank">konrad.hinsen@fastmail.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">J Arcane writes:<br>
<br>
 > I've been tinkering about with a BASIC-inspired Lisp syntax in Racket to practice<br>
 > macros. I've now got all the basic definitions established and wanted to thus start<br>
 > working on making it usable as a language, at least with #lang s-expr but I'm failing<br>
 > even at that. I can't even get my file to import and function with (require).<br>
<br>
</span>The best starting point I found for implementing languages in Racket is this<br>
article by Matthew Flatt:<br>
<br>
  <a href="https://queue.acm.org/detail.cfm?id=2068896" target="_blank">https://queue.acm.org/detail.cfm?id=2068896</a><br>
<br>
You can download all the examples and play with them. I suggest you<br>
take his version based on s-expr and modify it in small steps toward<br>
your own language. It's always easier to modify working code than to<br>
start from scratch.<br>
<span class="HOEnZb"><font color="#888888"><br>
Konrad.<br>
</font></span></blockquote></div><br></div>