Hello CILz :-)
You are now subscribed
Hello list !
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Dear list,
I take the opportunity of this first post to introduce myself as well as
the reasons for which I come here.
I am not a computer scientist nor a professional web developper but a
kind of "power user" who often gets its hands dirty to build some
applications as close as possible to
Hello,
Let's say that I have those two facts in a pilog database:
(be age (Paul 18))
(be age (Vincent 17))
I'm looking for the guy under 18 with this rule:
(be underage (@X)
(age @X @Y)
(< @Y 18))
If I ask (? (underage @X)) the result here is -> NIL where I expect to
get @X=Vincent.
If
Thanks for this Joe. However I will need to investigate as I don't know
Picolisp enough yet. My purpose is first to translate Prolog queries to
Pilog in a Prologish/Pilogish way.
Le 12/11/2016 à 16:23, Joe Bogner a écrit :
Untested, but what about using range/3 ?
http://software-lab.de/doc/re
Hi Alexander,
Thanks for this answer. It works nicely. I will take my time to
understand it thoroughly.
Best.
Le 12/11/2016 à 16:27, Alexander Burger a écrit :
Hi Eric,
(be underage (@X)
(age @X @Y)
(< @Y 18))
'<' is a Lisp function and not a Pilog rule. To embed a Lisp expression
Hi,
This is mostly a copy/paste of Alexander's answer below in the form of a
short how to. I haven't seen such a one on the wiki, so may be it can
find its way there. However I'm too young here to take such a decision ;-)
==
**How to access a Lisp function from Pilog**
Let's say tha
Hi Alex,
I've just created an account on the wiki however I think I can't add
something in the reference part. I think that this how-to could fit very
well here:
http://software-lab.de/doc/ref.html#pilog
to illustrate the last part which starts with " Pilog can be called from
Lisp and vice
Hum ! I just noticed that I may have been too friendly here, sorry. I
wanted to say "Hi Alexander". My apologies. Best, Eric
Le 13/11/2016 à 21:32, CILz a écrit :
Hi Alex,
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hi Joe,
I just try your solution. Yes 'range/3' is a Pilog predicate hence
available for any Pilog rules.
It looks like it returns T if:
@Y =< 18 and @Y >= 0, in the case '(range (0 . 18))' rather than @Y < 18
and @Y > 0. Hence, to get the people under 18 similar to '(< @Y 18)' in
Lisp, I n
y and especially
Alexander is extremely helpful.
I recommend again to join us in IRC :)
- Original Message -
From: CILz [mailto:cilz...@cilzone.fr]
To: picolisp@software-lab.de
Sent: Sat, 12 Nov 2016 15:45:03 +0100
Subject: First post
Dear list,
I take the opportunity of this first po
Neo4j is the graph database behind www.gdpr-ui.eu . Neo4j is really
powerfull and its query language cypher is damned simple to start with!
'vivace-graph' looks interesting, I will have a look at it... Thanks.
Best,
Eric
Le 14/11/2016 à 13:24, Brad Collins a écrit :
A graph database written
Hi Brad,
In fact we already have "a-kind-of" graph database! Isn't Prolog all
about relation? And Pilog is Prolog on top of PicoLisp, no?
When we write:
(be person (Vincent))
(be person (Mia))
(be loves (Vincent Mia 2015))
we define a relation called 'loves' between two 'person
I do not understand your second question. Can you reformulate it?
Maybe with an example?
2016-11-16 7:59 GMT+01:00 CILz <mailto:cilzone@cilzonefr>>:
Hi Brad,
In fact we already have "a-kind-of" graph database! Isn't Prolog
all about relation? And P
Hello,
Thanks for all your suggestions/ideas regarding using PicoLisp DB as a
kind of graph database. I now have to experiment...
Best,
Eric
Le 17/11/2016 à 23:17, andr...@itship.ch a écrit :
Declarations: I have now experience in actually using any graph databases.
One could simply store
Hi,
Done! Initial version here:
http://picolisp.com/wiki/?accesstolispfunctionfrompilog
I hope it's a right place!
Best,
Eric
Le 14/11/2016 à 15:55, Alexander Burger a écrit :
Wiki would be much better, wouldn't it?
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hello,
I'm trying to translate a small Prolog programme into Pilog however I'm
stuck on some basic things. For example, how would you translate this
Prolog term:
intro :-
write("somme text ...").
which yields to (in Swi-Prolog):
?. intro.
somme text ...
true.
Best,
Er
Hello Alex,
Thank you very much, that's it.
In fact, I have tried this solution before asking on the list, however
as I am still not very fluent in Lisp I have written :
: (be intro
(prin "Hello world\n") )
without the two >> () << at the beginning of the defintion of the
predicate!!
Is there a way to have something similar to 'read' in Pilog?
Thanks,
Eric
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Alex, thanks for being so patient! I came up with this:
(be p_read ()
(^ @ (read)) )
which looks to work so far ;-).
However I wonder if there is a way to catch and unify the read value to
a variable.
For example in Prolog the predicate 'read/1' allows to catch in
'read(Value)' where 'Val
Alex, you rock! Thanks very much. Eric
Le 23/11/2016 à 20:23, Alexander Burger a écrit :
: (be read (@X)
(^ @X (read)) )
-> read
: (? (read @A))
(foo bar)
@A=(foo bar)
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hello,
Thanks to your help so far, I have built a small expert system in Pilog
which works interactively on the terminal. A question is displayed, the
user is asked to answer by 'y' or 'n' and in turn a new question is
displayed or the result of the process.
Now I want this to work on in the
Hello guys,
I'd be happy to help on that task. If anyone else want to step up on
this let's join our forces.
Best,
EricC
Le 24/01/2017 à 07:49, Alexander Burger a écrit :
Dear PicoLispers,
is anybody able and interested to do the French localization of PicoLisp?
Unfortunately it is still
Hi,
I've been overbooked the past few weeks because of a new job. Hence
nothing new on my side, sorry.
However, I will find time if Roman need help or if he wants to share the
work between us.
Best,
Eric
Le 02/03/2017 à 02:50, Raman Gopalan a écrit :
Dear Alex, greetings! :)
> How is th
Hello folks,I guess it's microAlg which you can find here: http://microalg.info/I' dont know if there is an english translation of the website which is french.Best,Eric
Dear Guys,I'm trying to use pil builtin database as a kind of "dataframe" like the one in the R language.My database only holds rectangular data and is setup like this:(class +Agenda +Entity)(rel id (+Key +Number))(rel date (+date))(rel year (+Idx +Number))
Hi Alex,
Thanks very much for helping.
So far I've done the mods to the database rel you suggested and I have this
query:
(? (select (@A) ((year +Agenda 2019) (week +Agenda 32) (same 2019 @A year)
(same 32 @A week)) )
which works and gives me results like these:
@A = {1643}
...
@A = {1731}
Now
Alex,
Thank you very much, I'll try all these this evening when back at home !
Best,
Eric
Envoyé de mon BlackBerry - l'appareil mobile le plus sécurisé - via le réseau
Orange
Message original
De: a...@software-lab.de
Envoyé: 3 octobre 2019 08:25
À: picolisp@software-lab.de
Répo
Gear Guys,
This mail is a kind of follow-up to the thread started here:
https://www.mail-archive.com/picolisp@software-lab.de/msg09124.html .
Based on Alex's tips I have set up my database like this:
(class +Agenda +Entity)
(rel id (+Key +Number))
(rel date (+Ref +Date))
(rel mag
Hello Alex,
Thanks for this message.
Le 09/10/2019 à 21:08, Alexander Burger a écrit :
Hi Eric,
thanks for sharing your code!
As far I could see on a first scan, it looks very good.
The result starts with "Wednesday" instead of
"Monday" as for the week 41 or other weeks!
The values have n
Hello everybody,
Is there any way to have a web app watch a file and update itself (as
well as what is displayed by the browser) as soon as the file is changed?
And also can I have this same page automatically be reloaded when the
current date change for example?
If so, do you have any exam
Hi Alex,
Thanks for these directions. I will try them out!
Best,
Eric
Le 22/11/2019 à 16:31, Alexander Burger a écrit :
Hi Eric,
Is there any way to have a web app watch a
file and update itself (as well as what is
displayed by the browser) as soon as the file
is changed?
Yes, I think the
Hi Mike, All,
Thanks for these tips. I was not aware of: pil @lib/test.l +
to check the installation.
Here, I'm using Manjaro Linux and Picolisp can be installed from the Aur
repo with:
yay -S picolisp
however it installs version (18-9-1) which is not up to date!
Install from source works
Hello guys,
I too would be happy to "attend" such a virtual meeting ;-)
Take care, best
Eric
Le 22/04/2020 à 08:13, George-Phillip Orais a écrit :
Same here, as lurker and amateur PicoLisper, I love to join and the
attend this online PilCon 2020, thank you Alex!
BR,
Geo
--
UNSUB
Hi guys,
FYI EU Lisp 2020 is online now here: https://www.twitch.tv/elsconf
This could gives us some ideas for our own PiLCon 2020.
Best,
Eric
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Congrats! Thank you very much for your hard work. PicoLisp has been my
best friend during this quarantine :) Best, Eric
Le 01/05/2020 à 15:41, Alexander Burger a écrit :
Hi all,
pil21 reached the first milestone:
It passes the bignum tests in @misc/bigtest :)
Next goal is self-bootstrap
☺/ A
Hi Guido,
I would love to see some (toy?) code example about this if you have some...
Thanks in advance, best,
Eric
Le 06/05/2020 à 09:27, Guido Stepken a écrit :
You all might have heard about 'pilog' a Prolog like AI system within
Picolisp, where you can define rules, describe a situation a
Le 06/05/2020 à 15:19, Guido Stepken a écrit :
Sorry, no tutorial handy ... i only have the full code, which i don't
want to publish ...
Too bad!
May be you can devise a tiny example to help us (at least the very noob
like me) figure out what you're meaning with this awesome statement
"Pic
Le 06/05/2020 à 16:38, Guido Stepken a écrit :
> May be you can devise a tiny example to help us (at least the very
noob like me) figure out what you're meaning with this awesome
statement "Picolisp is the only language in the world, that can reason
about database contents!"
It's all perfect
Le 06/05/2020 à 17:44, Guido Stepken a écrit :
Je ne veux pas faire sursauter trop tôt nos collègues lecteurs des
États-Unis. Peut-être tu veux attendre quelques semaines de plus
jusqu'à ce que des choses importantes soient décidées au niveau de l'UE.
Mais je peux toi assurer que des parties
Hi list,
I finally managed to install pil21 on my manjaro distro ;-) And yes I got:
(version) -> (21 0 0)
However I've noticed that there is no more matching parenthesis in debug
mode. Am I missing something/doing something wrong?
Best, Eric
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?
Yes perfect! Thanks Alex
Le 25/11/2020 à 10:44, Alexander Burger a écrit :
set blink-matching-paren on
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hello guys,
I' m just a hobbyist here, but if you're ok, this is my 2 cents.
As it has already been written by many, Picolisp has already many
features that are IMHO killing features:
- simplicity
- the integrated web server + client library,
- the integrated NoSQL database + the integrated
Thank you very much Alex!
Regards,
Eric
Le 09/07/2021 à 19:30, Alexander Burger a écrit :
Hi all,
On Fri, Jul 09, 2021 at 09:07:16AM +0200, Alexander Burger wrote:
I could try to explain the three layers (external symbols, index trees and
entity/relations).
Several people asked in IRC and P
43 matches
Mail list logo