Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
templates/ | 12-May-2024 | - | 56 | 48 | ||
BUILD.gn | D | 12-May-2024 | 1.1 KiB | 32 | 28 | |
CMakeLists.txt | D | 12-May-2024 | 1.6 KiB | 47 | 39 | |
ChangeLog.md | D | 12-May-2024 | 648 | 20 | 15 | |
IsaPostPlugins.cmake | D | 12-May-2024 | 1.2 KiB | 31 | 26 | |
README | D | 12-May-2024 | 1 KiB | 26 | 23 | |
asserts.rb | D | 12-May-2024 | 6.2 KiB | 201 | 147 | |
combine.rb | D | 12-May-2024 | 1.9 KiB | 63 | 36 | |
gen.rb | D | 12-May-2024 | 3.2 KiB | 112 | 74 | |
gen_wrapper.sh | D | 12-May-2024 | 1.6 KiB | 63 | 37 | |
isa.yaml | D | 12-May-2024 | 88.3 KiB | 2,926 | 2,816 | |
isapi.rb | D | 12-May-2024 | 17.4 KiB | 705 | 521 |
README
1Panda Bytecode Description (aka ISA) 2 3Files: 4 5- isa.yaml 6 The main file that contains the whole data about Panda Bytecode. 7 It is in a machine-readable format and intended to be the single source of 8 Bytecode information. It also aims hardcode avoidance in interpreter, compiler 9 and tools, faster changes (which is important on early stages of development), 10 consistency between components. 11- schema.json 12 Schema for isa.yaml validation 13- templates/ 14 Directory with example template files which show how could one generate needed 15 files from isa.yaml using standard Ruby ERB templates. 16 From <name>.<extenstion>.erb template <name>.<extension> file would be generated. 17 (You also need to register your template in CMakeLists.txt) 18- isapi.rb 19 API for quering parsed yaml data which could be used for template generation. 20 In a template you have access to all Ruby core libraries and to 'Panda' module. 21 Please refer to the file itself for more details. 22- gen.rb 23 Driver for template generation. Run './gen.rb --help' for more details. 24- CMakeLists.txt 25 Build system for ISA 26