module demo::lang::turing::l1::ast::Load
rascal-0.40.17
Usage
import demo::lang::turing::l1::ast::Load;
Dependencies
import ParseTree;
import demo::lang::turing::l1::ast::Turing;
import demo::lang::turing::l1::cst::Parse;
function load
public Program load(str inp)
= implode(#Program, parse(inp));
public Program load(loc inp)
= implode(#Program, parse(inp));
public Program load(str s, loc inp)
= implode(#Program, parse(s, inp));
public Program load(Tree parsed)
= implode(#Program, parsed);