-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5df2c06
commit 34ddaed
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
source/compiler/codegen/expression.ts → source/compiler/codegen/expression/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
|