refactor heapview

This commit is contained in:
Mark Thom
2018-01-13 21:50:47 -07:00
parent 20972f18c2
commit 0fb64f412e
7 changed files with 257 additions and 204 deletions

View File

@@ -15,12 +15,12 @@ use std::rc::Rc;
use std::str::Utf8Error;
use std::vec::Vec;
pub const LEXER_BUF_SIZE: usize = 4096;
pub type Atom = String;
pub type Var = String;
pub const LEXER_BUF_SIZE: usize = 4096;
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub enum GenContext {
Head, Mid(usize), Last(usize) // Mid & Last: chunk_num