Re: [racket-users] Proper place to store log file

2020-08-24 Thread Thomas Del Vecchio
Thank you! On Monday, August 24, 2020 at 2:22:15 PM UTC-4 Ben Greenman wrote: > On 8/24/20, Thomas Del Vecchio wrote: > > Hi everyone! > > > > I'm currently working on some usage logging for a language we're > > developing. We need to store a persistent f

[racket-users] Proper place to store log file

2020-08-24 Thread Thomas Del Vecchio
Hi everyone! I'm currently working on some usage logging for a language we're developing. We need to store a persistent file that is shared across a given device (so that the same log file is used regardless of where you are working). Is there a best place to put this file? I'm looking at find

Re: [racket-users] Multiple stage compilation in a tower of languages

2020-07-24 Thread Thomas Del Vecchio
; Note that I switch define-syntax-rule to define-simple-macro because > define-syntax-rule will use syntax-protect, resulting in errors like cannot > use identifier tainted by macro transformation. > > On Thu, Jul 23, 2020 at 10:00 AM Thomas Del Vecchio < > thomas_de...@brown.

[racket-users] Multiple stage compilation in a tower of languages

2020-07-23 Thread Thomas Del Vecchio
piling down one layer at a time? It seems like the notion of a tower of languages would be fairly natural, yet the only success I have had is with some hacks with recursive local-expand that feel extremely unnatural, and also require further hacks to get around things like syntax-tainting. Thanks s

Re: [racket-users] Expanding Macros

2020-07-09 Thread Thomas Del Vecchio
- > William J. Bowman > > On Thu, Jul 09, 2020 at 06:30:38PM -0700, Thomas Del Vecchio wrote: > > I'm trying to work through expanding a macro to pass the result into > > another macro. I've attached and pasted the spec below that is my toy > > example.

[racket-users] Expanding Macros

2020-07-09 Thread Thomas Del Vecchio
I'm trying to work through expanding a macro to pass the result into another macro. I've attached and pasted the spec below that is my toy example. I've tried using expand, but it gives me "(C (#%app (#%top . B) (quote 1) (quote 2)))" instead of "(C (in 1 2))". I've also tried many other things