Talk:Andrew's Programming Language

From Esolang
Jump to navigation Jump to search

Please help me think of a name for this language! Also, please leave any comments, constructive criticism, or misunderstandings here. Thanks! -Afarnen

My idea for name is: "Quassi activity" -DmilkaSTD

"andrew's programming langauge", Dream Language, or DL for short. --MizardX 01:47, 9 November 2008 (UTC)
"andrew's programming language", Rewming Language, or RL for short. --"If you don't like it, then don't use it." -- fishHDR; A (talk) 02:16, 3 August 2019 (UTC) 08:15, 3 August 2019 (UTC)

I might as well add my two cents: Vunc variable and function combined.

JonoCode9374 (Talk)

03:32, 20 January 2020 (UTC)

Use of AND and OR

I noticed this when going though your spec: let c = > 5 and < -5. Mathematically (being [from what I understand] the basis of your language) there is no such number where 5<c and c<-5 (and meaning intersection). Similar mathematical errors occur with or. I propose that you utilise "and" and "or" in their mathematical application, that is, c=(-inf.;-5)A(5;inf) means c=Undefined (or error) and c=(-inf.;-5)U(5;inf) means c=-inf..+inf excluding -5..5. In their place, I recommend the addition of the "as well as" and "optionally" operators to fulfill the rest of the specification's needs. I understand that perhaps this was not your intention, but it will most certainly add another dimension to the flexibility of APL. {Possibly, use only interval notation to denote the mathematical implications of and and or using A and U}. Keep working on this one, it looks really nice - Hiato 13:07, 9 November 2008 (UTC)

From what I can make of it, it seems that c is simultaneously equal to all values < -5 and > 5. So, treating a variable's value as a set as you're doing,
let c = > 5 and < -5
means that c = (−∞, −5) ∪ (5, ∞). However, the following statement seems to contradict this:
let c = > 5 or < -5
should by this logic mean c ∈ {(−∞, −5), (5, ∞)}.
You could well ask what was actually meant.... -- Smjg 17:17, 9 November 2008 (UTC)
I actually wrote the specs quickly without checking for contradictions like this. I should re-write the specs. I also found another problem that my friend pointed out.. forget what exactly.Afarnen 21:02, 10 November 2008 (UTC)

Rewrote

I rewrote the spec/tut/doc. Afarnen 05:10, 23 November 2008 (UTC)