Hi,<br><br><div class="gmail_quote">2012/11/29 Matthew Phillips <span dir="ltr"><<a href="mailto:matthew@phillipsoft.biz" target="_blank">matthew@phillipsoft.biz</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="font-family:'courier new',monospace"></div><div style="font-family:'courier new',monospace"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">

Thanks a lot for putting this together, it is a tremendous value. Couple of notes:</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><br></div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">1) You have your ln -s command backwards (I do this all the time ;)) Should be ln -s /path/to/real-thing /path/to/new-link</div>

</div></blockquote><div><br></div><div>Ah right.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:'courier new',monospace">

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">

2) This step doesn't work for me:  <span style="font-size:13px;font-family:'courier new',monospace">(modules-compile! (modules-in-</span><span style="font-size:13px;font-family:'courier new',monospace">dir "~~/lib/modules")))</span></div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><span style="font-size:13px;font-family:'courier new',monospace"><br></span></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">

<span style="font-size:13px;font-family:'courier new',monospace">I get the error :</span></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">

<span style="font-size:13px;font-family:'courier new',monospace"><br></span></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><span style="font-size:13px"><div style="font-family:'courier new',monospace">

> (modules-compile! (modules-in-dir "~~/lib/modules"))</div><div style="font-family:'courier new',monospace">*** ERROR IN |module#define-syntax\|\|\|macro\|\|\|| -- Invalid define-syntax form (wrong number of arguments)</div>

<div style="font-family:'courier new',monospace">(define-syntax (lambda (source env mac-env) (let ((code (expr*:value source)...</div><div style="font-family:'courier new',monospace">hygiene/1></div><div style="font-family:'courier new',monospace">

<br></div><div style="font-family:'courier new',monospace"><br></div><div style="font-family:'courier new',monospace">I'm guessing there is a third argument (out filename?)??</div></span></div></div></blockquote>

<div><br></div><div>Uh hmm that looks like an error in a module.</div><div><br></div><div>What about you do like this, compile each module in the std dir separately with (module-compile! 'dir/modulename) and check which one it was.</div>

<div><br></div><div>Or just do this by </div><div><br></div><div><span style="color:rgb(34,34,34);font-family:'courier new',monospace;font-size:12.727272033691406px;background-color:rgb(255,255,255)">(for-each (lambda (m) (print "compiling " m "\n") (module-compile! m)) (modules-in-dir "~~/lib/modules"))</span></div>

<div><span style="color:rgb(34,34,34);background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif"><br></font></span></div><div><span style="color:rgb(34,34,34);background-color:rgb(255,255,255)"><font face="arial, helvetica, sans-serif">and tell what worked and what didn't.</font></span></div>

<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-family:'courier new',monospace"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">

<span style="font-size:13px"><div style="font-family:'courier new',monospace"><span style="font-family:arial,helvetica,sans-serif;font-size:13px">3) Should be noted for others, you can't compile from the command like this: bsc -exe myfile.scm like you normally would.  Instead from the repl: (module-compile-to-standalone "a.out" 'somefile)  use that in a script or makefile.</span></div>

</span></div></div></blockquote><div><br></div><div>Riight.</div><div><br></div><div>As for syntactictower Per made some interface equalling -exe though exactly right now the syntactictower is rather for those who want to bring a bit of order, than for those who want to have complete function from the start.</div>

<div><br></div><div>It should not be a lot that needs to be brought to order though at all, from what I can see right now it's a question of maybe 10 hours to bring it to non-syntactictower's level.</div><div><br>

</div><div>If you feel like you can give a shot at it.</div><div><br></div><div><br></div><div>And, as for harmonizing non-syntactictower and syntactictower, what shuold be done is</div><div>     1) Bring a "srfi" package resolver to non-syntactictower and put the srfi:s in there instead of in (std srfi/*). And,</div>

<div>     2) Keep the srfi:s in both distros primarily under their number names, and then have "proxy" modules under nice names like "list", "string" etc. (Currently syntactictower has only the latter naming and non-syntactictower only has the further naming.)</div>

<div><br></div><div>This is all.</div><div><br></div><div><br></div><div>(And, syntactictower has better macro expansion, caching etc. technology so it's desirable to do this.)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="font-family:'courier new',monospace"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><span style="font-size:13px"><div><span style="font-family:arial,helvetica,sans-serif;font-size:13px">Cheers!</span></div>

</span></div></div></blockquote><div><br></div><div>Thanks. Same!</div><div><br></div><div> </div></div>