Re: [racket-users] How to test that a file is syntactically correct, but don't run it

2016-11-26 Thread Matthias Felleisen
Or check out Shill. It may just be what you want. — Matthias > On Nov 26, 2016, at 3:45 PM, Alexis King wrote: > > Many of the other answers here are good, but I want to try and give a > couple more options and a little more context. > > First of all, in Racket, the

Re: [racket-users] How to test that a file is syntactically correct, but don't run it

2016-11-26 Thread Alexis King
Many of the other answers here are good, but I want to try and give a couple more options and a little more context. First of all, in Racket, the phrase “syntactically correct” is a little bit vague. It could mean that a program is successfully parsed from text to s-expressions, which is the

Re: [racket-users] How to test that a file is syntactically correct, but don't run it

2016-11-26 Thread luis.osa.gdc
Some weeks ago, I just had the exact same problem while developing a "server.rkt" module with Vim. I use the Syntactic plugin to check syntax, and this plugin in turn uses the `racket` executable to find syntax problems. My solution was to add the args "--load" when executing the module with

Re: [racket-users] How to test that a file is syntactically correct, but don't run it

2016-11-26 Thread 'William J. Bowman' via Racket Users
raco read or raco expand may be the closest to doing this without doing much else. https://docs.racket-lang.org/raco/read.html Is there some way to e.g. hook some of DrRackets syntax checker up to a raco check-syntax? That would be convenient in the terminal. -- Sent from my phoneamajig >

Re: [racket-users] How to test that a file is syntactically correct, but don't run it

2016-11-25 Thread Matthew Butterick
On Nov 25, 2016, at 5:28 PM, David Storrs wrote: > As part of my pre-checkin test suite I'd like to be able to check that all > files are syntactically correct, but I don't want to actually execute them > because, e.g. executing 'server.rkt' would start the server and

[racket-users] How to test that a file is syntactically correct, but don't run it

2016-11-25 Thread David Storrs
As part of my pre-checkin test suite I'd like to be able to check that all files are syntactically correct, but I don't want to actually execute them because, e.g. executing 'server.rkt' would start the server and I don't want that. Is there a way to do this? Nothing I see under 'raco help' or