[plt-scheme] Fun with phases! function application is not allowed, because no #%app syntax transformer is bound

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue May 29 09:23:55 EDT 2007

At Tue, 29 May 2007 13:58:14 +0100, "Noel Welsh" wrote:
>    - module ast defines the AST
>    - module parse requires ast.ss and contains a function, parse, that
> converts syntax to the syntax of AST construction.
> [...]
>   - module cc requires-for-syntax parse.ss and contains a macro
> define-cc that calls parse
> [...] 
> From a bit of searching I gather my error message indicates a phase
> problem, but I don't really understand how it is occurring.  I've
> tried a few things with require-for-template but to no effect.

So far, it sounds like `parse' needs to `require-for-template' "ast.ss"
and `mzscheme', and probably doesn't need to `require' "ast.ss".

Matthew



Posted on the users mailing list.