Skip to content

Commit

Permalink
Merge pull request #397 from anutosh491/docs
Browse files Browse the repository at this point in the history
Docs : Updated custom interpreter interface in Readme
  • Loading branch information
JohanMabille committed Apr 15, 2024
2 parents 6d1bd9c + 95e1946 commit 44fb518
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,21 @@ namespace custom
{
class custom_interpreter : public xinterpreter
{

public:

custom_interpreter() = default;
virtual ~custom_interpreter() = default;

private:

void configure() override;
void configure_impl() override;

nl::json execute_request_impl(int execution_counter,
const std::string& code,
bool silent,
bool store_history,
const nl::json::node_type* user_expressions,
bool allow_stdin) override;
void execute_request_impl(xrequest_context request_context,
send_reply_callback cb,
int execution_counter,
const std::string& code,
execute_request_config config,
nl::json user_expressions) override;

nl::json complete_request_impl(const std::string& code,
int cursor_pos) override;
Expand All @@ -82,6 +81,8 @@ namespace custom
nl::json is_complete_request_impl(const std::string& code) override;

nl::json kernel_info_request_impl() override;

void shutdown_request_impl() override;
};
}
```
Expand Down

0 comments on commit 44fb518

Please sign in to comment.