Closed ghost closed 4 years ago
@t0md3an I'm not sure how well Adept would work as a REPL, but it would be cool. Maybe in the future I'll add it.
@t0md3an I've added a basic REPL, although there are almost guaranteed to be issues. You can do adept --repl
to launch it.
#halt - Quit
#reset - Reset REPL
#clear - Clear screen
#undo - Undo last change
Lines ending in \
will be added to the previous line. If the code starts with func
, import
, foreign
, struct
, or pragma
then the code will be added to the global scope.
@IsaacShelton What do you think about that?