Private
Public Access
5-post design walkthrough of a branch-free 8-bit/word color-forth variant for code generation: ~62 dict entries/page with paging, call/return inlined by the compiler, branch-free compile + branch-free execution, lookup-table pre-compile writes unaligned 8-bytes. Intended for tiny self-contained chunks that include their own codegen. Whitney-esk in single-char vars, non-Whitney in no higher-order arrays.
88 lines
3.4 KiB
JSON
88 lines
3.4 KiB
JSON
{
|
|
"root_post_id": "2079746130309415185",
|
|
"posts": [
|
|
{
|
|
"post_id": "2079742177370841105",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "Working through rough draft of assembly for a different idea for a micro macro-forth.\n1. 8-bit/word (color to relay meaning)\n2. Roughly 62 useful dictionary entries/page\n3. Supports paging (to extend dictionary)\n4. Supports call/return - but compiler inlines everything\n...",
|
|
"timestamp": "2026-07-22 01:35:49",
|
|
"media_urls": [
|
|
"https://pbs.twimg.com/media/HNy5A_uW0AAj1cU?format=png&name=orig"
|
|
],
|
|
"reply_to_id": null,
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 14,
|
|
"view_count": 1077
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2079743328585658532",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "5. Compile step is branch-free\n6. Compiles to branch-free x86-64 source\n7. Which is then executed\n\nNoticed that I can pre-compile all the dictionary words into a lookup table. So actual compile just writes unaligned 8-bytes but only advances the write pointer by the actual size",
|
|
"timestamp": "2026-07-22 01:40:23",
|
|
"media_urls": [],
|
|
"reply_to_id": "2079742177370841105",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 3,
|
|
"view_count": 264
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2079744218122096681",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "The interesting bits about this micro project was factoring out all branches, using branch-free interpreter loop to inline all calls so later execution is linear. Got messy doing a branch free software return stack. But costs are relatively low (40 ops/character)",
|
|
"timestamp": "2026-07-22 01:43:56",
|
|
"media_urls": [],
|
|
"reply_to_id": "2079743328585658532",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 2,
|
|
"view_count": 216
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2079744804078977381",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "Intended usage would be for tiny-gramming programs in self contained chunks that include their own code generation (effectively a macro-forth used to generate machine code).",
|
|
"timestamp": "2026-07-22 01:46:15",
|
|
"media_urls": [],
|
|
"reply_to_id": "2079744218122096681",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 1,
|
|
"repost_count": 0,
|
|
"like_count": 1,
|
|
"view_count": 330
|
|
}
|
|
},
|
|
{
|
|
"post_id": "2079746130309415185",
|
|
"author": "NOTimothyLottes",
|
|
"handle": "NOTimothyLottes",
|
|
"text": "A language that you author in a compressed space directly. So Whitney-esk in using lots of single character variables (or double character with page characters) -BUT- very non-Whitney in that it has no higher order array constructs",
|
|
"timestamp": "2026-07-22 01:51:31",
|
|
"media_urls": [],
|
|
"reply_to_id": "2079744804078977381",
|
|
"quote_of_id": null,
|
|
"metrics": {
|
|
"reply_count": 0,
|
|
"repost_count": 0,
|
|
"like_count": 2,
|
|
"view_count": 318
|
|
}
|
|
}
|
|
],
|
|
"source_url": "https://x.com/NOTimothyLottes/status/2079746130309415185"
|
|
} |