Skip to content

Commit

Permalink
execute -- Begin -- createEnv and run
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed Nov 16, 2023
1 parent a8dbd84 commit 781f5e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
execute -- Begin -- `createEnv` and run

[connect] connectTransitionToInputs(net: Net, transition: Transition, places: Array<Place>)
[connect] connectTransitionToOutputs(net: Net, transition: Transition, places: Array<Place>)

Expand Down
4 changes: 2 additions & 2 deletions src/lang/execute/execute.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { appendReport } from "../errors"
import { EvaluateOptions, evaluateParameters } from "../evaluate"
import { EvaluateOptions, evaluateBlock, evaluateParameters } from "../evaluate"
import { Mod, define } from "../mod"
import { Stmt } from "../stmt"

Expand Down Expand Up @@ -35,7 +35,7 @@ export async function execute(mod: Mod, stmt: Stmt): Promise<null> {
}

case "Begin": {
console.log("[execute / Begin] TODO")
evaluateBlock(mod, mod.env, stmt.body, options)
return null
}
}
Expand Down

0 comments on commit 781f5e6

Please sign in to comment.