mirror of
https://gitee.com/openharmony/arkcompiler_runtime_core
synced 2024-11-24 07:10:22 +00:00
c658ccf319
Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/I5G96F Test: Test262 suit, ark unittest, rk3568 XTS, ark previewer demo Signed-off-by: huangyu <huangyu76@huawei.com> Change-Id: I3f63d129a07deaa27a390f556dcaa5651c098185
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
Panda Bytecode Description (aka ISA)
|
|
|
|
Files:
|
|
|
|
- isa.yaml
|
|
The main file that contains the whole data about Panda Bytecode.
|
|
It is in a machine-readable format and intended to be the single source of
|
|
Bytecode information. It also aims hardcode avoidance in interpreter, compiler
|
|
and tools, faster changes (which is important on early stages of development),
|
|
consistency between components.
|
|
- schema.json
|
|
Schema for isa.yaml validation
|
|
- templates/
|
|
Directory with example template files which show how could one generate needed
|
|
files from isa.yaml using standard Ruby ERB templates.
|
|
From <name>.<extenstion>.erb template <name>.<extension> file would be generated.
|
|
(You also need to register your template in CMakeLists.txt)
|
|
- isapi.rb
|
|
API for quering parsed yaml data which could be used for template generation.
|
|
In a template you have access to all Ruby core libraries and to 'Panda' module.
|
|
Please refer to the file itself for more details.
|
|
- gen.rb
|
|
Driver for template generation. Run './gen.rb --help' for more details.
|
|
- CMakeLists.txt
|
|
Build system for ISA
|