From 5542537937a44f5c33e9f9c8ac07c95c7afb6986 Mon Sep 17 00:00:00 2001 From: chenqy930 Date: Fri, 15 Jul 2022 10:03:30 +0800 Subject: [PATCH] update component name and path in readme Signed-off-by: chenqy930 Change-Id: I74bedef801121478f01cea6438987067c25d931b --- OAT.xml | 2 +- README.md | 16 ++++++++-------- README_zh.md | 18 +++++++++--------- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/OAT.xml b/OAT.xml index d70eb7ebe4..4efd6e9cf0 100644 --- a/OAT.xml +++ b/OAT.xml @@ -53,7 +53,7 @@ Note:If the text contains special characters, please escape them according to th - + diff --git a/README.md b/README.md index 311ebb5c70..20dd9bce71 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# ts2abc +# ets_frontend -- [ts2abc ](#ts2abc-) +- [ets_frontend ](#ets_frontend-) - [Introduction](#introduction) - [Directory Structure](#directory-structure) - [Build](#Build) @@ -9,14 +9,14 @@ ## Introduction -ts2abc is a front-end tool in the ARK Runtime Subsystem. It converts JavaScript(JS) files into ARK bytecode files. +ets_frontend is a front-end tool in the ARK Runtime Subsystem. It converts JavaScript(JS) files into ARK bytecode files. For more information, see: [ARK Runtime Subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/ARK-Runtime-Subsystem.md). ## Directory Structure ``` -/ark/ts2abc/ +/arkcompiler/ets_frontend/ ├── test262 # scripts for configuration and running Test262 ├── testTs # system test cases ├── ts2panda @@ -31,7 +31,7 @@ For more information, see: [ARK Runtime Subsystem](https://gitee.com/openharmony ## Build -ts2abc uses the command line interaction mode and converts JS code into ARK bytecode files that can be run on an ARK runtime system. ts2abc supports Windows, Linux, and macOS. Front-end tools, converting JS source code into ARK bytecode, can be built by specifying the `--build-target` with `ark_ts2abc` on Linux. +ets_frontend uses the command line interaction mode and converts JS code into ARK bytecode files that can be run on an ARK runtime system. ets_frontend supports Windows, Linux, and macOS. Front-end tools, converting JS source code into ARK bytecode, can be built by specifying the `--build-target` with `ark_ts2abc` on Linux. ``` $ ./build.sh --product-name hispark_taurus_standard --build-target ark_ts2abc_build @@ -270,8 +270,8 @@ For more information, please see: [ARK-Runtime-Usage-Guide](https://gitee.com/op ## Repositories Involved -[ark\_runtime\_core](https://gitee.com/openharmony/ark_runtime_core) +[arkcompiler\_runtime\_core](https://gitee.com/openharmony/arkcompiler_runtime_core) -[ark\_js\_runtime](https://gitee.com/openharmony/ark_js_runtime) +[arkcompiler\_ets\_runtime](https://gitee.com/openharmony/arkcompiler_ets_runtime) -**[ark\_ts2abc](https://gitee.com/openharmony/ark_ts2abc)** +**[arkcompiler\_ets\_frontend](https://gitee.com/openharmony/arkcompiler_ets_frontend)** diff --git a/README_zh.md b/README_zh.md index 3cf2b8b5b1..37d31bd7e5 100644 --- a/README_zh.md +++ b/README_zh.md @@ -1,6 +1,6 @@ -# ts2abc组件 +# ets_frontend组件 -- [ts2abc组件](#ts2abc组件) +- [ets_frontend组件](#ets_frontend组件) - [简介](#简介) - [目录](#目录) - [编译构建](#编译构建) @@ -9,14 +9,14 @@ ## 简介 -ts2abc组件是方舟运行时子系统的前端工具,支持将JavaScript文件转换为方舟字节码文件。 +ets_frontend组件是方舟运行时子系统的前端工具,支持将JavaScript文件转换为方舟字节码文件。 更多信息请参考:[方舟运行时子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/ARK-Runtime-Subsystem-zh.md) ## 目录 ``` -/ark/ts2abc/ +/arkcompiler/ets_frontend/ ├── test262 # test262测试配置和运行脚本 ├── testTs # 系统测试目录 ├── ts2panda @@ -31,7 +31,7 @@ ts2abc组件是方舟运行时子系统的前端工具,支持将JavaScript文 ## 编译构建 -ts2abc组件采用命令行交互方式,支持将JavaScript代码转换为方舟字节码文件,使其能够在方舟运行时上运行。支持Windows/Linux/MacOS平台。方舟前端工具在linux平台上可通过全量编译或指定编译前端工具链获取。 +ets_frontend组件采用命令行交互方式,支持将JavaScript代码转换为方舟字节码文件,使其能够在方舟运行时上运行。支持Windows/Linux/MacOS平台。方舟前端工具在linux平台上可通过全量编译或指定编译前端工具链获取。 ``` $ ./build.sh --product-name hispark_taurus_standard --build-target ark_ts2abc_build @@ -41,7 +41,7 @@ $ ./build.sh --product-name hispark_taurus_standard --build-target ark_ts2abc_bu 安装`node`和`npm` -使用ts2abc组件将JavaScript文件转换为方舟字节码文件 +使用ets_frontend组件将JavaScript文件转换为方舟字节码文件 ``` $ cd out/hispark_taurus/clang_x64/ark/ark/build @@ -271,8 +271,8 @@ $ node --expose-gc src/index.js [options] file.js ## 相关仓 -[ark\_runtime\_core](https://gitee.com/openharmony/ark_runtime_core) +[arkcompiler\_runtime\_core](https://gitee.com/openharmony/arkcompiler_runtime_core) -[ark\_js\_runtime](https://gitee.com/openharmony/ark_js_runtime) +[arkcompiler\_ets\_runtime](https://gitee.com/openharmony/arkcompiler_ets_runtime) -**[ark\_ts2abc](https://gitee.com/openharmony/ark_ts2abc)** +**[arkcompiler\_ets\_frontend](https://gitee.com/openharmony/arkcompiler_ets_frontend)** -- Gitee