[racket-users] Procedure to save racket file as text file

2015-09-15 Thread Andre Mayers
I need a procedure to save the content of many racket files (*.rkt) in text files (*.txt). I know, I can use the "save as" button in drRacket but it will take too much time. Obviously, I am ready to strip all the graphic content in the conversion process. Any hint, on how I can do it will be

RE: [racket-users] Procedure to save racket file as text file

2015-09-14 Thread Andre Mayers
It works. Thank you. -Message d'origine- De : Robby Findler [mailto:ro...@eecs.northwestern.edu] Envoyé : 13 septembre 2015 21:19 À : Andre Mayers Cc : Neil Van Dyke ; racket-users@googlegroups.com List Objet : Re: [racket-users] Procedure to save racket file as text file Ther

RE: [racket-users] Procedure to save racket file as text file

2015-09-13 Thread Andre Mayers
I think the answer is no. I may not know how to use the procedure in wxme library. The file that I have are racket code file. They begin by the following line #reader(lib"read.ss""wxme")WXME0108 ## #| This file uses the GRacket editor format. Open this file

[racket] why an implicit begin to encapsulate the template in syntax-case ?

2013-11-21 Thread Andre Mayers
(define-syntax test (λ (stx) (syntax-case stx () [(_ a b) (define #'a #'b)]))) (test a 2) ;begin (possibly implicit): no expression after a sequence of internal definitions ;(begin (define #'a #'b)) If you can pinpoint the answer in the reference manual, I will app

Re: [racket] Why is x can be simultenaously bind and not bind ?

2013-09-15 Thread Andre Mayers
Thank you, it is very helpful. André -Message d'origine- De : Jon Zeppieri [mailto:zeppi...@gmail.com] Envoyé : 15 septembre 2013 19:21 À : Andre Mayers Cc : us...@lists.racket-lang.org Objet : Re: [racket] Why is x can be simultenaously bind and not bind ? It may be helpful to lo

Re: [racket] Why is x can be simultenaously bind and not bind ?

2013-09-15 Thread Andre Mayers
m I wrong ? -Message d'origine- De : Jon Zeppieri [mailto:zeppi...@gmail.com] Envoyé : 15 septembre 2013 11:20 À : Andre Mayers Cc : us...@lists.racket-lang.org Objet : Re: [racket] Why is x can be simultenaously bind and not bind ? On Sun, Sep 15, 2013 at 9:26 AM, Andre Mayers wrote: > An

[racket] Why is x can be simultenaously bind and not bind ?

2013-09-15 Thread Andre Mayers
Another way to ask the question is why is it possible to execute (let ([x 'uuu]) (set! x 'a) x) and (let ([x 'uuu]) (define x 'a) x) Racket Users list: http://lists.racket-lang.org/users

Re: [racket] How to to make a program that will take a simple racket file, parse it with the reader in a way that I can expand it?

2013-06-17 Thread Andre Mayers
Thank you. Your help has been helpful. -Message d'origine- De : Matthew Flatt [mailto:mfl...@cs.utah.edu] Envoyé : 16 juin 2013 10:14 À : Vincent St-Amour Cc : Andre Mayers; 'Racket' Objet : Re: [racket] How to to make a program that will take a simple racket file, pa

Re: [racket] How to to make a program that will take a simple racket file, parse it with the reader in a way that I can expand it?

2013-06-14 Thread Andre Mayers
bound identifier; also, no #%app syntax transformer is bound in: module -Message d'origine- De : Vincent St-Amour [mailto:stamo...@ccs.neu.edu] Envoyé : 14 juin 2013 16:02 À : Andre Mayers Cc : 'Racket' Objet : Re: [racket] How to to make a program that will take a simple ra

[racket] How to to make a program that will take a simple racket file, parse it with the reader in a way that I can expand it?

2013-06-14 Thread Andre Mayers
I want to make a little program that will take a simple racket file, parse it with the reader in a way that I can expand it. For example, I have the file programme.rkt that have the following line : #lang racket (define aa 7) (let ( [bb 3])