'(vidak) _(:3」∠)_ on Nostr: Worked on an ELIZA clone written in BASIC this evening, for the first chapter of the ...
Worked on an ELIZA clone written in BASIC this evening, for the first chapter of the BASIC cookbook.
The code comes from the second of the two David Ahl books that compile many different games, all written in BASIC.
Lots of MID$, LEFT$, and RIGHT$ statements, which is to be expected because ELIZA is a pattern matching program.
BASIC has good string concatenation, variables are easy to define and assign, and string matching is also trivial.
#retrocomputing #basic
Published at
2026-06-16 14:14:57 UTCEvent JSON
{
"id": "b3e30b9a03eeb788c1dd93b2dd5114620ab80c8d67ea408d77705ee64078ae41",
"pubkey": "602b36f2526dbc393bcde595acb3b6d4cb2cc90a276abdd99777c9fa372e9aeb",
"created_at": 1781619297,
"kind": 1,
"tags": [
[
"t",
"basic"
],
[
"proxy",
"https://anticapitalist.party/@dirtycommo/116760202279442141",
"web"
],
[
"t",
"retrocomputing"
],
[
"proxy",
"https://anticapitalist.party/users/dirtycommo/statuses/116760202279442141",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://anticapitalist.party/users/dirtycommo/statuses/116760202279442141",
"pink.momostr"
],
[
"-"
]
],
"content": "Worked on an ELIZA clone written in BASIC this evening, for the first chapter of the BASIC cookbook.\n\nThe code comes from the second of the two David Ahl books that compile many different games, all written in BASIC.\n\nLots of MID$, LEFT$, and RIGHT$ statements, which is to be expected because ELIZA is a pattern matching program.\n\nBASIC has good string concatenation, variables are easy to define and assign, and string matching is also trivial.\n\n#retrocomputing #basic",
"sig": "800e48cbf53676ced95714abf6e40b2d516735b56728673d7a7b3d0839b35fe7557b8ce3c36428dd665343a804eb151fce1023588e82f7ed3ac8ed29ff304b55"
}