Everything you wanted to know about Prolog, but were afraid to ask

If you were ever curious about learning Prolog, here’s 11 links to get you started. I did a lot of Prolog programming in the 1990s. It was one of the highlights of my career.  I played around with Lisp and other A.I. technology, but Prolog was the one I kept coming back to. I don’t write as much code these days, and when I do, I tend to write it in Python. But Prolog still has a place in my heart. It’s a great language that can do things no other language can. To see what I mean, check these out:

  1. Here’s a good intro to get you a handle on the language:Introduction to logic programming with Prolog
  2. Want to dive in and learn Prolog? This is good: Learn prolog in Y Minutes
  3. When learning code it is good to look at other people’s code. Here’s a repo on Github of sample code to look at: mjones-credera/prolog-samples: Sample Prolog code
  4. This repo has even more code: Anniepoo/prolog-examples: Some simple examples for new Prolog programmers
  5. You can take advantage of all that data in a relational database by connecting it up to Prolog like this: SWI-Prolog connecting to PostgreSQL via ODBC – Wiki – SWI-Prolog
  6. You can even run it on a Raspberry Pi: Prolog on the Pi | scidata
  7. IBM used Prolog with the initial version of Watson. You can read about it here: Natural Language Processing With Prolog in the IBM Watson System – Association for Logic Programming
  8. One of the things Prolog was really good at. In some ways I think better than some standalone ML tools: Expert Systems in Prolog
  9. Lots of good links, here: The Power of Prolog | Hacker News
  10. I haven’t played around with this but it is worth considering:  Small Prolog – Managing organized complexity
  11. Finally, here’s 99 small problems that Prolog can solve.

Here’s a whole new list of Prolog links I found in the 2024 to add to this list:

  1. I found this helpful: how to get started using  prolog in visual studio code
  2. This person’s page has a lot of material on  Prolog and more
  3. How to process  rdf with prolog
  4. This is great: a fast way to learn  prolog in X minutes.
  5. An old piece on the power of prolog.
  6. How prolog helps do artificial intelligence.
  7. Relatedly, natural language processing with prolog.
  8. A simple tutorial on Tau Prolog
  9. Another intro to Prolog.
  10. How to  learn prolog language by creating an expert system.
  11. Here’s an expert sysem  repo. This one is a course advisor. This one does lung diagnosis. Here’s a  Music Suggestion Expert System.
  12. A good  Prolog CheatSheet.
  13. Something else to help with  Learning Prolog.
  14. More good tutorials on  the power of prolog. Also this.

 

Everything you want to know about COBOL, but were afraid to ask

Here’s 13 links to get you started learning more about COBOL. It’s got some old school stuff and some cool cloud stuff, too.

  1. Here’s a good piece that should convince you to get into COBOL: I Took a COBOL Course and I Liked It
  2. As is this: Don’t hate COBOL until you’ve tried it | Opensource.com
  3. Convinced? Try this: Build your first COBOL application – IBM Developer
  4. Or if you are an AWS fan: toricls/cobolambda: Serverless COBOL on AWS Lambda.
  5. More COBOL in the cloud: Learn how to run COBOL in a cloud native way – IBM Developer
  6. This site has tutorials….COBOL Tutorial – Tutorialspoint
  7. …and syntax information: COBOL – Basic Syntax – Tutorialspoint
  8. Here’s some useful source code: IBM/kubernetes-cobol: A Code Pattern to teach how to run a COBOL program on Kubernetes
  9. Here’s some perspective: On the past, present, and future of COBOL – Increment: Programming Languages
  10. More source: 3 open source projects keeping COBOL alive and well | Opensource.com
  11. More courses: COBOL Programming Course
  12. More on COBOL: Open Mainframe Project Helps Fill the Need for COBOL Resources – Open Mainframe Project
  13. Now you’re skilled, get yourself a mainframe! Get hands-on COBOL development experience with IBM Z software trials – IBM Developer

Send me a link to your Github repo once you are done and I’ll add it here!

P.S. Here some bonus links: