Re: [racket] How much RAM does a Racket personal blog need?

2013-09-11 Thread Juan Francisco Cantero Hurtado
On 09/11/13 04:52, Neil Van Dyke wrote: Ben Duan wrote at 09/10/2013 10:33 PM: I'm buying a VPS to build my personal blog and learn Racket through the process. But I don't know how much RAM do I need. Do you have any suggestions? And any other suggestions on how to choose a VPS for Racket? Y

Re: [racket] Evaluating code written in non-SEXP language

2013-09-11 Thread Joe Gibbs Politz
Hi Dmitry, I've been using `dynamic-require` for Pyret, a non-SEXP based language. For example, here's part of our command-line interface: https://github.com/brownplt/pyret-lang/blob/master/src/cmdline.rkt#L116 You can ignore the parameterization under `check-mode`, which is Pyret specific. Th

Re: [racket] Evaluating code written in non-SEXP language

2013-09-11 Thread Dmitry Pavlov
Hi Joe, Thank you. Actually my goal is to run files that do not contain the #lang declaration--only pure non-Racket non-sexp code. Is there a way to (dynamic-require) a module with an externally preset language? I do not know. I tried your approach anyway. It works well itself, but I have failed

Re: [racket] Evaluating code written in non-SEXP language

2013-09-11 Thread Roman Klochkov
I think, you may simply add #lang into input-port when reading the file. Среда, 11 сентября 2013, 12:08 -05:00 от Robby Findler : >Generally speaking, Racket is set up to work well with the #lang lines, but >not as well without. Lots of things get easier if they are there. > >Robby > > >On Wed

Re: [racket] Evaluating code written in non-SEXP language

2013-09-11 Thread Robby Findler
Generally speaking, Racket is set up to work well with the #lang lines, but not as well without. Lots of things get easier if they are there. Robby On Wed, Sep 11, 2013 at 11:57 AM, Dmitry Pavlov wrote: > Hi Joe, > > Thank you. Actually my goal is to run files that do > not contain the #lang d

[racket] local-expand 'module-begin

2013-09-11 Thread Tero Hasu
Hello list, I'm trying to use local-expand within a custom #%module-begin in order to inspect the expansion and its side effects, but this does not appear to work in all cases. Am I using local-expand correctly? Are there restrictions to its ability to handle a module body? To demonstrate. T

Re: [racket] Evaluating code written in non-SEXP language

2013-09-11 Thread Dmitry Pavlov
I think, you may simply add #lang into input-port when reading the file. > Good point, but how do I (dynamic-require) a port? I could make a temporary file with the #lang line preceding the contents of the original file, but then I lose all the references to the original file in the parser error m

Re: [racket] Can't scribble BNF grammar to pdf

2013-09-11 Thread Ismael Figueroa
Hi Matthew, I attach a small log of the interaction in pdflatex. I made several interruptions using Ctrl-C, resumed them using the "r" command in pdflatex, and finally quit using Ctrl-Z. Did the compilation get stuck also on your tests? or is it just me? Thanks 2013/9/5 Matthew Flatt > What

Re: [racket] How much RAM does a Racket personal blog need?

2013-09-11 Thread Ben Duan
Thank you for your suggestions, Neil and Juan. Thanks and regards, Ben On Wed, Sep 11, 2013 at 10:33 AM, Ben Duan wrote: > Dear all, > > I'm buying a VPS to build my personal blog and learn Racket through the > process. But I don't know how much RAM do I need. Do you have any > suggestions? An

Re: [racket] Evaluating code written in non-SEXP language

2013-09-11 Thread Dmitry Pavlov
Robby, Generally speaking, Racket is set up to work well with the #lang lines, but > not as well without. Lots of things get easier if they are there. > I accept that thighs without #lang may be hard, but doable nonetheless: for example, DrRacket can run Algol 60 programs without the #lang line i