Prolog?

Discussion in 'Programming' started by RadioBounce, Dec 12, 2010.

  1. #1
    Does anybody know what Prolog is and if you do do you know how to program in Prolog? I need some help on a prolog problem.
     
    RadioBounce, Dec 12, 2010 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    There's a new thing out called Google. Use it.
     
    drhowarddrfine, Dec 12, 2010 IP
  3. RadioBounce

    RadioBounce Banned

    Messages:
    4,171
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    0
    #3
    Called what?
     
    RadioBounce, Dec 12, 2010 IP
  4. RadioBounce

    RadioBounce Banned

    Messages:
    4,171
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    0
    #4
    Yes, smartass I know. Its a very old basic language and isn't populated over Google searches like say for example JAVA. Hence why I am asking on a PROGRAMMING FORUM on digital point. Thankyou!
     
    RadioBounce, Dec 12, 2010 IP
  5. underground-stockholm

    underground-stockholm Guest

    Messages:
    53
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    underground-stockholm, Dec 12, 2010 IP
  6. RadioBounce

    RadioBounce Banned

    Messages:
    4,171
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    0
    #6
    Im just here for some help can anybody do that? to me its an assignement dont give two sugars about what it is, I just need some help on a line of code I have
     
    RadioBounce, Dec 12, 2010 IP
  7. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #7
    There's plenty of info on Google. Don't know why you can't get it to work.
    Digital Point is hardly the place to get answers to programming at all, much less prolog. You might as well ask about statistic or number theory.
     
    drhowarddrfine, Dec 12, 2010 IP
  8. RadioBounce

    RadioBounce Banned

    Messages:
    4,171
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    0
    #8
    Theres not enough on google to get broken down help on a line of code which is written by a teacher at an academic institution
     
    RadioBounce, Dec 13, 2010 IP
  9. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #9
    Then you should be visiting the irc channels or mailing lists and forums for prolog, not DP. You might as well be asking about Lisp here (which I might actually be able to help with).
     
    drhowarddrfine, Dec 13, 2010 IP
  10. RadioBounce

    RadioBounce Banned

    Messages:
    4,171
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    0
    #10
    It didnt cost me to do so, and it didnt require me to have a huge pysical build to do so, so i went with it.
     
    RadioBounce, Dec 13, 2010 IP
  11. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #11
    I don't understand your reply.
     
    drhowarddrfine, Dec 13, 2010 IP
  12. longcall911

    longcall911 Peon

    Messages:
    1,672
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I developed an expert system in prolog over 20 years ago. When I started it was Borland Turbo Prolog. They sold the product back to PDC some years later. It continues today as visual prolog. It's actually free for personal use. There's a forum here: http://discuss.visual-prolog.com/

    If you want to post some code, I'll try to help. If the problem is conceptual, I may be able to. If it is syntax related the PDC forum will help, for sure. The most powerful aspect of prolog is backtracking which allows you to find the solution (the goal) to a problem very efficiently. PDC prolog is use in air traffic control systems, package routing systems, employee scheduling systems and others that utilize very complex and numerous rules.
     
    longcall911, Dec 13, 2010 IP
  13. RadioBounce

    RadioBounce Banned

    Messages:
    4,171
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    0
    #13
    Hi thank you

    well this is a WFF =

    Ap ((EsEtElsElt belongs(s,p) ^ belongs(t,p) ^ fl(s,ls) ^ fl(t,lt) ^ ~equal(ls,lt)) => notlevelflight(p))

    and I can't seem to convert that in clausal form, any help?
     
    Last edited by a moderator: Dec 15, 2010
    RadioBounce, Dec 15, 2010 IP
  14. Simon Courtenage

    Simon Courtenage Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Prolog is a logic programming language. You don't often find it used much outside things like natural language processing and some AI areas. WHat's the problem you're working on?
     
    Simon Courtenage, Dec 15, 2010 IP
  15. RadioBounce

    RadioBounce Banned

    Messages:
    4,171
    Likes Received:
    16
    Best Answers:
    1
    Trophy Points:
    0
    #15
    The code is above your post mate ^^^
     
    RadioBounce, Dec 16, 2010 IP