Re: Printed representation of (char 0) ?

2024-02-15 Thread Thorsten Jolitz
Hi Alex and beneroth, there are system interfaces that don't handle binary data and send them as hex strings to middleware for conversion ... All I wanted was a quick way to cross check that conversion with PicoLisp, and that was really easy, except that NUL problem, solved now. But very

Re: Printed representation of (char 0) ?

2024-02-13 Thread Thorsten Jolitz
Hi Alex, Thomas, thanks for your input, this is actually what I was looking for : [image: image.png] or even better: [image: image.png] I wonder if there actually is a way to directly print ^@ in PicoLisp for a "non-printable" hex "00", instead of NIL? Wrt the application, I just have to deal with

Re: Printed representation of (char 0) ?

2024-02-12 Thread Thorsten Jolitz
Hi Alex, But shouldn't hex 23232424 print to something like ##^N^N$$ instead of ##$$ ? So the printed ASCII string (as char) carries all the information from the hex string, and can be converted back to the exact same hex string? At least in some special cases when it's needed? Alexander

Re: Printed representation of (char 0) ?

2024-02-12 Thread Thorsten Jolitz
13 Feb 2024 at 00:25, Thorsten Jolitz > wrote: > > I would like to achieve a roundtrip like this: > > why? > > NUL is often a string sentinel value > so trying to use it as a character value > will lead to issues > do not do that > > -- > UNSUBSCRIB

Re: Printed representation of (char 0) ?

2024-02-12 Thread Thorsten Jolitz
; "232320001010F000323032342D30322D303931302D35342D303520202424" : (length W) -> 72 Am Mo., 12. Feb. 2024 um 23:56 Uhr schrieb Tomas Hlavaty < picolisp@software-lab.de>: > On Mon 12 Feb 2024 at 23:25, Thorsten Jolitz > wrote: > > Shouldn't the (char

Re: Printed representation of (char 0) ?

2024-02-12 Thread Thorsten Jolitz
;5\" \"4\" \"-\" \"0\" \"5\" \" \" \" \" NIL NIL NIL NIL NIL NIL NIL NIL \"$\" \"$\"" although somehow I still think it would be fine to have 'pack that prints the NIL too, in this special case: : (pack (ma

Printed representation of (char 0) ?

2024-02-12 Thread Thorsten Jolitz
Hello List, it's been some time .. ;-) I'm playing around a bit with hex<->ascii conversion in PicoLisp, and I have the problem that (char 0) = NIL (hex "00") -> 0 : (char (hex "00")) -> NIL and disappears from the resulting ascii string. : (setq X

Re: org-mode with picolisp

2022-12-04 Thread Thorsten Jolitz
put :session test1 (if (> A B) (print A) (print B) ) #+end_src #+RESULTS: : 24 Am Mi., 30. Nov. 2022 um 23:14 Uhr schrieb Thorsten Jolitz < tjol...@gmail.com>: > Ah no, there was another file with 2 versions, led.l and eled.l for line > editing vim or emacs style. > Lik

Re: org-mode with picolisp

2022-11-30 Thread Thorsten Jolitz
Yes, and I added eedit.l to picolisp iirc, so one could chose between vim and emacs keybindings in the repl line editor. Inferior-picolisp.el is responsable for the picolisp repl in Emacs, so when starting it the user could choose between the 2 editing styles. You don't necessary see that repl in

Re: org-mode with picolisp

2022-11-30 Thread Thorsten Jolitz
Hi, I'm more or less responsable for PicoLisp in org-mode. Before diving any deeper, note the readme of GitHub - flexibeast/plisp-mode: PicoLisp support for Emacs : "The plisp-mode in this package has been built from scratch, and is not based on, nor

Re: PicoLisp Wiki: Embed Content?

2022-10-13 Thread Thorsten Jolitz
Hi Alex, thanks! And in case it's a personal private wiki one could even outcomment the new syntax element and eliminate the check for an schrieb am Do., 13. Okt. 2022, 08:24: > Hi Thorsten, > > > I thought about security too. I even would like to have 2 embed options, > > one only for iframes,

Re: PicoLisp Wiki: Embed Content?

2022-10-12 Thread Thorsten Jolitz
Hi Alex, simplification looks good, will test later. I thought about security too. I even would like to have 2 embed options, one only for iframes, the other for any html (produced by an external tool)

Re: PicoLisp Wiki: Embed Content?

2022-10-11 Thread Thorsten Jolitz
PS or better a check like this, then if the §{content} does not start with : > Hi Alex, > it's actually extremely easy to embed content in a picolisp wiki file, > when adding the syntax element from the PS 1 to wiki/lib.l : > §{ } > I added a little check for syntax user cannot insert any kind

Re: PicoLisp Wiki: Embed Content?

2022-10-11 Thread Thorsten Jolitz
Hi Alex, it's actually extremely easy to embed content in a picolisp wiki file, when adding the syntax element from the PS 1 to wiki/lib.l : §{ } I added a little check for =\^:$\\#}" T)) + (ht:Prin (till "^J123456&/!_*+-%~|<@>=\^:$\\#§}" T)) (NIL (setq C (char))) (T (and Nest

PicoLisp Wiki: Embed Content?

2022-07-17 Thread Thorsten Jolitz
Hi List, is there a way to embed content in a PicoLisp Wiki file? I can download the video, add it to the page, and then reference it by name @{}. But when sharing e.g. a youtube video, there is the "embed" option, that gives this iframe: https://www.youtube.com/embed/xEKHU4zCRpY; title="YouTube

Small error in httpGate doc

2022-07-12 Thread Thorsten Jolitz
Hi Alex, just tried to build httpGate on WSL2 and got an error: $ make gate make: *** No rule to make target 'gate'. Stop. First I thought it's some WSL2 peculiarity as usual, but I think it's just outdated documentation: The 'httpGate' Proxy Server (software-lab.de)

Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-19 Thread Thorsten Jolitz
//localhost:5000 Cheers Thorsten Am Mi., 19. Jan. 2022 um 14:43 Uhr schrieb O.Hamann : > Hi Thorsten, thanks for your solution! > > Just to be curious: > Did you try 127.0.0.1:5000 instead of localhost:5000 ? > Same pn-replacing effect? > > Regards, Olaf > > > On

Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-19 Thread Thorsten Jolitz
Hi Alex, yes, $NAME was the computername ("asuspn"), and by setting name to $ echo $NAME 5000 everything works, I even get the wiki page with CSS then like in the real wiki. So, problem identified and solved, thanks! Cheers Thorsten Am Mi., 19. Jan. 2022 um 17:56 Uhr schrieb Alexander

Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-19 Thread Thorsten Jolitz
*SesId (bye)) : 1549 * 2022-01-19 17:07:16 admin Am Mi., 19. Jan. 2022 um 14:43 Uhr schrieb O.Hamann : > Hi Thorsten, thanks for your solution! > > Just to be curious: > Did you try 127.0.0.1:5000 instead of localhost:5000 ? > Same pn-replacing effect? > > Regards, Olaf >

Re: Internal WIKI Links do not work on WSL2 Debian

2022-01-18 Thread Thorsten Jolitz
40895 20654634285828729~ : *Socket -> NIL : 1877 * 2022-01-19 00:00:37 admin 1883 = 57451 41629218673747370~ : Am Di., 28. Dez. 2021 um 23:42 Uhr schrieb Thorsten Jolitz < tjol...@gmail.com>: > Hi Alex, > yes, *ID is NIL when I debug it (see PS1). > I'm not sure how to debug (a

Re: Internal WIKI Links do not work on WSL2 Debian

2021-12-28 Thread Thorsten Jolitz
Hi Alex, yes, *ID is NIL when I debug it (see PS1). I'm not sure how to debug (app), but all global vars except *PID seem to be NIL ... I think it's a WSL2 localhost problem, not a bug in PicoLisp. Not too long ago I tried accessing the pil wiki server running on WSL2 from the Win10 Browser (say

Re: Internal WIKI Links do not work on WSL2 Debian

2021-12-28 Thread Thorsten Jolitz
more common ports, sth. like 8080 or so? > (in case there is some firewall mechanism blocking, or so?) > > Regards, Olaf > > > On 24.12.21 14:06, Thorsten Jolitz wrote: > > Hi List, > > I have the newest pil21 and the current picolisp wiki running on > > -

Internal WIKI Links do not work on WSL2 Debian

2021-12-24 Thread Thorsten Jolitz
Hi List, I have the newest pil21 and the current picolisp wiki running on - Win10 / WSL2 (Debian unstable) - Archlinux and while in both cases I do see the start page of the wiki on http://localhost:5000, only the external Menu links work on WSL2, not the wiki internal links (nor the login).

Re: Manually install (newest) PIL21 on Debian/WSL2

2021-08-24 Thread Thorsten Jolitz
Hi Mike, Hi Karl, yes shame on me, I somehow forgot temporarily that it's PIL21 now, ;-( Cheers Thorsten PS with this line from INSTALL: $ sudo apt install make clang llvm libreadline-dev libffi-dev libssl-dev pkg-config nbv3@nbox:~/bin/pil21$ (cd src/; make) nbv3@nbox:~/bin/pil21$ ./pil + :

Manually install (newest) PIL21 on Debian/WSL2

2021-08-22 Thread Thorsten Jolitz
Hi List, on Win10 with WSL2 and Debian unstable, I can install Pil21 by "sudo apt-get picolisp", and I get : nbv3@nbox:~$ pil + : (version ) 21.6.30 When I download the "rolling release" version, and try to install it locally, I'm asked to first install MAKE and CLANG. Then I get the error in

Re: Jitsi screen sharing issues

2021-07-26 Thread Thorsten Jolitz
Hi Alex, since I cannot attend every PilCon, I would not want to provoke a change that maybe causes problems for others that attend more frecuently. Otherwise it would of course be ok to try SSH again. For me, the jitsi problem was just that the shared screen comes and goes, and was mostly gone

Re: Jitsi screen sharing issues

2021-07-21 Thread Thorsten Jolitz
Hi Mansur, I had exactly the same issue the last 2 PilCons I attended, on Win10, with both Edge and Chrome. It almost makes no sense for me to attend that way, because I do not see what Alex presents. I read somewhere if someone with Android connects, the others get problems, but it seems

Re: PilCon tomorrow

2021-07-19 Thread Thorsten Jolitz
Hi Alex, I won't be able to participate during the whole meeting, maybe just half an hour, and I already was in the first meeting about the topic. But I have questions about distributed databases. Would it be possible to use Picolisp as "super fat client" by installing the server app on the

Re: PilCon tomorrow (Anatomy of Vip)

2021-04-19 Thread Thorsten Jolitz
Hi Alex, thanks for your effort here, I can follow your reasoning, emulating Emacs produces a lot of commands , which is not exactly in the spirit of simplicity, and one can just adapt it's workflow instead of adding more commands. But maybe I can reuse your code anyway! Cheers Thorsten Alexander

Re: PilCon tomorrow (Anatomy of Vip)

2021-04-18 Thread Thorsten Jolitz
Hi Alex, that is cool, a bit like in Emacs, where you work in a major mode buffer and eval expressions there, maybe sending the results to a repl buffer. What do you think about some more enhancements in that spirit: [X] eval atom [X] eval expression [ ] eval definition/form (?) [ ] eval region

Re: Native Calls with SEXP (a variant type, with subtypes for all R’s data structures).

2021-04-08 Thread Thorsten Jolitz
> So, if I understand correctly we could use the introspective power of > picolisp and write a {meta?}program to produce the "library" for Pil, and > then use this to call R from picolisp? > > -- > Cesar Rabak > > On Thu, Apr 8, 2021 at 4:14 PM Thorsten Jolitz wrote

Re: Native Calls with SEXP (a variant type, with subtypes for all R’s data structures).

2021-04-08 Thread Thorsten Jolitz
Hi Alex, after digging deeper in R Internals I found out that there are actually C access functions for the various subtypes of SEXP that can be wrapped with native too: rinc: (setupRinC) -> NIL rinc: (evalQuietlyInR "V <- c(1.5, 3.4, 4.2)") -> NIL rinc: (evalInR "V") -> 65007640 rinc: (REAL

Re: Native Calls with SEXP (a variant type, with subtypes for all R’s data structures).

2021-04-06 Thread Thorsten Jolitz
erse. > > The way to call R functions in picolisp would be to call the functions > made available through the API, in case of R a process similar to FFI using > as reference the include files, wouldn't? > > HTH > -- > Cesar Rabak > > > On Mon, Apr 5, 2021 at 4:30 P

Re: Native Calls with SEXP (a variant type, with subtypes for all R’s data structures).

2021-04-06 Thread Thorsten Jolitz
Hi Alex, thanks for the hints, I tried both, T and 'P as result values , the first gives a segment fault, but the second actually works: (de evalInR ("Cmd") (native `*RinC "evalInR" 'P "Cmd")) ## SEXP evalInR(char * cmd); rinc: (evalInR "print(6*4)") [1] 24 -> 65814160 If I use

Native Calls with SEXP (a variant type, with subtypes for all R’s data structures).

2021-04-05 Thread Thorsten Jolitz
Hello List, I wonder how to deal with the R SEXP Data structure in native calls. *"Technically, [a SEXP] is a pointer to a structure with typedef SEXPREC. A SEXP is a variant type, with subtypes for all R’s data structures"* E.g. - INTSXP: integer vector - LGLSXP: logical vector -

Re: Picolisp Outlook

2021-02-23 Thread Thorsten Jolitz
I'm just saying that it would be nice to have a Picolisp app that has a real demand and a little ecosystem around it ... Like e.g. Moodle or some CMS system, that probably have an ecosystem of PHP programmers around them, and many organisations using them (with need for some support). For them

Re: Picolisp Outlook

2021-02-23 Thread Thorsten Jolitz
Hi Alex, Alexander Burger schrieb am Di., 23. Feb. 2021, 09:33: > Hi Thorsten, > > > Maybe we should sponsor Alex (3 month work?) to build that "killer app" > > with the clear goals > > Hmm, no need to specially sponsor me, but thanks for the proposal! > > The problem is that such an app would

Re: Picolisp Outlook

2021-02-23 Thread Thorsten Jolitz
thon,R...) > > Greets > > > El lun., 22 feb. 2021 22:40, Thorsten Jolitz escribió: > >> Maybe we should sponsor Alex (3 month work?) to build that "killer app" >> with the clear goals >> >> - for all those millions of (data) scientists that

Re: Picolisp Outlook

2021-02-22 Thread Thorsten Jolitz
ke sense of the > data, to be able to filter, map and connect various formats and data > sources together - while requirements change all the time. > > I believe Picolisp Database is a tool outstandingly suited for this. > > On 22.02.21 17:04, Thorsten Jolitz wrote: > > hallo list,

Re: Picolisp Outlook

2021-02-22 Thread Thorsten Jolitz
hallo list, I always thought a "killer app" would be nice, to make those "killer features" popular, and I always thought that could be a "data science application builder" with 3 features: - easy data import into a Picolisp DB - ffi/java wrappers for many data science libs (Rmath, Weka, ...) -

Re: Call native wrapper function with double argument

2020-11-24 Thread Thorsten Jolitz
Hi Alex, thanks for your tips ... and patience! My lack of experience with C, Pointers and low level programming clearly shows in my questions, and most real world libraries of 'native' wrappers I find don't really implement complex C signatures, so I have to experiment myself. I'll try to digest

Re: Call native wrapper function with double argument

2020-11-23 Thread Thorsten Jolitz
quot;Incx" (4 . 'I) 0))(list "N" "Dx" "Incx") ) ) ## BLAS_extern int/* IDAMAX - return the index of the element with max abs value */ ## F77_NAME(idamax)(const int *n, const double *dx, const int *incx) # when INCX = 0

Re: Call native wrapper function with double argument

2020-11-17 Thread Thorsten Jolitz
Hi Alex, the wrappers with primitive arguments do work now when defined like this with transient symbols: (de pgamma ("X" "Y" "Z" "I" "J") (native `*LibRmath "pgamma" 1.0 (cons "X" 1.0) (cons "Y" 1.0) (cons "Z" 1.0) "I" "J" ) ) ## double› pgamma(double, double, double, int, int); With

Re: Call native wrapper function with double argument

2020-11-15 Thread Thorsten Jolitz
uot;X" 1000) '("Y" (1000 . 4)) '("Z" (1000 . 4)) "I" "J") ! (bt) ("pnorm_both" 2100 3200 4100 3 ..) "X" 2100 "Y" 3200 "Z" 4100 "I" 3 "J" 2 PS 2 1 # libRmath.l - (native) PicoL

Re: Call native wrapper function with double argument

2020-11-15 Thread Thorsten Jolitz
Hi Alex, this is strange indeed. I checked on Bash/Archlinux as well, same problem as Win Term / WSL2, so this is not about WSL or so. I can like you define a dummy wrapper, and debug it, and it looks fine: : (de foo (I J) (! native NIL NIL 1.0 I J)) -> foo : (foo 2 3) (native NIL NIL 1 I J) ! J

Re: Call native wrapper function with double argument

2020-11-14 Thread Thorsten Jolitz
ooks irrelevant here. So how do I specify a ## double pwilcox(double, double, double, int, int); signature correctly? Cheers Thorsten Am Fr., 13. Nov. 2020 um 17:15 Uhr schrieb Thorsten Jolitz < tjol...@gmail.com>: > Hi Alex, > yes that works with (cons X 1.0), I knew it was a triv

Re: Call native wrapper function with double argument

2020-11-13 Thread Thorsten Jolitz
Hi Alex, yes that works with (cons X 1.0), I knew it was a trivial problem. Thanks! Cheers Thorsten Am Fr., 13. Nov. 2020 um 08:00 Uhr schrieb Alexander Burger < a...@software-lab.de>: > Hi Thorsten, > > welcome back! :) > > > I'm playing around with the native function again (after a long long

Call native wrapper function with double argument

2020-11-12 Thread Thorsten Jolitz
Hello List, Hi Alex, I'm playing around with the native function again (after a long long time ;-) and somehow I don't manage to call a native wrapper with double arg. Using rmath from R, random value from poisson distribution:^ ## double› rpois(double); This works : (native "libRmath.so"

subscribe

2020-11-12 Thread Thorsten Jolitz

Re: Vip without [N]curses

2019-08-11 Thread Thorsten Jolitz
Alexander Burger writes: Hi Alex, >> (for termux I always have to adapt the first line in /bin/vip, >> i.e. replace /usr with termux $PREFIX, /data/data/com.termux/files/usr) > > This is no longer necessary if you install in Termux > >$ apt install termux-exec > > With that, hashbangs like

Re: Vip without [N]curses

2019-08-11 Thread Thorsten Jolitz
Alexander Burger writes: Hi Alex, > It should be a problem only on the first bootstrap. After you > downloaded the *.s > files once and got a running system, it will self-build from that time on. I could fix this now, maybe a rather Archlinux specific problem. Fist I figured out, that java

Re: Vip without [N]curses

2019-08-11 Thread Thorsten Jolitz
OpenJDK Runtime Environment (IcedTea 2.6.13) (Arch Linux build 7.u171_2.6.13-1-x86_64) OpenJDK 64-Bit Server VM (build 24.171-b02, mixed mode) > > > BR, > Geo > On Sunday, 11 August 2019, 09:54:04 pm GMT+9, Thorsten Jolitz > wrote: > > Alexander Burger writes:

Re: Vip without [N]curses

2019-08-11 Thread Thorsten Jolitz
Alexander Burger writes: Hi Alex, > more and more I got frustrated with all the quirks of Ncurses (as > discussed here > and in IRC), so I decided to abandon them, and implement Vip directly > with ANSI > escape sequences (VT-100). > > To my surprise this turned out quite easy, and the result

Re: Yet Another Emacs PicoLisp Mode - hybrid

2019-07-07 Thread Thorsten Jolitz
Grant Shangreaux writes: Hello Grant, > I would be happy to make > a pull-request into the tj64 version if it is welcome, and Alexis I > would be interested in helping to improve your version as well > (especially since it is the one listed on MELPA). > > Would be glad to hear from Emacs users

Re: Setup for Emacs org-mode?

2019-07-07 Thread Thorsten Jolitz
r...@tamos.net writes: Hi Rick, > Hi Lawrence, > > Welcome back to the list! > >> Anyone have the definitive setup they could share for picolisp on >> Emacs org-mode? > > AFAIK, there is no "definitive setup" in Emacs. > >> There seems to be two picolisp-modes > > Three is the count I have. > >

Re: PicoLisp on Windows WSL first tryout fails ...

2018-05-11 Thread Thorsten Jolitz
Joe Bogner writes: Hey Joe, > > For WSL, you need to build picoLisp on a linux machine and then transfer > it down. You can follow the download/install instructions, but here is > generally what I did maybe I don't really understand what you mean by transfer down, but in my

Re: Emacs mode can't run pil

2018-03-03 Thread Thorsten Jolitz
Lawrence Bottorff writes: Hi Lawrence, [just for the protocoll, I send you the identical answer on the org-mode mailing list already]. > I'm looking at picolisp -- and wondering how it works, or better, why it > doesn't really work work with babel. First problem, I couldn't

Re: Chinese input causes mess in the REPL

2018-02-04 Thread Thorsten Jolitz
Danilo Kordic writes: > GNU Emacs can be used as a line editor. Execute elisp expression > ``(term "/absolute/path/to/pil")'' then activate `term-line-mode' with > ``C-C C-j''. > > Is this of any help? How much does it count :) ? Cool! I did not know this ... --

Re: Which emacs mode to use?

2017-04-14 Thread Thorsten Jolitz
Tim Johnson writes: Hi Tim, > I note that my emacs (25.1.1 on ubuntu) will install and provide > 'picolisp-mode as an elpa package. I'm not the author of this mode, but I somehow took over maintainership (more or less) and did some contributions to the mode (in my github

Re: Method undefined - why?

2017-03-23 Thread Thorsten Jolitz
Thorsten Jolitz <tjol...@gmail.com> writes: > so somehow my understanding of read macros is false here: > > (class ~(any (pack '+ ClsNm))) Grrr ... of course when reading (de foo (ClsNm) ...) ClsNm is still NIL, so the outcome of the above is (class +) which can't work. Sorr

Re: Method undefined - why?

2017-03-23 Thread Thorsten Jolitz
Thorsten Jolitz <tjol...@gmail.com> writes: > Alexander Burger <a...@software-lab.de> writes: Ok, this works ;-) : (de foo2 (ClsNm MethNm) (class +Bar) (dm plus> (X) (+ 1 X))) -> foo2 : (foo2) -> plus> : (setq B (new '(+Bar))) -> $177641167640474 : (plus

Re: Method undefined - why?

2017-03-23 Thread Thorsten Jolitz
Alexander Burger writes: Hi Alex, >> : (de +Test >>(T (Hi) (=: hi Hi)) >>(hi> (Nm) (or (text (: hi) Nm) "Dear Sir or Madam,")) ) >> -> +Test > > .. while this is half of the lunch ... > >> : (hi> Foo "Alex") >> !? (hi> Foo "Alex") >> hi> -- Undefined # => WHY? >

Re: Method undefined - why?

2017-03-23 Thread Thorsten Jolitz
) > hi> -- Undefined ? Should it work? Does it work for others, but not for me? This would be my questions ... ;-) > On Thu, Mar 23, 2017 at 3:17 PM, Thorsten Jolitz > <tjol...@gmail.com> wrote: > > Hi List, > > playing around a bit wih Pil classes/objec

Method undefined - why?

2017-03-23 Thread Thorsten Jolitz
Hi List, playing around a bit wih Pil classes/object, here is something I don't understand: #+BEGIN_SRC picolisp : (de +Test (T (Hi) (=: hi Hi)) (hi> (Nm) (or (text (: hi) Nm) "Dear Sir or Madam,")) ) -> +Test : (setq Foo (new '(+Test) "Hi @1")) -> $176777024346263 : (hi> Foo

Re: JavaCode with static class methods

2017-03-04 Thread Thorsten Jolitz
Alexander Burger writes: Hi Joe, Hi Alex, >> I'm experimenting a bit with the 'java' function, and the StringBuilder >> ... >> (java "java.lang.Math" 'sqrt 4) > > It needs a different call: >: (java "java.lang.Math" 'sqrt (-6 . 64.0)) thanks for the hints, so

JavaCode with static class methods

2017-03-02 Thread Thorsten Jolitz
Hi List, I'm experimenting a bit with the 'java' function, and the StringBuilder and GregorianCalendar example from the JavaCode Wiki entry work fine, but I wonder how to use a constructorless class like e.g. java.lang.Math with its static class methods? #+NAME: JavaCode - none of these work

Re: PicoLisp as Femto extension language

2016-09-05 Thread Thorsten Jolitz
Thorsten Jolitz <tjol...@gmail.com> writes: Hi List, [funny enough, in GNUS Ricks posts to this thread don't show up for me, while I can see them in the www.mail-archive.com, so I follow up to my own post instead of his.] My original idea was to compile Femto as shared library, crea

PicoLisp as Femto extension language

2016-09-04 Thread Thorsten Jolitz
Hi List, recently I found out about Femto, a minimal Emacs implementation in less than 2k lines of C (including ncurses, though): , | git clone https://github.com/hughbarney/femto.git ` , | Femto is an extended version of Atto Emacs. | | In Defining Atto as the lowest functional

Re: Extending the wiki markup syntax

2016-03-09 Thread Thorsten Jolitz
Alexander Burger writes: Hi Alex, Hi List, thanks for the cool tractatus and the as always very interesting views about wiki markup. I don't know if I should mention it, because it's in a raw state and I don't have much time to polish it now, but as you know there does

Re: Emacs REPL not "full-featured"?

2016-01-01 Thread Thorsten Jolitz
Lawrence Bottorff writes: > I've got a REPL started in Emacs (called from ELPA version of picolisp > major mode with run-picolisp), but I'm noticing it doesn't have such > features as more, edit, what, etc. Starting picolisp from the command > line with pil is however

Re: org mode picolisp?

2015-12-29 Thread Thorsten Jolitz
"O.Hamann" writes: Hi All, as the author of of ob-picolisp I should make some smart comment now, but I'm afraid I cannot add much to the discussion, the former answers explained it all very well. As the answers show, the library still seems to work fine, so the original

Re: Single File Function Reference

2015-10-17 Thread Thorsten Jolitz
writes: Hi List, > There are two books about picolisp available, one containing also the > reference [...] Thought I'm not absolutely sure that the reference in > there is on the newest current state, maybe someone else can > confirm/deny this. The function reference

Re: Let and Glue

2015-08-10 Thread Thorsten Jolitz
Rick Hanson cryptor...@gmail.com writes: Hi Rick, Here is a problem (again!) with using a pil backquote expression, where the user, like you or me, is stuck on CL-unquote thinking. Let's call g again, but now we switch the places of the dates and times. In this case, we might expect the

Re: Let and Glue

2015-08-09 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, sorry for being thick as a brick ... Well, 'bind' is the evaluating version of 'let'. It could be used to implement the outher functions. I'll check that out. What you probably mean is something different. It is a different way of

Re: Let and Glue

2015-08-09 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@gmail.com writes: Hi Alex, When I quote the reference: , | A single backquote character ` will cause the reader to evaluate | the following expression, and return the result. | | : '(a `(+ 1 2 3) z) | - (a 6 z) ` it looks to me as if the difference

Re: Let and Glue

2015-08-09 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, uhh ... bad timing from my side, writing more confused question while you are actually answering them at the same time... Either : (let X (+ 2 3) (list 3 4 X)) # I would prefer a simple 'list' - (3 4 5) or : (let X (+ 2 3)

Re: Let and Glue

2015-08-09 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@gmail.com writes: Hi List, This comes pretty close to what I was looking for, thanks. The only drawback is that normal parens (and double quotes) are very common in text so a lot of escaping would be necessary. Something like this: (g Current temperature in Berlin

Re: Let and Glue

2015-08-08 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, I wonder how I can use local variable X inside of the 'glue' argument list: , | : (let X (+ 3 4) X) | - 7 | | : (let X (+ 3 4) (glue '(Number X `(- 4 9 | - Number X -5 | | : (let X (+ 3 4) (glue '(Number `X `(- 4

Re: Let and Glue

2015-08-08 Thread Thorsten Jolitz
Rick Hanson cryptor...@gmail.com writes: Yeah, sorry. I had this on the mind -- a different animal altogether. $ sbcl * (let ((X (+ 3 4))) `(hello ,X ,(- X 9))) (HELLO 7 -2) Maybe I was confused by Emacs Lisp a bit too: , | (let ((x (+ 3 4)) | (y (+ 5 6))) | `(+ 5 x ,y))

Re: Let and Glue

2015-08-08 Thread Thorsten Jolitz
, you have to thanks Guillermo R. Palavecino in the first place, since he wrote it: , | ;; picolisp-mode: Major mode to edit picoLisp. | ;; Version: 1.3 | | ;;; Copyright (c) 2009, Guillermo R. Palavecino | ;;; Copyright (c) 2011, 2012 Thorsten Jolitz ` I just became the (rather

Re: Open Sound Control

2015-07-30 Thread Thorsten Jolitz
! Rob On Thu, Jul 30, 2015 at 1:26 PM, Thorsten Jolitz tjol...@gmail.com wrote: Erik Gustafson erik.d.gustaf...@gmail.com writes: Hi Erik, https://github.com/erdg/picolisp-osc If interested, more info about OSC can be found here

Re: Open Sound Control

2015-07-29 Thread Thorsten Jolitz
Erik Gustafson erik.d.gustaf...@gmail.com writes: Hi Erik, https://github.com/erdg/picolisp-osc If interested, more info about OSC can be found here: opensoundcontrol.org/introduction-osc opensoundcontrol.org/spec-1_0 I find the combination of sound picolisp very interesting, are you

Re: Property lists and keywords in PicoLisp

2014-11-05 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, In PicoLisp, a property list cannot be seen separated from a symbol. After all, these are properties OF a symbol. It is just an implementation detail that they are a list internally. not in PicoLisp, but e.g. in Emacs Lisp there are

Re: Property lists and keywords in PicoLisp

2014-11-03 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, using flat property lists with keywords like , | (:a b :c d) ` as data (not as a symbol's property list) is pretty common in e.g. Emacs Lisp and elsewhere. In Clojure the keywords even work like functions AFAIK I feel

Property lists and keywords in PicoLisp

2014-11-01 Thread Thorsten Jolitz
Hi List, using flat property lists with keywords like , | (:a b :c d) ` as data (not as a symbol's property list) is pretty common in e.g. Emacs Lisp and elsewhere. In Clojure the keywords even work like functions AFAIK , | (:a Lst) - b ` These 'stand-alone' property lists

Strange PicoLisp site

2014-10-27 Thread Thorsten Jolitz
Hi List, have you seen this website: , | http://www.picolisp.org/ ` Its a nice looking website, but I cannot see no connection to PicoLisp whatsover. Or does 'picolisp' have other no technical meanings to native English speakers? Even the camel case they use is the same as in

Re: Strange PicoLisp site

2014-10-27 Thread Thorsten Jolitz
:49 AM Thorsten Jolitz tjol...@gmail.com wrote: Hi List, have you seen this website: , | http://www.picolisp.org/ ` Its a nice looking website, but I cannot see no connection to PicoLisp whatsover. Or does 'picolisp' have other no technical meanings to native English speakers

Re: Strange PicoLisp site

2014-10-27 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, I think the above site is evil. so the message to take home is that evilness might come along with a pretty attractive appearance ... -- cheers, Thorsten -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: The many uses of PilMCU

2014-10-08 Thread Thorsten Jolitz
Christophe Gragnic christophegrag...@gmail.com writes: Hi Christophe, This thread is meant to collect ideas about PilMCU. At least mine (because I need to clean them up a bit) and ideas of other PicoLispers (out of curiosity). Maybe some items will look more like questions like «is it even

Re: Programming environment for PilMCU

2014-09-22 Thread Thorsten Jolitz
this answer your inquiry? Thanks! Yes, thank you! This stuff is exciting, but a bit new for me too ... On Monday, September 22, 2014 5:29 PM, Thorsten Jolitz tjol...@gmail.com wrote: Alexander Burger a...@software-lab.de writes: Hi Alex, Assuming PilMCU hardware exists and someone wants to use

Re: PicoLisp roots

2014-09-21 Thread Thorsten Jolitz
jerome moliere jer...@javaxpert.com writes: Thanks for your quick reply... Is there a guide explaining major differences between Common Lisp PicoLisp ? I guess, reading your answer , that there 's no just a few syntactic differences between the 2 dialects ... I can read between the lines

Re: Announce: PicoLisp in Hardware (PilMCU)

2014-09-19 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex (and George), we are proud to announce PilMCU, the Lisp Machine on a Chip! :) though not really a hardware/low-level guy, I think this sounds pretty exiting! How shall we proceed? We need investors (or crowdfunding) to polish,

Re: Announce: PicoLisp in Hardware (PilMCU)

2014-09-19 Thread Thorsten Jolitz
Loyall, David david.loy...@nebraska.gov writes: The Internet would like to run this locally. Would you post the verilog source and build files? Or a link to a repository? I think this has the potential to make a very nice and successfull kickstarter project, so why not try to build a

Re: Announce: PicoLisp in Hardware (PilMCU)

2014-09-19 Thread Thorsten Jolitz
Loyall, David david.loy...@nebraska.gov writes: From: Thorsten Jolitz Loyall, David writes: The Internet would like to run this locally. Would you post the verilog source and build files? Or a link to a repository? I think this has the potential to make a very nice and successfull

Re: Announce: PicoLisp in Hardware (PilMCU)

2014-09-19 Thread Thorsten Jolitz
Christophe Gragnic christophegrag...@gmail.com writes: On Fri, Sep 19, 2014 at 10:53 PM, Loyall, David david.loy...@nebraska.gov wrote: If you sell a FPGA configured to be an open source Lisp CPU, I'll buy a few Someone on Hacker News: «where's the kickstarter page? I want a few of those.»

Re: (index 'any 'lst) implementation

2014-09-03 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, I see that the index function evaluates the entire lst before searching for a match. Wouldn’t it be more efficient to evaluate the elements of lst one by one, testing the result for a match, and only proceed with evaluation of the next

Re: try picolisp

2014-09-02 Thread Thorsten Jolitz
Christophe Gragnic christophegrag...@gmail.com writes: On Mon, Sep 1, 2014 at 10:02 PM, Thorsten Jolitz tjol...@gmail.com wrote: could you elaborate on this a bit? Sorry, I cannot give you better info that what is in the ref: http://www.tcl.tk/man/tcl8.6/TclCmd/interp.htm#M4 thx

Re: try picolisp

2014-09-01 Thread Thorsten Jolitz
Christophe Gragnic christophegrag...@gmail.com writes: Hi Christophe, On Mon, Sep 1, 2014 at 5:52 AM, Tomas Hlavaty Or simply call something that crashes PicoLisp, e.g. […] Here comes the power of embedded interpreters, which PicoLisp does not have. could you elaborate on this a bit? --

Re: try picolisp

2014-08-29 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: Hi Alex, Is it hard to implement minimalist version of minipicolisp in browser ? Like http://tryclj.com/ ? In addition to the proposed solutions involving JavaScript versions of PicoLisp: Perhaps not many people are aware that standard

Re: Documentation again

2014-08-27 Thread Thorsten Jolitz
Alexander Burger a...@software-lab.de writes: I think you'll know the function http://software-lab.de/doc/refD.html#doc I mostly use it directly from a shell window, with a script 'doc' in my executable path #!/usr/bin/pil @lib/debug.l (raw T) (doc (opt) (opt)) (bye)

  1   2   3   >