On Monday, May 29, 2017 at 5:22:11 AM UTC-7,
burs...@gmail.com wrote:
> What are new prolog programmers, do you mean new prolog systems?
>
> I don't see a problem, I am doing the same as GNU-Prolog:
>
> Jekejeke Prolog 2, Development Environment 1.2.2
> (c) 1985-2017, XLOG Technologies GmbH, Switzerland
> ?- X is 12/4.
> X = 3.0
>
> GNU Prolog 1.4.4 (64 bits)
> Compiled Apr 23 2013, 16:05:07 with cl
> By Daniel Diaz
> ?- X is 12/4.
> X = 3.0
>
> Could you be more specific please?
Sure , gprolog might do that but you can't use conformance with the herd to justify your behaviour when the herd is so easily demonstrated to be so negligent and committed to their disregard for what prolog is trying to teach them . You all love to be in a special class because using the "artificial intelligence" language but only because you think it is pathway of of confirmation whereby you can now believe the "intelligence" is yours ; said "intelligence" as a second but most important consideration now fuel for you to tell me (for example) that I am always wrong or a "complete idiot" or whatever .
For example ,
$ gprolog
+ gprolog
GNU Prolog 1.4.4 (64 bits)
Compiled Apr 29 2013, 20:42:46 with gcc
By Daniel Diaz
Copyright (C) 1999-2013 Daniel Diaz
| ?- A = 36'enum .
uncaught exception: error(syntax_error('user_input:1 (char:14)
unexpected newline'),read_term/3)
You might be better off using ecklips , for example .
Ecklips is a wonderful piece of software , but again "perfected with a new vision" because providing many great and exciting "new" features to prolog , yet lacking the consideration of an implementation of "goal_expansion" or "term_expansion" for example . Such functionality available otherwise in ecklips through ecklips-specific features sure but why bother ? I just don't use ecklips at all (unfortunately) , they couldn't even be bothered to imitate readline with their repl , obviously they have little concern for my pragmatik experience , instead for example being too concerned with achieving the latest manifestation of the new prolog :
<PRE>
ECLiPSe Constraint Logic Programming System [kernel development]
Kernel and basic libraries copyright Cisco Systems, Inc.
GMP library copyright Free Software Foundation, see legal/lgpl.txt and join our mailing list to discuss the viral implications you face because using that library in this binary statically linked to that code ,
[?-] ([user]) .
(foo,bar)
:-
(baz,qux)
.
tty stream input:1:
trying to redefine a built-in predicate in (',') / 2
%^D
</PRE>
Demonstrating , for example , the new prolog problem by showing the (commonplace) feature whereby the "new prolog programmers" insistence is upon on a dimunitive interpretation of (A :- B) as meaning (FUNCTION_HEAD :- FUNCTION_BODY) and enforcing tht upon all users in the name of "efficiency" .
Don't try to tell anyone that though they'll just tell you you are "wrong" because not conformant to "tradition" . You can't for example have a discussion with a prolog programmer vis a vie the use of ':' to mean 'else' in bash , nope they all know ``;`` means ``else`` as evidenced by the >>actual output manifest as their code<< but they'll all preach to you the herd knowledge that ``;`` means disjunct , as evidence by the >>actual nonoutput manifest as the shit they spew out of their mouths to seem important and wise<<
but never use it for that meaning in anything they do . It's easy to survey the field of >>what they do<< they hardly do anything so it doesn't take a lot of effort .
As a another general purpose answer watch me join 12 mailing lists and be told 12 different times that I am stupid because expecting functionality from ...
(
\+ (L1 , L2) , L3)
)
:-
(
(\+ L1) ; (\+ L2) ; (\+ L3)
)
.
... stupid a valid judgement from others because being (obviously) non-conformant to the "Covenant" that promised them infinite acceptance in the world of their "prolog peers" via conformance to a "style" guide that didn't miss the opportunity to insult the "student" and thus giving them free license to adopt a condescending and dismissive attitude towards all others non-conformant to the "style" they so conveniently were able to learn by simply being adherents to the "code" presented to them as the simple thing they could imitate to become a "logic" programmer publishing papers to assure "tenure" now superior to for example "those idiots without the Logical Variable" .
The point of course was SLD-resolution ... as the more erudite may have noticed but have been unable to comment on with working code because unable to reproduce a single thing about SLD resolution except via a png image because requiring the facilities of LaTeX in order to reproduce the __appearance__ of what has come before them .
And please do not believe for example that the production of "working" code utilizing "SLD Resolution" is as simple as creating some kind of bullshit non-terminating non-steadfast garbage like this and then running it on an "SLD-resultion based system" (i.e. "prolog") like swi-prolog :
is_list(_foo_)
:-
_foo_ = []
;
_foo_ = [_head_foo_|_tail_foo_]
,
is_list(_tail_foo_)
.
... another inappropriate use of ``is`` for example and perhaps "garbage" because for example having committed the horrible sin of placing the punctuation nicely lined up on the left of the terms (apparently acceptable in the case of the '';'' (I click on
https://groups.google.com/forum/#!searchin/swi-prolog/Jan$20kintalken%7Csort:date/swi-prolog/e3gpRgwax3I/44wv6MoLBAAJ to join the google psycholigcal profiling scheme) ... ``;`` at the beginning of the line but not other punctuates because reminding us that ``;`` means else) ... but more important not having anything to do with SLD resolution because being in all 12 example implementations with mailing-lists referred to earlier provided by a prolog system created by a "new prolog programmer" SURE NOW A MEMBER OF THE VIRTUOUS CLUB "THE logic PROGRAMMER" but note the implementation produced has __nothing whatsover to do with SLD resolution__ and in fact is more concerned with production of an imperativ stack-machine virtual machine code easily converted into C because efficiency , hence _FUNCTION_HEAD_ :- _FUNCTION_BODY_ and ':-' means "implies" instead of ( _PRECEDENT_SYNTACTIC_ :- _CONSEQUENT_SYNTACTIC_ ) and 'implies' means whatever the fuck you want to mean so we use "turnstile" instead (for example) ... which is why I want the DEC-10 source code , I'm interested in working BACKWARDS towards the goal , the goal being for example to obtain for myself a prolog system in which I can use op to make functional the example of the first prolog program presented in "The birth of prolog" a quirky and irrelevant paper that I happen to like very much depite the fucking language of the frog . Try making THAT example work via conversation had on the swi-prolog list but I warn you use an alias for your user identity because they will ruin your reputation for life and then ban you from their list for having paid them too many deep and heartful respectful compliments "I learned more prolog from your date implementation ... " , never mind .
I might have a unique perspectiv on this because of how I __learned__ prolog starting about 2 years ago ; having done about 4 hours of research on the internet I realized that Richard O'Keefe was the man and also that the game afoot with the "logic" program was to never use the ``!`` -- having no understanding of what the ``!`` meant whatsover I then tried to find a good textbook from within the realm of the "logic" program via theft of everything I could find via bittorrent etc and the review of the material -- after discarding EVERY SINGLE TEXTBOOK I found after less than 1 hour of consideration , rejected becauzse obviously promoting code that is "non-logical" , known to me to be non-logical via simple anlysis available to me even though I had no operational knowledge of prolog whatsover . That is not a comment on the nonsuitability of those Textbooks , you might want to blame the textbooks for failing to advance the art of the logic program you should instead blame the "quasi-artists" responsible for actually achieving the result , quasi in that case means "kill the thing to the right of you" . I then proceeded to spend 6 months smoking tobacco and staring at the ocean while I thought things through and then the next 6 months producing about 200,000 lines of prolog code on the basis of the approach whereby I "figured it out" by interacting with the operational prolog system named "vim" .
Of course SOMETIMES I tried it out in some prolog implementation or other but really that is just a frustrating and tiresome process of mutilating your original syntax until finding something acceptably parsable by that particular prolog implementation -- for example Ecklips has a very funny error message something like "That text is too complicated to understand . Try using it in the toplevel instead" .. an error message I got so tired of seeing that I just stopped using Ecklips altogether (again , with deep regret , Ecklips is beautiful) and ultimately leading me to the thought "what the fuck kind of implementation of prolog am I using whereby the toplevel uses a DIFFERENT PARSER than otherwise?" at first making me doubt the intelligence (not really) of the Ecklips authors but then realized by me subsequently to be a consequence of the fact that the Ecklips team was able to achieve a more functional and performant parser by implementing the toplevel-parser in Java instead of C ... of course they didn't implement their prolog system in prolog , why would anyone do that ???!? (BTW , I would really like the DEC-10 code if anyone has it , I'll pay you money , PM me for details) .
The point is the syntaktikal , semantik , and pragmatik achievements of prolog because being a "natural language parser" have been obliviated because become the syntaktikal , semantik , and prgagmatikl achivement of a bunch of assholes.
For example please remeber when I say "it is true that false is worthy of more respect and admiration than all of you" but also for example consider the following comment on a program submitted to the community by <s>anne-hah</s> (.i.e. via "TeX") ...
https://stackoverflow.com/questions/44164557/calculating-arithmetically-in-prolog-on-lists/44172441?noredirect=1#comment75451605_44172441
"""
Look, call/N has been here since 1984. But it did not make it into the 1995 standard because so many (including system implementors) did not understand it at that time.
"""
well wouldn't I fucking love to find out with those >>idiot<< implementors who >>can't understand<< had for their "semantics" before call encouraged them to butcher those same semantics and encouraged them to adopt a syntax more limited than Algol ?
call obviously is not difficult to understand being the basic trophe of the "functional" language , so perhaps the incompaibility was that a funktor in mathematics has necessarily at least 2 arguments ?
BTW if you think "..[name|arguments]" is evil then you are a fucking idiot , .c.f. the (relatively recent) thread titled "``..`` as considered via reference to my experimentation with DEC-10 prolog" as discussed elsewhere on the waste of time that is this usenet news group .
And you know I have to be careful to intersperse comments like "Ecklips is beautiful" and "false is wonderful" because what for me is aesthetik and a profound respect for the human intellect is for you is a weapon -- you interpret every criticism I make as my promotion of the target of my weaponary as a new target for you to blame . the fact is , if I am critical of another it is because I respect them , if I am insulting to them it is because I hope they will laugh at my need to utilize the common vernacular (.i.e. they always complain about the weather) to make my point . So for example I insult false because false is beeyond reproach , an exception to that as general rule is that every insult I deliver about the author of swi-prolog is a genuine and heartfelt excursion into a long-term game plan -- asshole .
Or look at my answer to weav's baby in the above link , which currently stands with an approval rating of ``-1`` ,so just scroll to the bottom opf the article --- an approvoal rating which will obviously teach ME a lesson . Don't bother changing the backtracking numbers in that link before you click it stackoverflow only wants to obtain a complete psychological and operational profile of you because they love you .
I have come to realize now that my future with prolog has nothing to do with you , or anyone else on this usenet "group" , or anyone on stackoverflow or whatever . I tried to approach that "community" with a desire to share learning together , and dare I say it , perhaps I did commit the nonforgivable sin of becoming so egotistical as to for example imagine myself as TEACH by promoting my new syntax in the vain attempt to gain for myself a legion of loyal followers now visible to the world as my progeny because having adopted some trick of syntax or understanding that I dared to be the originator of ? In any case I am sick of the insults and the weird ego-shaming I experience whenever I get near any of you . Let's all be HAPPY when we receive our GOLD STARS for ENFORCING THEIR MODALITY via censorship of our unworthy peers .
> SWI-Prolog does something else:
>
> Welcome to SWI-Prolog (threaded, 64 bits, version 7.5.5)
> SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free LGPL-protected software.
> ?- X is 12/4.
> X = 3.
swi-prolog is so different with custom features that in my opinion it is irrelevant as a reasonable consideration in this discussion .
swi-prolog is GOOD for the "bozolog" programmer because the documentation is EXCELLENT and swi is a very fine fellow but not very good for learning from the restrictions given to us by the prolog intelligence because too wildly disconnected from the prolog semantiks [%36'footnote;] .
~~ kintalken ~~
[%36'footnote;] like I said , long-term game plan .