dschmenk / PLASMA

Proto Language AsSeMbler for All (formerly Apple)
MIT License
194 stars 26 forks source link

Add new -S option to "plasm" to output to stdout #69

Closed ZornsLemma closed 1 year ago

ZornsLemma commented 1 year ago

Hi Dave,

This is a noddy patch (only lightly tested) which adds a -S option to "plasm" - if specified the output is sent to stdout (as older versions used to do by default) rather than a filename derived from the input filename.

I did this because I had a build-assistant tool which generated a temporary file as input to plasm and relied on the output being to stdout. Changing it looked a bit error prone and fiddly so I thought it would be easier to add this option to the compiler.

I thought you might like to merge it to your repo, but if you don't that's fine, of course.

Cheers.

Steve