update workflow files
[English|简体中文]
A framework in openvela for converting TypeScript to native code.
├── lib │ └── std.d.ts ├── package.json ├── README.md ├── README_zh-cn.md ├── src │ ├── compiler.ts │ ├── cwriter.ts │ ├── debug.ts │ ├── index.ts │ └── resolver.ts ├── test │ ├── any.ts │ ├── array.ts │ ├── binaryops.ts │ ├── class.d.ts │ ├── class.ts │ ├── closure.ts │ ├── console.ts │ ├── enum.ts │ ├── for.ts │ ├── func.ts │ ├── generic-object.ts │ ├── hello.ts │ ├── if.ts │ ├── interface1.ts │ ├── interface.ts │ ├── literal_object.ts │ ├── map.ts │ ├── out │ │ └── foo_native.cc │ ├── primitive.ts │ ├── set.ts │ ├── t.d.ts │ ├── template.ts │ ├── test.ts │ ├── tuple.ts │ ├── types.ts │ └── while.ts └── tsconfig.json
src
test
npm run build
gcc -fPIC -shared -I<runtime-path> -o libhello.so out/hello.c ./runtime/tsshell hello
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
Introduction
[English|简体中文]
A framework in openvela for converting TypeScript to native code.
Project Structure
src: Core project code.test: Common test programs used to test the performance and memory changes after converting TypeScript to native code.Usage
Project Compilation
Converting Hello to Native Code