Skip to content

Commit

Permalink
~moved expression.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AjaniBilby committed Sep 13, 2023
1 parent 5df2c06 commit 34ddaed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion source/compiler/codegen/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { Scope } from "./scope.ts";
import * as banned from "./banned.ts";
import { Instruction, AnyInstruction } from "../../wasm/index.ts";
import { AssertUnreachable } from "../../bnf/shared.js";
import { CompileExpr } from "./expression.ts";
import { CompileExpr } from "./expression/index.ts";
import { Intrinsic } from "../intrinsic.ts";
import { Yeet } from "../../helper.ts";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as colors from "https://deno.land/[email protected]/fmt/colors.ts";

import type * as Syntax from "../../bnf/syntax.d.ts";
import { Intrinsic, f32, f64, i16, i32, i64, i8, u16, u32, u64, u8 } from "../intrinsic.ts";
import { AssertUnreachable, Yeet } from "../../helper.ts";
import { Instruction } from "../../wasm/index.ts";
import { Context } from "./context.ts";
import type * as Syntax from "../../../bnf/syntax.d.ts";
import { Intrinsic, f32, f64, i16, i32, i64, i8, u16, u32, u64, u8 } from "../../intrinsic.ts";
import { AssertUnreachable, Yeet } from "../../../helper.ts";
import { Instruction } from "../../../wasm/index.ts";
import { Context } from "./../context.ts";

export function CompileExpr(ctx: Context, syntax: Syntax.Term_Expr, expect?: Intrinsic) {
return CompileArg(ctx, syntax.value[0], expect);
Expand Down

0 comments on commit 34ddaed

Please sign in to comment.