Talk:Andrew's Programming Language

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


 * "andrew's programming langauge", Dream Language, or DL for short. --MizardX 01:47, 9 November 2008 (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)