<commit_before>Knuth's TAOCP
=============

I am currently reading Knuth’s _TAOCP_ and implementing the programs and
exercises in C and x86-64 assembly.  I may add some other languages
(possibly Go, Python, or ARM assembly).

Caveat:
-------
The x86-64 assembly is written for the [Plan 9
assembler](http://doc.cat-v.org/plan_9/4th_edition/papers/asm) and the
Plan 9 calling convention. However, this assembler does not support 
local symbols as described in _TAOCP_ §1.3.2. So in order to assemble these
on Plan 9, you'll need to download or patch [6a](http://man.cat-v.org/9front/1/2a) with the extension I wrote
[here](http://www.codigo.co/code/C/local_labels/).

I am also trying to maintain unix versions as well so find those in the Unix
[subdirectory](http://www.codigo.co/code/Knuth/x86_64/unix/).<commit_msg>add c paper to readme<commit_after>Knuth's TAOCP
=============

I am currently reading Knuth’s _TAOCP_ and implementing the programs and
exercises in C and x86-64 assembly.  I may add some other languages
(possibly Go, Python, or ARM assembly).

Caveat:
-------
The x86-64 assembly is written for the [Plan 9
assembler](http://doc.cat-v.org/plan_9/4th_edition/papers/asm) and the
Plan 9 calling convention. However, this assembler does not support 
local symbols as described in _TAOCP_ §1.3.2. So in order to assemble these
on Plan 9, you'll need to download or patch [6a](http://man.cat-v.org/9front/1/2a) with the extension I wrote
[here](http://www.codigo.co/code/C/local_labels/).

The C programs are written for the Plan 9 compiler and libraries. They
are not difficult to port to Unix. For more information on the differences
see [this paper](http://doc.cat-v.org/plan_9/4th_edition/papers/comp).

I am also trying to maintain unix versions as well so find those in the Unix
[subdirectory](http://www.codigo.co/code/Knuth/x86_64/unix/).
{'fraction_non_alphanumeric': 0.11451612903225807, 'fraction_numerical': 0.027419354838709678, 'mean_word_length': 4.1551246537396125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7071828', 'n_tokens_mistral': 642, 'n_tokens_neox': 600, 'n_words': 232}