Odd word problem/TrivialCharacterStreamSupportForJ: Difference between revisions
Odd word problem/TrivialCharacterStreamSupportForJ (view source)
Revision as of 11:50, 7 November 2011
, 12 years agono edit summary
mNo edit summary |
mNo edit summary |
||
Line 1:
[[../#J|J]] lacks a character stream implementation, so this is a minimal sketch of "get a character" and "put a character" code.
Note that the =. definitions provided here are for illustration purposes only (and, in fact, they will be discarded after loading the code from file), and are meant to be replaced by similar code at stream initialization time. Note that this implementation allows only one input stream and one output stream per locale.
|