That'ms something that would have to be part of the (newish) read-language stuff. Ie, drracket would have to ask your language for a submit predicate and the use it in the repl, I guess. At least that's what would be the easiest change to make.
Robby On Tuesday, April 27, 2010, Jay McCarthy <jay.mccar...@gmail.com> wrote: > Danny reported a bug in my datalog package, so I've been updating it > to the recent versions, while doing it I thought I would try removing > the need for the Dr... tool. The new color-lexer is really nice for > getting syntax highlighting in the module language, so I was able to > do that. The only two things I can't do are getting a different > comment character (%) and getting a different REPL submit predicate. > The first is easy to add. The second is more worrisome, because in my > current implementation it is part of the "Mode" rather than the tool > itself. > > Any pointers for implementing the second as a language info key? I'm > pretty much totally lost when I try to follow the DrRacket source. > Rather than just email Robby, I thought I'd email the list to get more > press for the q/a. > > Jay > > -- > Jay McCarthy <j...@cs.byu.edu> > Assistant Professor / Brigham Young University > http://teammccarthy.org/jay > > "The glory of God is Intelligence" - D&C 93 > _________________________________________________ > For list-related administrative tasks: > http://list.cs.brown.edu/mailman/listinfo/plt-dev > _________________________________________________ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-dev