Re: [racket] two languages at a time in DrRacket

2010-06-30 Thread Jay McCarthy
Ya :) It works but I don't think it is the right way to do it. Jay On Wed, Jun 30, 2010 at 6:12 PM, Shriram Krishnamurthi wrote: > "easy" is great.  I assume I should ignore the comment that says > >  ; XXX This is almost certainly wrong. > > Shriram > -- Jay McCarthy Assistant Professor /

Re: [racket] two languages at a time in DrRacket

2010-06-30 Thread Shriram Krishnamurthi
"easy" is great. I assume I should ignore the comment that says ; XXX This is almost certainly wrong. Shriram _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] two languages at a time in DrRacket

2010-06-30 Thread Jay McCarthy
This is very easy to do. If you take a look at http://github.com/plt/racket/blob/master/collects/datalog/lang/reader.rkt You'll see that there is one parser and compiler for the module body (this-read-syntax) and there is another for the REPL interactions (parse-statement). In this case one is a

[racket] two languages at a time in DrRacket

2010-06-30 Thread Shriram Krishnamurthi
Surely someone here has done something like this before, and I'd like advice on how to do it. We're in the process of converting Margrave, our security analysis tool, over to Racket, and to exploit DrRacket as its user environment. What we'd like to be able to do is this: in DrRacket, Interact