On Tue, Apr 19, 2022 at 4:56 PM Alexander Burger wrote:
>
> I wanted to do that, but Mr. Twitter did not allow me to install a PicoLisp
> sandbox on his server.
I guess you could still watch for tweets sent to this account and make
it post a reply.
You may not even need to use the API:
https://de
Thanks.
For those who don't follow this wonderful channel 3Blue1Brown,
here is a Wordle solver explained:
https://www.youtube.com/watch?v=v68zYyaEmEA
chri
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hi!
My personal thoughts below
Le dim. 21 févr. 2021 à 17:57, a écrit :
> ... where do you see the future of Picolisp in the years to come?
>
People willing to use it will use it. People not aware of it or not wanting
to use it will not use it. That's all.
Alex just made a "coup de maître" rei
On Mon, Feb 10, 2020 at 5:06 PM Jon Kleiser wrote:
>
> Hi Alexander and the rest,
Hi Jon,
Just a big thanks, 3 months later, to you Jon.
You were very helpful and unlocked many possibilities for my project
that used EmuLisp.
Maybe we'll see you at PilCon 2020 that we'll have to organize remotely.
On Wed, May 6, 2020 at 3:11 PM John Duncan wrote:
>
> Just wanted to tell you how much I appreciate your work. I hope you find a
> blowhard like Guido amusing and not too irritating. I get the impression he’s
> hardly written a line of code in his life, and that was probably in Java.
Just wante
On Tue, Apr 28, 2020 at 8:48 AM Jean-Christophe Helary
wrote:
>
> Definitely. Maybe the day before ? A short rehearsal for all the people who
> have presentations to see if things work well ?
I was thinking about having much more time before the event.
Like at least a month or two but I don't ha
On Tue, Apr 28, 2020 at 7:44 AM Alexander Burger wrote:
> We used Jitsi a lot during the last weeks. I have tried up to only 5 members
> so
> far, but performance was good. Beneroth has set up his own server. I don't
> know
> how well it scales for more members, and what can be done to optimize
On Sun, Feb 16, 2020 at 12:12 AM C K Kashyap wrote:
>
> Thanks Alexa friend of mine recently made a RISC V processor using fpga
> and it got me intrigued by the whole FPGA thing ...perhaps a picolisp machine
> may be possible :)
Hi,
Did you know about this?
https://www.mail-archive.com/pico
On Wed, Apr 17, 2019 at 12:18 AM wrote:
>
> Too bad. I'm curious now if there was a predecessor to Python as the
> mandated computer language. If so, what was it?
Hi,
Say 5% of the high school teachers used only calculators for
programming (yeah, Texas Instr Basic or Casio Basic),
5% used Scra
On Sun, Apr 14, 2019 at 8:07 PM cilz wrote:
>
> 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.
Hi, very glad that MicroAlg left some memories here and there!
The website, all the keywords,
Thanks Arie for the good work, that was very informative.
You should be proud of the "go on with the result of the survey" answer.
chri
On Tue, 17 Jul 2018 9:25 pm Alexander Burger wrote:
> Hi Arie,
>
> > please find all survey results attached. Since a lot of comments were
> given
> > it maybe
On Mon, Oct 16, 2017 at 3:25 PM, Alexander Burger wrote:
> This is just unnecessary overhead, as 'let' is basically 'bind' (or 'use' to
> be
> more correct) plus 'setq'. And 'X' is bound already by the function call. So
> why
> waste time and (stack)space?
Because I thought that setq would stor
On Sat, Oct 14, 2017 at 7:48 AM, Alexander Burger wrote:
> You are close :)
Hi Alex,
Thanks, I'm making some progress at last!
A personal lesson:
when meta-programming, I should make more use of pp.
> I would do this:
>
>(de decar Lst
> (def (++ Lst)
> (let Var (++ Lst)
>
Hi list! (ha ha, a list…)
Could someone provide me with a function which looks like 'de
but is not 'de itself. Let's call it 'decar.
With de:
(de myfn args
# here args is the list of the unevaluated args that were
# given when calling myfn
)
With decar:
(decar myfn arg
# here arg is the
On Wed, Sep 27, 2017 at 5:51 AM, Alexander Williams
wrote:
> Sure, see json.l here:
> https://github.com/aw/picolisp-json/search?l=Common+Lisp
Thanks.
Maybe you could report those as being picoLisp files?
https://github.com/github/linguist/
Don't know how to fix this though...
chri
--
UNSUBSC
On Tue, Sep 26, 2017 at 7:28 AM, Alexander Williams
wrote:
> Hi all,
Hi everyone,
> GitHub provides the ability to search by language as well, but their
> algorithm doesn't always correctly identify PicoLisp code - probably due to
> incorrect coding style (*cough* like mine *cough*). Topics howe
On Mon, Jul 31, 2017 at 4:07 PM, Nehal wrote:
> Dear PicoLisp programmers,
>
> Hi! I am Nehal, a new PicoLisp learner and programmer from India.
Hi Nehal, hi India !
> I am currently working on making simple, easy to begin with PicoLisp
> Documentation for school students. […]
This is great. In
On Wed, Jul 12, 2017 at 8:36 PM, Jimmie Houchin wrote:
>
> I didn't know if PicoLisp provided a solution without complicating every
> function which uses multiplication and division.
Yes, the */ function:
http://software-lab.de/doc/ref_.html#*/
I think you just have to provide 1.0 as the last par
On Wed, May 24, 2017 at 9:10 PM, Jakob Eriksson wrote:
> I enjoyed the writeup
I did too. Sometimes I really enjoy unnecessary things.
Like this video, that I could watch several times in a row:
https://www.youtube.com/watch?v=5d7aruKYkKs
laughing to tears.
Welcome to this list Jimmie.
chri
-
On Wed, Feb 8, 2017 at 12:13 PM, Alexander Burger wrote:
>> I'm thinking of Python's `if __name__ == '__main__' and Perl's unless
>> (caller) {...}
>
> I don't know Python and Perl well enough. But perhaps 'once' is what you think
> of?
>
>(once (load "xxx.l"))
No, it's different.
In Python
Hi all,
On Fri, Jan 27, 2017 at 7:01 PM, dean wrote:
> I've got this filtering function
>
> (de fltr (Buf Ln)
>(setq New_buf (mapcar '((Ele) (pack (tail (- (length Ln)) (chop Ele
> (filter '((Ele) (pre? Ln Ele)) Buf
I'm not an expert, I just want to warn and maybe be confir
On Thu, Dec 15, 2016 at 2:22 PM, Alexander Burger wrote:
> Hi Christophe,
>
>> Trying to port tests to miniPicoLisp I needed to copy some
>> definitions from lib/misc.l from pico to mini, and this is what I found:
>>
>> 1) Many definitions don't appear in pico. Is it intented ? If so, why ?
>
> Do
Hi,
Trying to port tests to miniPicoLisp I needed to copy some
definitions from lib/misc.l from pico to mini, and this is what I found:
1) Many definitions don't appear in pico. Is it intented ? If so, why ?
2) Discrepancy in the $dat implementation:
mini
(format (pack (car S)))
On Wed, Dec 14, 2016 at 2:53 PM, Alexander Burger wrote:
> Hi Christophe,
>
>> In lib/test.l I read:
>> «««
>> Local usage:
>> # ./pil lib/test.l -bye +
>> »»»
>>
>> Shouldn't it be
>> «««
>> bin/pil lib/test.l -bye +
>
> Not really. The bin/pil script is a template to be copied or linked to
> /u
Hi,
In lib/test.l I read:
«««
Local usage:
# ./pil lib/test.l -bye +
»»»
Shouldn't it be
«««
bin/pil lib/test.l -bye +
»»»
or «./pil ../lib/test.l -bye +» or anything like that?
Also, I humbly suggest (once again) this kind of target in the makefiles:
«««
test:
$(bin)/pil $(lib)/test.l -by
On Mon, Dec 12, 2016 at 7:35 AM, Alexander Burger wrote:
>> I can compile with the bnd[99] trick, until some better idea is found.
>
> Oh! Does this mean that you allocate 99 entries on each call? This expoldes
> the
> stack size :) And still might be too small if you e.g. 'apply' a longer list
Hi,
I'm back at tweaking miniPicoLisp for it to be compilable by Emscripten.
I'm re-reading posts from a discussion we had:
http://www.mail-archive.com/picolisp@software-lab.de/msg04447.html
It's been 2.5 years now! I'm now a bit stronger in C and can
understand some more bits.
So I opened up my
On Sun, Dec 11, 2016 at 7:31 AM, Joh-Tob Schäg wrote:
> One does not simply say that the pil interpreter is misunderstanding.
Indeed, but I think that here Dean was talking about his own misunderstanding.
> Secondly does 'pack fix your problem?
(pack Fn) would indeed be simpler than (glue "" Fn
On Sat, Dec 10, 2016 at 10:48 AM, dean wrote:
>
> For now...most of my programming has been in Powerbasic though I have done
> some C++, Perl and Tcl so...yes {} == scoping to me.
Interesting, since Tcl is lispy.
Strictly speaking, {} are not about scope in Tcl but about quoting.
In Tcl, [f arg]
On Fri, Dec 9, 2016 at 7:58 AM, Bruno Franco
wrote:
> P.S.
> I'm still new to picolisp, so don't take any of what I say as gospel. And if
> anyone
> can confirm or expand on what I've said, I'd appreciate it a lot.
I'm not a veteran but let me expose what I once understood.
> I think that, in ge
On Sat, Dec 3, 2016 at 10:54 PM, Bruno Franco
wrote:
> I just wanted to point out that (doc 'need) for version 15.11.0 seems to
> miss something.
> […]
> I also wanted to ask if this kind of topic was appropriate for the mailing
> list. It seems so small that I wouldn't want to bother everyone jus
On Thu, Nov 24, 2016 at 1:24 PM, Alexander Burger wrote:
> Hi Dean,
>
>> : (T (== 1 1) T)
>> !? (T (== 1 1) T)
>> T -- Undefined
>> ..
>> i.e. I'm assuming this is a...
>> "A list is evaluated as a function call, with the CAR as the function
>> and the CDR the arguments to that function. These arg
On Tue, Nov 22, 2016 at 11:29 AM, dean wrote:
>
> Also I read that ' is a macro for quote but I couldn't produce a '
> equivalent of ((quote (X) (* X X)) 9) i.e.
>
> : ((quote (X) (* X X)) 9)
> -> 81
> : (('(X) (* X X)) 9)
> !? (('(X) (* X X)) 9)
> NIL -- Undefined
> ?
> : (('X (* X X)) 9)
> !? ('
On Mon, Oct 31, 2016 at 9:57 PM, Jon Kleiser wrote:
> Hi Chri,
Hi Jon,
> This is how you build ersatz/picolisp.jar, and at the same time get the
> complete PicoLisp.java source:
> cd into the ersatz/, the do "pil mkJar +".
Things I already knew:
1) I knew the purpose and how to use mkJar but m
Hi PicoLispers,
My question:
Is there any documentation about the building of the Ersatz jar ?
I guess all the keys are in the mkJar file but I'm lost reading it.
Background:
I'm mostly using a JavaScript version of PicoLisp: EmuLisp and
since Jon Kleiser has not much time to extend it further, I
On Wed, Jun 8, 2016 at 2:08 PM, Lawrence Bottorff wrote:
> So, what would the best way to learn picolisp be for a total beginner?
Hi all,
As written in its introduction,
(This is not a Lisp tutorial, as it assumes some basic knowledge of
programming, Lisp, and even PicoLisp.)
http://software-lab.
If you need more portability and don't need the DB, you could
use miniPicoLisp.
And what about Ersatz ?
chri
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
On Tue, Mar 29, 2016 at 5:37 AM, Erik Gustafson
wrote:
>
> Regarding A/B testing... I'll confess I've never done any before.
Me neither. This was a joke!!!
> This is my first project to make it to production, if you will.
> Do you have a favorite set of tools or methods for that?
No, sorry. The
On Sat, Mar 26, 2016 at 8:04 PM, Erik Gustafson
wrote:
>
> Sure, I'm very open to suggestions. Any you have in mind? I'll probably
> browse Google fonts, for better or worse :)
It seems to me that any will do better than the default one
(or did you specify something more precise than «monospace»?
On Fri, Mar 25, 2016 at 7:55 PM, Erik Gustafson
wrote:
> The general theme of the feedback was that there is too much text,
> not enough super simple code examples […].
Indeed. I'm no PicoLisp expert but I don't know nothing either, and
the first code example seems convoluted.
Maybe there should
On Thu, Mar 24, 2016 at 9:49 PM, wrote:
> Please host the stylesheets on
> picolisp.com instead of using tracking CDN.?
I only see fonts (or infos about fonts + fonts) being retrieved from
fonts.googleapis.com, no CSS,
Although I may agree with this tracking defect, I guess retrieving
them from
On Tue, Mar 8, 2016 at 9:45 PM, Mike Pechkin wrote:
> hi,
Hi Mike,
> in the beginning of year I've wrote special preface for Forth or coding in
> general. In memory of Descartes. It describes zero step before coding.
> in Russian:
> https://medium.com/@tankfeeder/preface-8ea1e99d46f1#.yziufldc6
Hi all,
These are primarily questions for Alex, but I'm interested
in the answers of other people too.
I'm a big fan of PicoLisp even if I only scratched the surface yet,
since I don't use the server or the DB.
I know most of the heavy PicoLisp users here rely extensively
on the server and the DB
On Thu, Dec 31, 2015 at 12:37 PM, Alexander Burger wrote:
>
> A better idea: Why do you bother with ErsatzLisp at all? If you don't
> have Linux or another POSIX system, instead of starting the Java-VM you
> might as well start a Linux-VM and run real PicoLisp with all features,
> and at full spee
Hi all,
On Tue, Dec 29, 2015 at 8:44 AM, Alexander Burger wrote:
>
> Partial documentations? Questions why it is not fully implemented?
Indeed. But anyway, here you have another question:
«why is it not implemented at all?» !
Maybe you could add those binary functions to the
«There is no suppor
On Tue, Dec 29, 2015 at 11:40 PM, Rick Hanson wrote:
> I admit that I didn't watch the video;
You should ! The guy is funny.
Alternatively you can read a page where I translate every step to PicoLisp:
http://galerie.microalg.info/profgra:tests:y_combinator
with live code samples (runnable and twe
Hi all,
Sorry for this cryptic subject. I couldn't find a better one.
So here is a snippet:
http://pastebin.com/ydJj2DUU
(also as an attached file and pasted at the end of this email).
It's from this video:
https://www.youtube.com/watch?v=FITJMJjASUs
that I'm trying to translate to PicoLisp.
Cou
On Sun, Dec 27, 2015 at 10:18 AM, Alexander Burger wrote:
> Hi Christophe,
Hi Alex,
>> Is there a reason why 'wr is not included in Ersatz?
>
> It is simply because the whole family of binary I/O functions is not
> supported.
>
> The plain 'wr' would be quite trivial to implement, but then there
Hi,
This may be more a question for Alex.
Is there a reason why 'wr is not included in Ersatz?
Or am I missing something?
chri
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
On Mon, Dec 21, 2015 at 10:58 PM, Erik Gustafson
wrote:
> Hi,
>
> […]
>
> The built-in 'wr' does just that - writes raw bytes to the current output
> channel.
Indeed. I missed this one. Thanks.
Oops, it seems that Ersatz doesn't have it.
On Mon, Dec 21, 2015 at 11:12 PM, Loyall, David
wrote:
>>
On Mon, Dec 21, 2015 at 9:13 PM, Mike Pechkin wrote:
>
> code is here:
> https://bitbucket.org/mihailp/tankfeeder/src/4449cee7f84899243d8ce2799779caf3457f7cc2/random.l?at=default&fileviewer=file-view-default
>
> the *only* source of info from google:
> http://www.imagemagick.org/discourse-server/v
On Mon, Dec 21, 2015 at 2:43 PM, Mike Pechkin wrote:
> hi,
>
> bitmaps from (rand) from pil32 and pil64
> done by "convert" from ImageMagic soft.
>
> now looks ok.
> http://imgur.com/a/bYaAr
Interesting.
Could you please provide some more details? Like:
* the PicoLisp code
* Are pixels pure w
On Fri, Dec 18, 2015 at 7:17 PM, Erik Gustafson
wrote:
> Sure thing! I'll send a few screenshots when I'm back at my computer in a
> couple hours.
I brutally «saved as» a local version then uploaded it here:
http://fezzik.free.fr/picolisp/
chri
--
http://profgra.org/lycee/ (site pro)
http:/
On Mon, Dec 14, 2015 at 9:05 AM, Alexander Burger wrote:
>
> So, yes, it is executed on the server. This feature opens up the server
> completely, so it is better not enabled on a publicly accessible system.
Hi all, hi Alex.
Maybe the job could securely be done by EmuLisp. But:
1) EmuLisp lacks
Hi,
My host of choice is quite nice but doesn't allow me to
run my own processes. Everything must live behing Apache.
I guest most people on this list run their own servers but
maybe you'll have some answers to these two questions:
1) Is it possible to serve a PicoLisp app behing Apache?
2) Do you
On Sun, Dec 13, 2015 at 6:51 PM, Erik Gustafson
wrote:
> Hi all,
>
> Awesome! Thanks for the feedback. Glad you all like it :)
I liked it too. Very nice work.
I tried to investigate how you embed the REPL but no luck.
Could you explain please? Are the exprs executed on the server?!?
> […]
>
> Re
Hi dear list,
I wanted to share the first lines (already quite a few) of a work in progress.
I watched this video quite a long time ago:
https://www.youtube.com/watch?v=FITJMJjASUs
and wanted to see how a PicoLisp version would look like.
See what I've done so far here:
http://galerie.microalg.inf
Thanks for the announcement.
On Wed, Nov 4, 2015 at 3:03 AM, Raman Gopalan wrote:
>
> [4]: https://www.adafruit.com/products/284
http://www.4star.it/ worked better for me.
chri
--
http://profgra.org/lycee/ (site pro)
http://delicious.com/profgraorg (liens, favoris)
https://twitter.com/profg
Hi list.
They even spelled it correctly !
https://github.com/github/linguist/pull/2449#issuecomment-112829159
See one of your repos or this one:
https://github.com/Microalg/Microalg
chri
--
http://profgra.org/lycee/ (site pro)
http://delicious.com/profgraorg (liens, favoris)
https://twitter.co
Hi list,
Is there a way to have just "^" in PicoLisp ?
I read the docs, and especially this section:
http://www.software-lab.de/doc/ref.html#transient-io
and didn't find an answer to my question.
Maybe it would be nice to add this corner case to the examples ?
chri
--
http://profgra.org/lycee/
On Wed, Apr 29, 2015 at 7:38 AM, Alexander Burger wrote:
>
> The problem is that you focus too much on pil32. I regard pil32 as
> obsolete! The "standard" system for reference is pil64.
Ouch. I thought about asking you this question concerning pil32,
but maybe I didn't want to hear the answer I a
On Tue, Apr 28, 2015 at 7:58 PM, Alexander Burger wrote:
> Hi Christophe,
Hi Alex.
> Is it really so important that the random generators give the same
> results?
Not so much important indeed, not crucial, but very interesting!
> I had never intended that. The reason is that the random generat
On Tue, Apr 28, 2015 at 8:38 AM, Alexander Burger wrote:
>
> Good, but this is not completely correct. It stores the reduced 32-bit
> value in 'Seed'. I think 'Seed' must keep the full 64-bit value.
Indeed. I'm not used to read lines with interleaved affectations.
> I changed it to
>
>return
On Tue, Apr 28, 2015 at 8:35 AM, Alexander Burger wrote:
> Hi Christophe,
> […]
>n = (Seed >>> 32) % n;
>
> should it be OK?
Yes. It works. Great.
> Thanks for the input!
Thank you for considering it !
The 2)b) of my big email (april, 26th) of this thread was not answered but
I'll copy pas
Dear list,
In seed, line 3310 of fun.src, I'd suggest a 32 bits shift then a cast
to an int for the result to conform to the docs:
http://www.software-lab.de/doc/refS.html#seed
n = (int)((initSeed(ex.Cdr.Car.eval()) * 6364136223846793005L) >>> 32);
chri
--
http://profgra.org/lycee/ (site pro
On Mon, Apr 27, 2015 at 8:01 AM, Alexander Burger wrote:
> […]
> A shift of 32 bits, however, would not suffice, because
> it would put the sign bit of the original 64-bit number into the MSB of
> the result.
OK, I understand.
I have some more ideas to try to make the behaviors of
(rand m n) in
On Sun, Apr 26, 2015 at 5:48 PM, Alexander Burger wrote:
> Hi Christophe,
>
> […]
>
>> return n>=0? n*2 : -n*2+1;
>>
>> This ensures the return value is non negative (?).
>> But why would not the result overflow?
>
> Yes, it may overflow. The above operation is to keep the sign bit in bit
> zero o
Hi,
Still struggling. I'd like some help to find my mistake trying to understand
the Ersatz version of initSeed. The source is here, if you don't have it handy:
https://code.google.com/p/picolisp/source/browse/ersatz/sys.src#234
final static long initSeed(Any x) {
Means it gives back a signed 64
On Thu, Apr 23, 2015 at 11:12 AM, Jon Kleiser wrote:
>
> Feel free to give it a try. As EmuLisp uses JavaScript numbers,
> 6364136223846793005 is too many digits, but you may find a way around it.
Progress is being made.
I use this JS lib for arbitrary big integers:
https://github.com/defunctzom
at 10:50 PM, Christophe Gragnic
wrote:
> Now the question. I found discrepancies between PicoLisp:
> : (rand 1 1000)
> -> 1
> : (rand 1 1000)
> -> 934
> : (bye)
>
> And Ersatz
> : (rand 1 1000)
> -> 1
> : (rand 1 1000)
> -> 967
> : (bye)
>
> I
Hi all,
The next paragraph gives a bit of context. If you are bored you can
skip it and go directly to the technical question.
I use PicoLisp to implement a pedagogical language, directly
embedded in PicoLisp. In an exercise about dices, I noticed a
kind of similarity among the results of my stud
Hi Alex, hi Joe.
On Mon, Mar 16, 2015 at 9:41 AM, Alexander Burger wrote:
> Hi Christophe,
>
>> but with Ersatz. Has it been done ? If not, would it involve:
>> 1) the use of the -server function in http.l
>
> I haven't thought about this in depth. 'server' might be ported to
> Ersatz perhaps, by
Hi list,
I'm investigating a way to be able to fire up a static file server
like in Python:
python -m http.server 8000
but with Ersatz. Has it been done ? If not, would it involve:
1) the use of the -server function in http.l
2) grab the path of the requested file
3) read the file and send it to
Hi,
I thought some people here might be interested by this:
https://github.com/kanaka/mal
Excerpt from the readme:
«««
Mal is a learning tool. See the make-a-lisp process guide. Each
implementation of mal is separated into 11 incremental, self-contained
(and testable) steps that demonstrate core
On Fri, Mar 13, 2015 at 4:32 PM, Alexander Williams
wrote:
> Everyone's comments are valid, but we need to remember:
>
> For PicoLisp's user base to grow, lowering barriers to entry should be the
> first priority.
The choice of the repo wouldn't have any effect on pure picolisp users,
but on deve
Hi list.
I discovered this several weeks ago and thought this afternoon
that it may interest some of you.
Put this in .vim/ftdetect/lisp.vim
au BufNewFile,BufRead *.l set filetype=lisp
Then this in your .vimrc
let g:lisp_rainbow = 1
" for things like +-*/><= to stay white:
hi def lispFunc cter
On Sat, Jan 24, 2015 at 9:07 AM, Alexander Burger wrote:
>> Now when the code of the user/dev contains a mistake, the location
>> of the error is always at the line where `my_while` is called and not in its
>> body at the line of the mistake.
>
> I'm not sure I understand the problem.
I thought i
Hi,
I was trying to avoid the «? prompt» in case of an error.
I know that this REPL is sometimes useful, but not for my use case.
I eventually succeeded with (de *Err (bye)).
During this journey, I noticed a few things.
About *Err, the doc says in:
http://www.software-lab.de/doc/refE.html#*Err
«a
Hi all,
I emulated a «while» loop with a function defined with a `de`, say `my_while`.
It has a body that allows a user defined body (the user is a developer!)
to be executed, thanks to 'run.
Now when the code of the user/dev contains a mistake, the location
of the error is always at the line wher
On Sat, Nov 22, 2014 at 8:37 AM, Alexander Burger wrote:
> Hello list,
Hello !
> I'm opposed to syntax highlighting of symbols in PicoLisp.
Wao, this is quite an introduction for a post on the list !
I guess that it is not spontaneous and may be triggered by a discussion on IRC?
> As I underst
Hi Alex,
I was staring at this magnificent piece of code, say in this file:
https://code.google.com/p/picolisp/source/browse/src64/flow.l
and was wondering why and how some pieces of code didn't have parens.
My guess about the «why»: since its an assembler, there is no need for
a tree of instructio
On Wed, Nov 5, 2014 at 7:53 AM, Alexander Burger wrote:
> Hi Christophe,
Hi Alex, hi all.
> I can assure you that 'conc' always evaluates its first arg.
OK, then the reason why there is no need to quote A in the example at:
http://www.software-lab.de/doc/refC.html#conc
is that A is not really n
Hi,
Maybe I should tell my problem as a whole.
I'm implementing a embedded language in PicoLisp.
I'm currently implementing lists with objects:
# Internals
(class +Liste)
(dm T (ELTS)
(=: elts ELTS) )
(dm push> (elt)
(conc (:: elts) (list elt)) ) # this doesn't work
# Interface with
I just realised that my first email has been truncated !!!
Strange as, in my gmail, when I reply to myself, I have the email in
its entirety:
(I just added http://www.arduino.cc/ )
On Tue, Oct 7, 2014 at 10:36 PM, Christophe Gragnic
wrote:
> Hi list !
>
> […I delete the part you already
Hi,
On Wed, Oct 8, 2014 at 1:30 PM, Alexander Burger wrote:
>
> That's right. I'd gladly do it if somebody pays me for a couple of days
Alex, maybe crowdfunding would be a solution, even for this kind of
«small» task !
chri
--
http://profgra.org/lycee/ (site pro)
http://delicious.com/profgr
Hi list !
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 possible?»!
(This email took me at least two weeks of careful draf
On Mon, Sep 22, 2014 at 11:26 AM, wrote:
>
> Maybe you don't even need a crowdfunding project, if we find enough people
> this way?
It really can't hurt. Maybe it could even ×10 (or more) the founds.
On Mon, Sep 22, 2014 at 8:09 PM, Heow Goodman wrote:
> If we're talking small potatoes, I'm su
On Fri, Sep 19, 2014 at 10:53 PM, Loyall, David
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.»
I'd buy a few too.
chri
--
http://profgra.org/lycee/ (site pro)
http://delicious
On Fri, Sep 19, 2014 at 7:08 PM, Loyall, David
wrote:
>
> The Internet would like to run this locally.
Yes !
> Would you post the verilog source and build files? Or a link to a repository?
Now PicoLisp should not be jealous of BF anymore:
https://github.com/briandef/bf16
(Quite funny that Alex
Hi,
I was wondering how easy it was to pass floats to java libs from Ersatz,
and also maybe receive some and rescale them to ints.
I can't find anything about this in the docs of Ersatz or in
srborlongan's project:
http://picolisp.com/wiki/?JavaIterop
Thanks for having read this maybe silly questio
On Wed, Sep 3, 2014 at 2:56 PM, Alexander Burger wrote:
>
> What you describe here is call "lazy evaluation". While some languages
> support this, PicoLisp (like most other Lisps) doesn't.
> […]
> The fundamental rule of Lisp function calls (a function recursively
> evaluates its arguments before
On Tue, Sep 2, 2014 at 8:14 PM, Tomas Hlavaty wrote:
>>
>> «…by multiplying with (or dividing by) the scale factor, which is always
>> `1.0`.»
>
> it doesn't have to be always 1.0. If it was, it would not need to be
> there at all.
Oops. Could you give me some details about my mistake?
Isn't «1
Hi all,
On Mon, Sep 1, 2014 at 6:05 AM, Tomas Hlavaty wrote:
>> : (* 1.0 1.0)
>> -> 100
>
> You want: (*/ 1.0 1.0 1.0), see http://software-lab.de/doc/ref_.html#*/
That's funny because I read about */ right before posting my email but
couldn't connect with my problem. If there is room for clarif
On Mon, Sep 1, 2014 at 10:02 PM, Thorsten Jolitz 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
chri
--
http://profgra.org/lycee/ (site pro)
http://delicious.com/profgraorg (liens,
On Mon, Sep 1, 2014 at 5:52 AM, Tomas Hlavaty wrote:
>
> […] it is unsafe by design.
> […]
> even if you bind those symbols to 'prog', an attacker could set them to
> the original values, which are simple numbers.
Hey, this is a very nice idea and answer to my question of safe interps.
> It shou
On Sun, Aug 31, 2014 at 12:09 PM, Tomas Hlavaty wrote:
>
> would this clasify?
You mean «clarify»?
> $ cat >/dev/null
> rm -fr /
> ^d
>
> I executed arbitrary script while limiting its effects.
Indeed.
> The most important missing part is to define, what functionality exactly
> do you want to
Hi all crazy Lispers!
I managed to handle "" being NIL, thanks to Michel and Alex.
Now I have another similar problem with numbers.
First, I understand the reasons behind having fixpoint numbers
in Picolisp (basically simple implementation and control).
Now considering that my goal is to implement
On Sat, Aug 30, 2014 at 11:31 AM, Tomas Hlavaty wrote:
>
>> Executing a script doesn't mean every line will work as expected!
>> `rm -fr /` can be executed, but doesn't always work ;)
>
> You see, then you are not allowing arbitrary functionality.
Maybe I should have said:
«Execute arbitrary scri
On Sat, Aug 30, 2014 at 8:52 AM, Alexander Burger wrote:
> Hi Christophe,
Hi Alex,
> I would not disable them system-wide.
Oops. Indeed.
In fact I'm still very influenced by Tcl. Tch has an «interp» command
that allow to create, and in fact cascade, interpreters.
Untrusted scripts will only be
On Fri, Aug 29, 2014 at 9:43 PM, Tomas Hlavaty wrote:
>
> that is impossible, and even contradictory! You can't allow arbitrary
> functionality and disallow some functionality at the same time.
Executing a script doesn't mean every line will work as expected!
`rm -fr /` can be executed, but does
1 - 100 of 165 matches
Mail list logo