Author Topic: Prolog discussion and help  (Read 8260 times)

0 Members and 2 Guests are viewing this topic.

Ashbad

  • Guest
Prolog discussion and help
« on: May 14, 2011, 11:20:45 am »
While I'm not a prolog programmer, some here are prologgers, and so they deserve a thread (I too have dabbled in it from time to time)

Feel free to ask questions or post code here, someone will be sure to answer your questions speedily ;)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Prolog discussion and help
« Reply #1 on: May 14, 2011, 11:22:49 am »
What do you mean by prolog? Prologues that come before a game, or the <?xml prolog line in web pages?

If it's the second, I hate them. Nobody has any real reason to use quirks mode, anyway. It got outdated a decade ago :P
« Last Edit: May 14, 2011, 11:24:54 am by Deep Thought »




Ashbad

  • Guest
Re: Prolog discussion and help
« Reply #2 on: May 14, 2011, 11:24:13 am »
This: http://en.wikipedia.org/wiki/Prolog

I know a few members such as Qwerty are extremely fluent in this language, so it merits a thread for them ;)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Prolog discussion and help
« Reply #3 on: May 14, 2011, 11:25:05 am »
Yeah, I just LMGTFY'd myself and found that it's a language.... Whoops. Sorry 'bout that.
« Last Edit: May 14, 2011, 11:25:20 am by Deep Thought »




Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Prolog discussion and help
« Reply #4 on: May 14, 2011, 12:19:43 pm »
It looks interesting I might try learning it some day.
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Prolog discussion and help
« Reply #5 on: May 14, 2011, 03:45:49 pm »
I never heard of that one. At first I even misread the topic title as Pronog discussion and help.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Prolog discussion and help
« Reply #6 on: May 14, 2011, 03:46:39 pm »
Stop thinking of such things :P




Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Prolog discussion and help
« Reply #7 on: May 14, 2011, 09:12:11 pm »
DJ it is amazing to see where the minds of the staff on this site are...
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Prolog discussion and help
« Reply #8 on: May 14, 2011, 09:31:29 pm »
I know prolog and had to learn it for my compilers class.  Its probably one of the coolest languages ever since its so radically different than any other language I've ever seen.  Basically, you tell it rules about what a function should do and it will automatically find the algorithm to produce that solution!  It takes a while to get used to though since its such a huge paradigm switch.
« Last Edit: May 14, 2011, 09:31:46 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Prolog discussion and help
« Reply #9 on: May 14, 2011, 09:33:25 pm »
what would this language best be used for? It looks liek it could have some interesting applications
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Prolog discussion and help
« Reply #10 on: May 14, 2011, 09:57:20 pm »
Well, we used it for typing, which is assigning types to variables through inference rather than user specification.  Its also great for relational databases (like SQL) and it definitely has a lot of application with artificial intelligence and extracting meaning from sentences.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Prolog discussion and help
« Reply #11 on: May 14, 2011, 10:04:40 pm »
I'll definitely have to learn to use it some time.
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Prolog discussion and help
« Reply #12 on: May 15, 2011, 08:31:53 am »
Prolog sounds cool. I'm gonna have to take a look at it once I get through my LISP book.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Prolog discussion and help
« Reply #13 on: May 15, 2011, 11:01:28 am »
I know prolog and had to learn it for my compilers class.  Its probably one of the coolest languages ever since its so radically different than any other language I've ever seen.  Basically, you tell it rules about what a function should do and it will automatically find the algorithm to produce that solution!  It takes a while to get used to though since its such a huge paradigm switch.
That's pretty unique. I've never heard of a language that worked that way before. Interesting.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Prolog discussion and help
« Reply #14 on: May 15, 2011, 01:22:54 pm »
I've tried Prolog before, and it's pretty interesting :)
While we're on declarative languages, Haskell's cool too.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.