Added basic support for REPL requests
Updated grammar