Subject: Truth-Table Generator - a partial solution
From: mslamm@pluto.cc.huji.ac.il (Zvi Lamm)
Date: 5 Dec 1994 19:46:09 GMT
Organization: The Hebrew Univ. of Jerusalem, Computation Center.

I asked a couple of days ago for hints on writing a truth-table
generator. My current results are:
For ease, use these instead of undefined variables:
a=.0&{
b=.1&{
etc. These will help "parse" the arguments from a vector of bits.
Now define:

table=.#: !. 8 (or 16 or whatever.. generally 2^N)
exp=.a *. b +. c  or whatever expression you want to build a TT for. use
the above defined a,b etc.

Now the truth table is:
table;,.exp"1 table

Thanks for all those who helped...
Ehud

PS.
I am sure the explanation is much too long for most readers of this
group, but as a beginner this is the amount of detail I would want in
other postings as well....

