mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-30 05:32:08 +00:00
Less prose; Update i64 example; More options for asc
This commit is contained in:
@@ -113,6 +113,11 @@ export function setNoAssert(options: Options, noAssert: bool): void {
|
||||
options.noAssert = noAssert;
|
||||
}
|
||||
|
||||
/** Sets the `noMemory` option. */
|
||||
export function setNoMemory(options: Options, noMemory: bool): void {
|
||||
options.noMemory = noMemory;
|
||||
}
|
||||
|
||||
/** Compiles the sources computed by the parser to a module. */
|
||||
export function compile(parser: Parser, options: Options | null = null): Module {
|
||||
const program: Program = parser.finish();
|
||||
|
Reference in New Issue
Block a user