<commit_before>PBrain-VM
=========

Virtual machine implementation for the imaginary Assembly-like language "PBrain".


PBrain
-------

"PBrain" is a simplified, imaginary version of Assembly language. It has a total of *thirty-two* opcode instructions. They are all in the format `XX-YY-ZZ`, where `XX` is the opcode, `YY` is a first parameter, and `ZZ` is a second parameter.


API Opcode Functions
---------------------
This virtual machine implementation provides an API for all thirty-two of the opcodes, as well as storing data and saving to memory.

- **read_to_memory**
  Each time a new line of source code is interpreted by the virtual machine, it must be read into memory. This function takes three parameters: the `memory` array, the `program_line` int, the `input_line` string, and the `i` int.<commit_msg>updated read me<commit_after>PBrain-VM
=========

Virtual machine implementation for the imaginary Assembly-like language "PBrain".


PBrain
-------

"PBrain" is a simplified, imaginary version of Assembly language. It has a total of *thirty-two* opcode instructions. They are all in the format `XX-YY-ZZ`, where `XX` is the opcode, `YY` is a first parameter, and `ZZ` is a second parameter.


API Opcode Functions
---------------------
This virtual machine implementation provides an API for all thirty-two of the opcodes, as well as storing data and saving to memory.

- **read_to_memory**
	Each time a new line of source code is interpreted by the virtual machine, it must be read into memory. This function takes three parameters: the `memory` array, the `program_line` int, the `input_line` string, and the `i` int.
{'fraction_non_alphanumeric': 0.10982306284319707, 'fraction_numerical': 0.0, 'mean_word_length': 3.823529411764706, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1131340', 'n_tokens_mistral': 444, 'n_tokens_neox': 423, 'n_words': 231}