Summary

"lint mode" for csc

Metadata

Description

I sometimes run csc4 with -AM just to have my moduleless code checked by the scrutinizer. That's particularly useful for code that loads configuration files (in which case having a module would require some trickery to be able to use symbols exported by the module from the configuration file).

Could/should we add the -M option to csc5?

Changes and comments

[2018-09-05 23:16:10 UTC] evhan wrote:

CHICKEN 5 has -m for -module, which takes the module name as an argument instead of always using "main" like the -M did in CHICKEN 4.

So, this use case is still supported via csc -A -m _ x.scm.

[2018-09-05 23:50:17 UTC] mario changed status from new to closed

[2018-09-05 23:50:17 UTC] mario set resolution to fixed

[2018-09-05 23:50:17 UTC] mario wrote:

Perfect. Thanks, Evan.