• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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