add ingest file to can ir and start pipelining it through the compiler

This commit is contained in:
Brendan Hansknecht 2023-04-03 17:40:54 -07:00
parent 7c77f7c2a2
commit d42aa43b41
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
7 changed files with 59 additions and 44 deletions

View file

@ -165,6 +165,7 @@ fn expr<'a>(c: &Ctx, p: EPrec, f: &'a Arena<'a>, e: &'a Expr) -> DocBuilder<'a,
Num(_, n, _, _) | Int(_, _, n, _, _) | Float(_, _, n, _, _) => f.text(&**n),
Str(s) => f.text(format!(r#""{}""#, s)),
SingleQuote(_, _, c, _) => f.text(format!("'{}'", c)),
IngestedFile(_,_) => todo!("I am not really sure how we want this to be printed. file name? all bytes? as correct type?"),
List {
elem_var: _,
loc_elems,