Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(playground) Can I run Logtalk from within the new Ciao Prolog Playground? #64

Open
Jean-Luc-Picard-2021 opened this issue Aug 18, 2022 · 5 comments

Comments

@Jean-Luc-Picard-2021
Copy link

Jean-Luc-Picard-2021 commented Aug 18, 2022

Can I place a Logtalk Prolog text here, and run it?

logtalk_anybody

For example this Logtalk example:

:- object(list).

    :- public(member/2).
    member(Head, [Head| _]).
    member(Head, [_| Tail]) :-
        member(Head, Tail).

:- end_object.

https://learnxinyminutes.com/docs/logtalk/

@jfmc
Copy link
Member

jfmc commented Aug 18, 2022

Not yet, but it will definitely be very nice.

@Jean-Luc-Picard-2021
Copy link
Author

Jean-Luc-Picard-2021 commented Aug 18, 2022

You could ultimately run fCube in Ciao Prolog Playground.
Why is there no Logtalk in SWISH, SWIPL WASM, etc.. etc..?

https://github.com/LogtalkDotOrg/logtalk3/tree/master/ports/fcube

@Jean-Luc-Picard-2021
Copy link
Author

Jean-Luc-Picard-2021 commented Aug 18, 2022

Would Logtalk be, could Logtalk be a bundle? Maybe I should read
the paper more closely, and not only look at the figure:

https://cliplab.org/papers/scasp-web-gde.pdf

Ok the paper says, and Ciao WASM itself is a bundle:

image

Whats the SWIPL equivalent, a pack?

@jfmc
Copy link
Member

jfmc commented Aug 18, 2022

Exactly. "Software packages" in Ciao are called "bundles" ("package" was taken for a different purpose in Ciao). SWIPL call it "packs". I'm not sure which system released and documented them before (but it does not really matter, none of us invented the concept). Our goals and needs were a bit different anyway.

@Jean-Luc-Picard-2021
Copy link
Author

Why keep open, the question was anwered:

Our goals and needs were a bit different anyway.

Whats wrong with you Ciao people?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants