mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04:00
8 lines
245 B
TypeScript
8 lines
245 B
TypeScript
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
|
|
|
import { evaluate, instantiate, load } from "./utils.ts";
|
|
|
|
const args = Deno.args;
|
|
const text = await load(args);
|
|
const result = evaluate(text);
|
|
instantiate(...result);
|