<commit_before>2. The Basics
=============

O revolves around one stack in which you can push and pop values to and from. Here are some basic rules for writing O code.

2.1. I/O
--------

There are a couple ways to get a user's input. ``i`` will push the input to the stack as a string, while ``j`` will push the input to the stack as an integer. `o` pops the top value off the stack and outputs it. `p` outputs with a new line. Here's an example::

    >>> io
    test
    test

This is the smallest cat program possible. `i` gets the input and pushes it, `o` pops it and outputs it to stdout.

2.2. Number Literals are pushes individually
--------------------------------------------

`1234` doesn't push the number *one thousand twenty-four*, it pushes `1`, then `2`, `3`, and finally `4`. Each individual digit is pushed to the stack.<commit_msg>docs: fix inline code<commit_after>2. The Basics
=============

O revolves around one stack in which you can push and pop values to and from. Here are some basic rules for writing O code.

2.1. I/O
--------

There are a couple ways to get a user's input. ``i`` will push the input to the stack as a string, while ``j`` will push the input to the stack as an integer. ``o`` pops the top value off the stack and outputs it. ``p`` outputs with a new line. Here's an example::

    >>> io
    test
    test

This is the smallest cat program possible. ``i`` gets the input and pushes it, ``o`` pops it and outputs it to stdout.

2.2. Number Literals are pushes individually
--------------------------------------------

``1234`` doesn't push the number *one thousand twenty-four*, it pushes ``1``, then ``2``, ``3``, and finally ``4``. Each individual digit is pushed to the stack.
{'fraction_non_alphanumeric': 0.1581691772885284, 'fraction_numerical': 0.015063731170336037, 'mean_word_length': 2.7219827586206895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2181475', 'n_tokens_mistral': 486, 'n_tokens_neox': 459, 'n_words': 280}