Contains the source code from the course work throughout my undergraduate Computer Engineering degree at Brigham Young University. There is a mixture of Go, Python, C, C++, Java, VHDL, Verilog, Matlab, Bash, Assembly, etc..
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines

  1. Schemes:
  2. snap(S,N,A,P)
  3. HasSameAddress(X,Y)
  4. Facts:
  5. snap('12345','C. Brown','12 Apple','555-1234').
  6. snap('33333','Snoopy','12 Apple','555-1234').
  7. Rules:
  8. HasSameAddress(X,'Y') :- snap(A,X,B,C),snap(D,Y,'B',E).
  9. Queries:
  10. HasSameAddress('Snoopy',Who)?