Logo
Explore Help
Sign In
fluencelabs/assemblyscript
1
0
Fork 0
You've already forked assemblyscript
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-05-10 14:18:01 +00:00
Code Issues Projects Releases Wiki Activity
assemblyscript/tests/compiler/main.ts

8 lines
101 B
TypeScript
Raw Normal View History

Remove noMemory option; Omit 'start' if 'main' is present; Unwrap more unnecessary blocks
2018-06-27 19:03:39 +02:00
var code = 0;
code = 1;
Rework resolver (#489) * Rework IR and resolver to use nested lookup tables * Integrate types into IR * Make components prefer IR, slimmed down AST * Implement `export *` * Add `@lazy` annotation and remove `--noTreeShaking` * Add `@start` annotation and remove magic `main` * Related refactoring, cleanup and docs
2019-02-21 00:11:22 +01:00
@start
Remove noMemory option; Omit 'start' if 'main' is present; Unwrap more unnecessary blocks
2018-06-27 19:03:39 +02:00
export function main(argc: i32, argv: usize): i32 {
return code;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 107ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API