[plt-scheme] problem using drscheme tools

From: Paul Graunke (ptg at ccs.neu.edu)
Date: Fri Jun 14 22:07:43 EDT 2002

  (display "hi dave")
is really something like
  (#%module-begin (#%app display (#%datum "hi dave")))
so you need to export some #% funny things if you want
function application and constants in your language.

For example, the beginner language provides a different #%app
to prevent calling functions with no arguments. (At least it did
some time ago.)


At Fri, 14 Jun 2002 17:48:39 -0400, "David B. Tucker" wrote:
> Hi,
> I'm having problems using DrScheme Tools.  I'm trying to add a new
> language by creating an implementation of drscheme:language:language<%>.
> The docs claim that the FRONT-END method should return a syntax object
> or sexp, but when I return any simple sexp such as `(display "hi
> dave"), I get the following error:
> compile: bad syntax; function application is not allowed, because no
> #%app syntax transformer is bound in: (display "hi dave")
> Any clues?  Thanks,
> Dave
> ____________________________________________________
> PLT Scheme discussion list
> plt-scheme at list.cs.brown.edu
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.