Skip to content

Commit 41fe683

Browse files
committed
Tolk v0.12 wasm and stdlib
1 parent c68b33d commit 41fe683

File tree

11 files changed

+271
-252
lines changed

11 files changed

+271
-252
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ton/tolk-js",
3-
"version": "0.11.0",
3+
"version": "0.12.0",
44
"description": "Tolk Language compiler (next-generation FunC)",
55
"main": "dist/index.js",
66
"bin": "./dist/cli.js",

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export type TolkCompilerConfig = {
1717
fsReadCallback: FsReadCallback
1818
optimizationLevel?: number
1919
withStackComments?: boolean
20+
withSrcLineComments?: boolean
2021
experimentalOptions?: string
2122
}
2223

@@ -119,6 +120,7 @@ export async function runTolkCompiler(compilerConfig: TolkCompilerConfig): Promi
119120
entrypointFileName: compilerConfig.entrypointFileName,
120121
optimizationLevel: compilerConfig.optimizationLevel,
121122
withStackComments: compilerConfig.withStackComments,
123+
withSrcLineComments: compilerConfig.withSrcLineComments,
122124
experimentalOptions: compilerConfig.experimentalOptions,
123125
})
124126

0 commit comments

Comments
 (0)