PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
268 stars 210 forks source link

Add stdin attribute to activecode #2277

Closed ascholerChemeketa closed 1 month ago

ascholerChemeketa commented 1 month ago

stdin attribute didn't make the initial implementation for activecode. This interfaces with existing RS code to provide input to a program.

rbeezer commented 1 month ago

This looks a lot like #2232, which I have a lot to say about, and never quite got it all down. Briefly, I'm not sure this should be an attribute, and I think maybe the structure of program needs a serious re-think. input isn't really so great as the name of a child.

ascholerChemeketa commented 1 month ago

I'd add tests isn't a great name for "extra code that may or may not be tests to append to the reader's code. :)

Closing this.

rbeezer commented 1 month ago

tests isn't a great name

Exactly. ;-)