This website requires JavaScript.
Explore
Help
Sign In
fluencelabs
/
assemblyscript
Watch
1
Star
0
Fork
0
You've already forked assemblyscript
mirror of
https://github.com/fluencelabs/assemblyscript
synced
2025-04-26 07:22:21 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
assemblyscript
/
tests
/
compiler
/
main.ts
8 lines
101 B
TypeScript
Raw
Normal View
History
Unescape
Escape
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