CodeArchaeology
  • Home
  • Languages
  • Encyclopedia
  • Blog
  • Getting Docker
  • About

Declarative

Hello World in Prolog

January 2, 2026 prologlogic-programminghello-worldbeginnergetting-starteddeclarative

Every programming journey starts with Hello World. Let’s write our first Prolog program and get our first taste of logic programming.

The Code

Create a file named hello.pl:

1
:- write( …

Read more →

CodeArchaeology

Exploring programming languages from the popular to the obscure - proving they all still run on modern machines

Quick Links

  • Home
  • Languages
  • Encyclopedia
  • Blog
  • Getting Docker
  • About

Recent Languages

  • AWK
  • SNOBOL
  • Raku
  • Dylan
  • Perl

© 2026 CodeArchaeology. All rights reserved.

Built with Hugo | Examples on GitHub