<div dir="ltr"><div>I hope I'm not breaking any rules, but this process originally started in another thread: Macro to use “λ” character as “lambda” in R5RS Scheme?</div><div><br></div><div>But after seeing it execute properly in Racket AND Gambit I know the problem lies not in the code but in the calling mechanism, which is why I am starting this new thread.</div><div><br></div><div><a href="https://gist.githubusercontent.com/GlassGhost/bdf2b28f6c3592f3933a/raw/derive.ss">https://gist.githubusercontent.com/GlassGhost/bdf2b28f6c3592f3933a/raw/derive.ss</a><br></div><div><br></div><div>This file executes great, with the Racket shebang the file can be ran thus:</div><div><br></div><div>./derive.ss</div><div><br></div><div>If I uncomment line 3 and delete lines 1-2 to change from Racket to Gambit, When I execute</div><div><br></div><div>./derive.ss</div><div><br></div><div>It throws "*** ERROR IN "derive.ss"@8.33 -- Ill-formed expression". However Gambit works as great as it did earlier with Racket IF I do:</div><div><br></div><div>scheme-r5rs -:s ./derive.ss </div><div><br></div><div>So, how I can set "standard Scheme mode" just like the command line option "-:s" from within a Shebang Executed scheme file in Gambit??</div>
</div>