From: Matthew Flatt <mflatt@cs.utah.edu> To: plt-scheme@fast.cs.utah.edu Date: Mon, 30 Apr 2001 10:02:18 -0600 (MDT) Subject: 199.10 The v200-tagged code in CVS for MzScheme and MrEd is now version 199.10. The changes are minor: * Added `form’ and `module’ fields to `exn:syntax’, and changed the `expr’ field to contain a syntax object (instead of an S-expression). * Changed `raise-syntax-error’ to accept a symbol, an identifier syntax object, or #f as the initial argument. If a symbol is provided, it is used as the form name, and the module is unknown. If an identifier syntax object is provided, its symbol is used as the form name in the generated exception, and its source module is used as the module. If #f is provided,the form name and source module are extracted from the erroneous expression if it is provided, and if the expression is either an identifier syntax object or a pair syntax object with an identifier its first position. If #f is provided and the form name cannot be extracted from the erroneous expression, the form and module names in the generated exception are #f. * Added `syntax-source-module’, which returns a symbol for the name of the module whose source contains the given syntax object. * Changed the `read-dot-as-symbol’ parameter to also disable commas and backquotes (rejected as errors, not parsed as symbols) for the DrScheme teaching languages. * `syntax-case’ and `with-syntax’ reliably convert non-syntax inputs for pattern matching into syntax objects with the lexical context of the input expression. * Replaced the obscure procedure `dynamic-require-syntax’ with the obscure procedure `dynamic-require-for-syntax’. Matthew