Re: Fwd: [racket-users] Writing a "command-line front-end" for a language

2022-09-03 Thread Philip McGrath
On Sat, Sep 3, 2022, at 2:09 PM, Shu-Hung You wrote: > -- Forwarded message - > From: Shu-Hung You > Date: Sat, Sep 3, 2022 at 1:03 PM > Subject: Re: [racket-users] Writing a "command-line front-end" for a language > To: Reuben Thomas > > > Running `racket foo.asm` will produce

Fwd: [racket-users] Writing a "command-line front-end" for a language

2022-09-03 Thread Shu-Hung You
-- Forwarded message - From: Shu-Hung You Date: Sat, Sep 3, 2022 at 1:03 PM Subject: Re: [racket-users] Writing a "command-line front-end" for a language To: Reuben Thomas Running `racket foo.asm` will produce the desired output, so a shell script that directly passes the

[racket-users] Writing a "command-line front-end" for a language

2022-09-03 Thread 'Reuben Thomas' via Racket Users
I'm a relative Racket newbie, and I've just enjoyed *Beautiful Racket*. I am working on a Racket implementation of a simple assembler (for the Hack VM in the NAND2Tetris course). I have a partial implementation up and running using #lang lines. I would like to add a more traditional command-line