# Calculator made from bind echo and alias and nothing else

• June 27th, 2019, 07:02 AM
JohnPhantom
Calculator made from bind echo and alias and nothing else
I created a calculator only using the scripting commands in the video game Counter-Strike, bind (for input) echo (for output) and alias (for the logic). Alias is a command that allows you to create a new command out of a string of specified commands. Basically, I can do math without using math. This is pure connectionism, where there are no values, no logic operators and no measurements in the logic. It is purely making, breaking and using connections and nothing else.

The first few paragraphs from my paper that I am working on:

How To Compute Without Variables, Logic Operators or Measurements

Work in progress

I have come up with what I believe is a new type of logic, it is mechanical in nature, but because I could maybe see it done on the quantum level it could be far more complex than any mechanical machine has ever been, in ways not seen in physical mechanical devices.

This logic is pure connectionism, only using connections and nothing else. I look at it as a geometry of logic. My system performs the logic only using one command without numeric variables, without logic operators, and without measurements. This is neither digital nor analog logic.

This is not theory, I have built a working model using this logic that demonstrates if-then, do-while, a randomizer, a relational database and other logic, including a rudimentary calculator that adds/subtracts/multiplies/divides. In the working model I only use one command for hooking in the input, a few commands for output, but all the logic in between is one command that does nothing but link commands together.

The logic demonstrated in this model uses the command “alias”, which is used in a FPS video game called Counter-Strike, which is a modification for a video game made by Valve called Half-Life, which is based on id Software's QuakeWorld engine. This command is used to link various commands together creating a new command that executes a command string, to provide a way for customizing the interface of the game. This logic requires input and output provided in the game - which, no doubt, uses Boolean logic to perform, but the logic itself is contained to using the one command “alias” and does not use Boolean logic.

You can also find the paper here, but you have to download it to read it: https://github.com/johnvlilley/Stateless-Computer

I suggest you start with the simple version of the calculator that does just add and subtract: https://github.com/johnvlilley/State...tor_simple.cfg

And the complex calculator has much better inline commenting: https://github.com/johnvlilley/State...or_complex.cfg

I am interested in taking some of the logic, perhaps the most complicated part - the grenade throwing script, and visually re-creating it in Minecraft. I also desperately need help writing the paper, it is obvious I never have written one before.
• July 2nd, 2019, 08:41 AM
wolle
Re: Calculator made from bind echo and alias and nothing else
Quote:

Originally Posted by JohnPhantom
This logic is pure connectionism, only using connections and nothing else. I look at it as a geometry of logic. My system performs the logic only using one command without numeric variables, without logic operators, and without measurements. This is neither digital nor analog logic.

This sounds a lot like lambda calculus to me,

https://en.wikipedia.org/wiki/Lambda_calculus

Even though lambda calculus has been around for some time I think it's a great accomplishment of you to have come up with it independently.

Here's a tutorial discussing lambda calculus in relation to functional programming,

• July 3rd, 2019, 07:09 PM
JohnPhantom2
Re: Calculator made from bind echo and alias and nothing else
Quote:

Originally Posted by wolle
This sounds a lot like lambda calculus to me,

https://en.wikipedia.org/wiki/Lambda_calculus

Even though lambda calculus has been around for some time I think it's a great accomplishment of you to have come up with it independently.

Here's a tutorial discussing lambda calculus in relation to functional programming,

That uses math. My logic does not use math.
• July 7th, 2019, 12:46 AM
wolle
Re: Calculator made from bind echo and alias and nothing else
Quote:

Originally Posted by JohnPhantom2
That uses math.

No, lambda calculus is not based on math. The only thing it ever does is substituting strings (sequences of symbols) for other strings. This can then be used to define all sorts of math with numbers, functions and logic & arithmetic operators. One such math is the so called Church encoding which can be though of as half-way toward the math you find in programming languages,

https://en.wikipedia.org/wiki/Church_encoding

-----