m-ender / retina

A regex-based programming language.
MIT License
231 stars 10 forks source link

Add option to suppress trailing linefeed #31

Closed m-ender closed 8 years ago

m-ender commented 9 years ago

The linefeed that is printed after each stage (if anything is) is separate from the actual output string of the stage (that is, this linefeed is not passed on as input to the next stage). That means there is no way to suppress that linefeed in Retina currently, because even an empty result will print this linefeed. There should be an option for all stages which suppresses this (i.e. changes the semantics from Console.WriteLine to Console.Write).

m-ender commented 8 years ago

Implemented in b88e8bc9b5bf0508397b3e9b6d50695f07cb8e35. Will be released in 0.7.2.