Skip to content

Default output when nothing is specified by user #272

@ped7g

Description

@ped7g

Seems quite some of new users struggle with sjasmplus not producing any output by default.

Maybe it would be better to at least emit default --raw or .sna for ZX platforms, etc...

catch: majority of tests doesn't need any output, so such default output will waste SSD and CPU time

If it would do instead warning with id, I could switch it off for tests and have old behavior. Or maybe to add some extra CLI option like --no-default-output to get back to old behavior for tests.

catch 2: which output format to do? raw is obvious choice because it can be produced for all devices/assembling modes, but it's also probably not as new-user-friendly to significantly lessen the criticism? .sna/.tap/... could be option depending on DEVICE and whether user did specify start address or not? (or if the code starts at top of file or any first instruction after DB statements ...) ... etc etc... feels like one can easily over-engineer it and then the user will end up confused almost the same way how it is now, just due to different reasons and at different moment.

Ultimately RTFM moment will happen of course, the question is for how long we can delay that and make it feel nicer. 🤷‍♂

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRequest For Comments (opinions)enhancementhelp wantedinput from new users needed, or simple-enough tasks for new contributors

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions