xo-interpreter2: scaffold repl + alloc measurement frameowkr
This commit is contained in:
parent
7028fa49f8
commit
f6aae4190e
42 changed files with 1398 additions and 198 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include "Tokenizer.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::mm::MemorySizeInfo;
|
||||
using std::byte;
|
||||
|
||||
namespace scm {
|
||||
|
|
@ -21,6 +22,18 @@ namespace xo {
|
|||
this->input_state_.discard_current_line();
|
||||
}
|
||||
|
||||
std::size_t
|
||||
Tokenizer::_n_store() const noexcept
|
||||
{
|
||||
return input_buffer_._n_store();
|
||||
}
|
||||
|
||||
MemorySizeInfo
|
||||
Tokenizer::_store_info(std::size_t i) const noexcept
|
||||
{
|
||||
return input_buffer_._store_info(i);
|
||||
}
|
||||
|
||||
bool
|
||||
Tokenizer::is_1char_punctuation(CharT ch)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue