I'm having no luck finding a way to have this work the way I'd like it to, so if anyone could help that would be so greatly appreciated.
What I'd like is to be able to do this on Terminal:
> racket
And then be able to enter Racket commands and have them compile. Like,
> (+ 1 2)
> 3
And hopefully some commands like
> racket myprog.rkt
> 3
Where myprog.rkt
was just the file containing (+ 1 2)
.
I'm new to this so sorry if it's an obvious question but I just don't know how to make it work.
Thanks.