File: s9_bytecode

package info (click to toggle)
scheme9 2025.08.12-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,080 kB
  • sloc: lisp: 16,752; ansic: 11,869; sh: 806; makefile: 237; sed: 6
file content (17 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
S9fES  (s9:bytecode procedure)  ==>  vector

Return a vector containing the bytecode of the given PROCEDURE.
The resulting vector will contain the entire compilation unit
in which the given procedure was defined, including details such
as the assignment to the environment slot of its symbol. When
multiple procedures are defined inside of a BEGIN block, the
compilation block will contain all definitions of that block.

The bytecode instructions contained in the vector are subject
to change without notice.

Rationale:

The S9:BYTECODE procedure is intended to support procedures that
are internal to the S9 interpreter, such as a disassembler. No
user code would normally want to apply this procedure.