5 procedure Step0_Repl
is
7 function Read
return String with Inline
;
9 function Eval
(Ast
: in String) return String;
11 procedure Print
(Ast
: in String) with Inline
;
13 procedure Rep
with Inline
;
15 ----------------------------------------------------------------------
17 function Eval
(Ast
: in String) return String
20 procedure Print
(Ast
: in String) is
22 Ada
.Text_IO
.Put_Line
(Ast
);
25 function Read
return String is (Readline
.Input
("user> "));
32 ----------------------------------------------------------------------
39 when Readline
.End_Of_File
=>
42 -- Other exceptions are really unexpected.