41 lines
796 B
Plaintext
41 lines
796 B
Plaintext
main: {
|
|
instruction_set: {
|
|
instructions: [
|
|
{
|
|
read_directory {
|
|
directory_name: "test_directory",
|
|
output: "file_list"
|
|
}
|
|
},
|
|
{
|
|
instruction_set {
|
|
instructions: [
|
|
{
|
|
open_file: {
|
|
input: "file_name",
|
|
output_fd: "file_fd"
|
|
}
|
|
},
|
|
{
|
|
read_file: {
|
|
input_fd: "file_fd"
|
|
}
|
|
},
|
|
{
|
|
close_file: {
|
|
input_fd: "file_fd"
|
|
}
|
|
}
|
|
],
|
|
iterate_options: {
|
|
list_name: "file_list",
|
|
item_name: "file_name",
|
|
access_order: RANDOM
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
global {}
|