|
Re: [plt-scheme] Re: syntax coloring, #lang, Scribble: msg#00542plt-scheme
On Jul 28, Neil Van Dyke wrote: > > For Scheme (or perhaps Scheme-ish languages), it would be nice to be > able to associate formatting rules with special syntax definitions. Yes, that would be possible to, if we settle on some interface. Matthew is using the new capability of attaching properties to languages that are specified by `#lang' -- and the plan is to add more such properties, and one of them can be a description of keywords and their indentation rules (similar to the properties that Emacs uses). More generally, you can think of additional features -- another property that is available through this interface is the module that serves as the language module, and using that you can map names to functions, values, and macros (by using the module at the level of whatever tool you want to use it in). But... It might be better to do that in some other way, so you can use this information *including* stuff that you require into the module. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _________________________________________________ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-scheme
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |