Summary
"lint mode" for csc
Metadata
- Id: eb19c68ea0029e8d51da492d1eb3fccafbe93db7
- Trac id: 1532
- Type: enhancement
- Reporter: mario
- Owner:
- Cc:
- Status: closed
- Component: core tools
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: 5.1
- Version: 5.0.0rc1
- Changetime: 2018-09-05 23:50:17 UTC
- Created: 2018-09-05 23:05:09 UTC
- Keywords: csc, -M
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.