13 lines
212 B
Ceylon
13 lines
212 B
Ceylon
shared void run() {
|
|
|
|
while(true) {
|
|
process.write("> ");
|
|
String? text = process.readLine();
|
|
if (is String text) {
|
|
print(text.reversed);
|
|
}
|
|
else {
|
|
break;
|
|
}
|
|
}
|
|
}
|