Is it hard to implement minimalist version of minipicolisp in browser ?
Like http://tryclj.com/ ?
Initial version of game based on grids from @lib/simul.l.
Finish if 512 or out of cells.
Just works, have fun.
Start point to understand difference is difference between (member)
vs.(memq) and (=) vs. (==)
Patch in attach against latest picolisp for HPUX (11v3, ia64).
Compiles and passes tests.
p.s. 11v2 should work too with additional hacks.
Description: Binary data
With backbone support from Mr.Burger all tasks were implemented.
Sources in bitbucket here: http://goo.gl/fhymP8
o) favourite - #52 Intro to Destructuring (easy.l)
o) the most interesting - #140 Veitch, Please! (hard.l)
o) Some tasks ignored
o) Comments, patches, objections and polish
On Wed, Jun 17, 2015 at 6:48 PM, Christophe Gragnic
They even spelled it correctly !
See one of your repos or this one:
I totally dont like it. I vote.
All this useless.
Can you write here #Usage examples of (if-let) in current language feature
Coder already have all needed, like in forth.
If coder want, it have all required to implement this by himself.
Like reduce and - from clojure I've used to
as usual entry price for picolisp eco system is high.
i'm on next level, want write trivial code to store and fetch values from
functions index is ok but not enough.
i need code examples and tutorials to start trivial manipulations.
p.s. Mansur where is your picodb book? I'm in.
sent you private email a week ago.
Any news ?
On Tue, Oct 13, 2015 at 12:14 PM, Kuba Tyszko <k...@lbl.pl> wrote:
> I’m sure we could arrange a server access for you if that’s necessary,
> On Oct 12, 2015, at 4:44 PM, Mike Pechkin <mi
News from porting sandbox.
Latest AIX 7.1 (7100-03-05-1524) and
NetBSD 7.0 compiled out of box and passed tests.
On Mon, Oct 12, 2015 at 11:13 AM, George Orais wrote:
> Nice! Thanks Mike! Btw, any chance for IRIX? :)
is non-root account available ?
I will take it.
I will contact you in private.
On Tue, Oct 13, 2015 at 12:14 PM, Kuba Tyszko wrote:
> I’m sure we could arrange a server access for you if that’s necessary,
With important backbone support from Mr.Burger all tasks were implemented.
Sources are here:
o) diamond in bucket of rocks is task #4.306 (from prefix to postfix)
o) #17.6 task
this is minipicolisp.
On Fri, Sep 18, 2015 at 9:28 AM, Mike Pechkin <mike.pech...@gmail.com>
> %subj% now supports picolisp.
I can (want?) try.
IRC channel is good start point.
On Fri, Sep 25, 2015 at 6:14 PM, Robert Herman wrote:
> Anybody have any hints, leads or tips on getting PicoLisp running on a
> Linode server? I'd like to see if I can setup a PicoLisp-based site. I have
I've implement AES on PicoLisp.
Pure brutality and limits:
o) AES128 only
o) no decryption (boring after all this)
o) less GC mess
o) no ECB-CBC modes
o) key length only 128 bits
Works, tests passed.
I have a collection of functions, I've combined them in one file:
o) functions other coding languages have builtin (sometimes useful)
o) functions to mimic Clojure
I will maintain this file and
Don't forget to link to your stuff from picolisp.com if it's not already
I dont know how to handle this better.
"Вставить пустую строку"
On Tue, Jan 5, 2016 at 9:03 AM, Alexander Burger
> Hello translators!
> This is to all who helped with the localization of PicoLisp, by
> providing translation strings for the @loc/?? files.
> The new '+InsRowButton' GUI prefix
> On Mon, Dec 21, 2015 at 2:43 PM, Mike Pechkin <mike.pech...@gmail.com>
> > hi,
> > bitmaps from (rand) from pil32 and pil64
> > done by "convert" from ImageMagic soft.
I've changed my opinion, after picolisp gone from code.google.com
I gonna manually support synchronization in my repo between picolisp
Now in repo i have 15.11 (28dec15) release, i will sync again after every
stable release or more often.
bitmaps from (rand) from pil32 and pil64
done by "convert" from ImageMagic soft.
now looks ok.
if you run "make all" add to list:
... glibc-devel openssl-devel
On Mon, Dec 21, 2015 at 5:35 PM, Mike Pechkin <mike.pech...@gmail.com>
> when centos installed from centOS7-Miminimal.iso you should install
> required rpm by:
> $ yum insta
news from porting sandbox:
checked, pil32 and pil64 compiles on CentOS7 out of box,
when all required rpms are installed.
On Mon, Dec 21, 2015 at 3:34 PM, Mike Pechkin <mike.pech...@gmail.com>
> latest picolisp (32 and 64) cant compile on Cent
yes, influenced by
On Mon, Dec 21, 2015 at 3:43 PM, Mike Pechkin <mike.pech...@gmail.com>
> bitmaps from (rand) from pil32 and pil64
> done by "convert" from ImageMagic soft.
> now looks ok.
dont forget link to reddit/r/lisp
On Mon, Nov 23, 2015 at 9:09 AM, Mansur Mamkin wrote:
> Hi all!
> I've written article about using bin/ssl, but haven't yet linked it
> anywhere, you can found it here: http://picolisp.com/wiki/?ssl
> I ask Alex to link it to convenient
On Wed, Jun 8, 2016 at 3:08 PM, Lawrence Bottorff wrote:
> So, what would the best way to learn picolisp be for a total beginner?
Real coding of any task is the best way to learn any programming language.
I want to share something very important related to picolisp:
Half year ago I was wonder how to implement (prog3) (return third evaluated
expression) (without success), Regenaxer implemented it for me. I promised
I understand it someday. This day came, *now* I understand how (run)
try this or use irc
On Sun, May 29, 2016 at 8:52 PM, David Bloom wrote:
> Hello List,
> I'm trying to make a PicoLisp container for development and scaling of
> PicoLisp applications. At first I tried
and ideone.com have a special minipicolisp version, without IO, networking,
utf8, bignum, db, and etc.
perfect fro embedded beasts.
On Mon, May 30, 2016 at 9:03 PM, Mike wrote:
> also try add to glot.io
translation to picolisp, SHA512 native too.
Today I was wonder is it possible to create a function for binary search
inside flatten or nested lists.
If I have ordered list I need something faster that O(n) and I should not
care of unique structure.
It was a goal while walking in the forest.
There is my code in repo:
I proud to announce finished implementation of all SHA3 finalists on
o) blake, jh, skein, keccak, grostl
Since last emails also have been implemented:
o) crypto: whirlpool, tiger
o) hash: xxhash
o) RNG: mum, xoroshiro128+
it was idea:
try to create tetris on lists,
destructively and without grid from simul.l
1. move.l - use arrow keys to move object inside world
2. roll.l -
you are correct, this is draft patch.
> Goal: compile with minimum commands + -Wall
as you can see patch supports goal, and pil32 pass selftests and my code.
Goal: compile with minimum commands + -Wall
4 new words, others not required.
compiles without warnings and pass selftests on modern Linux.
-Wall - says itself
OK. new patch:
o) old lines not touched
o) rename -W -> -Wextra
o) new line:
-Wextra -Wimplicit -Wreturn-type -Wunused -Wformat
On Mon, Feb 8, 2016 at 11:27 PM, Mike Pechkin <mike.pech...@gmail.com>
> you are correct, this is draft patch.
> > Go
o) new line is:
-Wall -Wno-parentheses -Wno-sequence-point \
On Tue, Feb 9, 2016 at 10:50 PM, Mike Pechkin <mike.pech...@gmail.com>
> OK. new patch:
> o) old lines not touched
> o) rename -W -> -Wextra
> o) new line:
> -Wextra -Wimplicit -
On Thu, Jan 28, 2016 at 6:14 PM, Mike Pechkin <mike.pech...@gmail.com>
> initial job done.
> ported "generating random data"
initial job done.
ported "generating random data"
read test.l for good.
should not be made
> against exact values, but against a value with an specified delta of
> accuracy. Perhaps a future version of picolisp-fp will have better unit
> tests like that.
> Greg Lee
> -Original Message-
> From: Mike Pechkin
With support to server from @theodric and with help from community PicoLisp
has been ported to IRIX. With initial-trivial patch attached it passed all
bundled self tests.
Note: IPv6 must be enabled and modern gcc and gmake from nekoware installed.
1 700 MHZ IP35 Processor
and patch for (gcc) call
On Tue, Feb 2, 2016 at 4:31 PM, Mike Pechkin <mike.pech...@gmail.com> wrote:
> With support to server from @theodric and with help from community
> PicoLisp has been ported to IRIX. With initial-trivial patch attached it
> passed all bundl
news from blackbox department.
I've implement new stuff:
o) BLAKE (hash)
PicoLisp is ok.
Comments and code review are welcome.
i was wrong, i take a part of my words back.
problem in native.l, not gcc.l
patch attached, now sunos works:
# pil +
: (load "@lib/fp.l")
: (s2r "11.11")
: (cons *OS *CPU (== 64 64))
-> ("SunOS" "x86-64" . T)
fp now works on solaris in pil64.
only one test fails, on linux it pass:
# pil +
: (load "@lib/fp.l")
: (load "fptest.l")
[fptest.l:201] 4607137420321232833 -- 'test' failed
? (dcos 4591870180066957722)
p.s. i've run separate
(gcc) not ported to Solaris
# pil +
: (load "@lib/fp.l")
: (test 1065353216 (s2r "1.0"))
!? (native "/root/.pil/tmp/10225/fp" "s2r" 'I X)
[DLL] ld.so.1: picolisp: fatal: /root/.pil/tmp/10225/fp: wrong ELF class:
On Sun, Jan 24, 2016 at 10:49 AM, Mike
I run pil64 under Solaris 11 on x64
On Mon, Jan 25, 2016 at 11:46 AM, wrote:
> compile the library as 64bit. (native) is a 64bit-pil-only functionality,
> naturally it only supports interfacing with 64bit libraries (confirmed by
> have you compiled fp.c 64bit too ?
you missed the point:
o) look at my original email
o) i've tested *inline* version
o) gcc function not ported to solaris and doesnt have default branch in
case to fatal. (file gcc.l)
o) on linux library works
first of all, i don't understand picodb and didn't write a line of code.
question: is it hard to implement crypto-like-db with encryption on-the-fly?
as example for local password manager, right?
I've implement several hashes on PicoLisp:
o) murmur v1,2,3
All 32bit versions.
I've create cool abstraction.
Works as circular list and after reset can count again from the beginning.
Used in Threefish implementation.
1. can somebody implement !picolisp ?
2. fun and advertisement
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.
p.s. My philosopher is Mamardashvili
On Mon, Mar 7, 2016 at
Do you mean https://en.wikipedia.org/wiki/Merab_Mamardashvili ?
> And could you please provide us with an English version ?
> The automated translators that I tried produced nothing readable
> (but I guess the original is somewhat «tarabiscoté»).
> I cant.
my new code in repo:
hash: adler32, crc64, fnv, siphash
crypto: grostl, rc2, rc5, rc6, camellia, idea
folders: crypto and hash
also you may interested in 4clojure and rosetta folders
On Fri, Apr 22, 2016 at 5:48 PM, cat stevens <thebinarymi...@gmail.com>
> PicoLisp has a git? Can I have a link?
> On Apr 22, 2016 9:52 AM, &
a PicoLisp to llvm module, so we can generate JS with
> emscripten? I can see programming a pure PicoLisp game engine, and then
> running it in the browser after it has been translated to JS.
> On Monday, April 18, 2016, Mike Pechkin <mike.pech...@gmail.com> wrote:
On Fri, Apr 15, 2016 at 7:33 PM, Alexander Burger
> On Fri, Apr 15, 2016 at 08:35:04PM +0700, Robert Herman wrote:
> > Hey, everyone, I am thinking on participating in the Lisp Game Jam coming
> > up in just 13 days.
why not cygwin with 32bit version of PicoLisp?
it works out of box, tested, passed buildin tests and can run all my code
as any linux.
On Mon, Jul 4, 2016 at 9:17 PM, Thorsten wrote:
> Hi List,
> I just discovered a nice article by Joe Bogner about FLINUX as an
In mirror of this list:
Provided three different variations of function to check if required
version of PicoLisp is ok or higher. If they written in school, university
or enterprise. Tests included.
@beneroth on IRC requested native implementation to hash files on SHA1.
I did SHAKE128 too.
Directory in repo:
Reference via tests: test-sha1sum.l and test-shake128sum.l
On Wed, Feb 8, 2017 at 3:20 PM, Christopher Howard <
> Hi all, picolisp newbie here. I was trying to figure out how to
> "modularize" my code; there doesn't seem to be a module system built in,
> but the reference doc did mention support for shared
On Wed, Feb 8, 2017 at 3:45 PM, Christopher Howard <
> I would like to share the build with the world. Did you
> guys want to host the build somehow, or did you want me to host
> elsewhere and then link to my repo?
create page on
> Now as far as trying PicoLisp goes, could we make a little app like
Already done in ideone.com
> Is there some "worker" implementation which keeps a queue of task to do
> and creates N worker processes which take tasks from the queue when they
> are finished?
you have to implement everything by yourself.
as start point:
ast start point:
On Sat, Feb 25, 2017 at 9:01 AM, Christopher Howard <
> Hi list. How do I *destructively* modify the value of one element in a
> list? E.g.
> (setq Lst (1 2 3 4))
> How do I set the second element to be 10,
I've implemented tasks from A to F:
o) dumbest and duplicates from rosettacode ignored
o) worth to check are Alphametrics and Change
If you want:
o) pick up one task
Lets talk about
from this two links:
On Thu, Feb 9, 2017 at 7:13 PM, Christopher Howard wrote:
> Hi, I was just trying to understand...
> : (box? (box (4 5
write yourself recursion call and you will see you don't need macro.
On Sun, Feb 12, 2017 at 5:40 AM, Christopher Howard <
> Hi list. I got the impression from some of the documentation that we
> aren't planning to implement TCO in picoLisp, and that the
# pil +
: (== 64 64)
-> (17 1 7)
: (mapcar sym? '(+.1 -.1))
-> (T T)
On Tue, Feb 14, 2017 at 3:51 PM, Jon Kleiser wrote:
> There seems to be a tiny difference between Ersatz and ordinary PicoLisp
> in the “sym?” function.
> In Ersatz
On Fri, Feb 10, 2017 at 3:07 PM, Christopher Howard <
> Hi list. When I try to do
> (apply '+ (range 1 100)
List of millions of items is not a problem.
Problem how you use it.
(apply) is not for free, It *creates* a function call with a
On Fri, Feb 10, 2017 at 5:21 PM, Joh-Tob Schäg <johtob...@gmail.com> wrote:
> (de natsum (N)
> (if (=0 N)
> ( + N
> ( natsum ( dec N)
> Like that?
> Am 10.02.2017 15:28 schrieb "Mike Pechkin" <mike.pech...@gmail.com>
Author of http://pixielang.org/ in the city.
Welcome to community
On Tue, Jan 17, 2017 at 7:10 PM, Timothy Baldridge
> > Check link in archive:
On Sun, Feb 26, 2017 at 1:20 AM, Joh-Tob Schäg wrote:
> Thanks for sharing.
> Can you link the list of tasks or is it behind a login wall?
> 2017-02-25 9:42 GMT+01:00 Alexander Burger :
I've implement blake2b:
o) cool and fast
o) speed comparison https://blake2.net/skylake.png
o) optional keying
o) pass on original test vectors
o) dont forget D.J.Bernstein and ChaCha as core primitive
Thanks, perfect start point.
On Wed, Aug 24, 2016 at 4:08 PM, Joe Bogner wrote:
> Some discussion on irc this morning prompted me to create a simple example
> showing how to interact with the db directly.
> I posted it to the wiki and am sharing it here in case anyone
I will implement bcrypt in PicoLisp.
On Wed, Sep 14, 2016 at 7:14 AM, Joe Bogner wrote:
> I've been working on an example of using PicoLisp to create as a single
> The code is available at
all under CC0.
you are free to do you want.
On Mon, Sep 19, 2016 at 3:12 PM, Joe Bogner wrote:
> Mike, this looks great. What license covers this work - I see CC0 in the
> root LICENSE but didn't want to assume? Can I redistribute the source
> with my example app?
bcrypt is ready
1. new blowfish implementation, on "Vars". Pass original test vectors
2. implementation itself comparable to golang's bcrypt results
3. without base64 support,
> Can you make the rounds (cost factor) available as a parameter (perhaps as
> a global) ?
That would be quite important to use the library correctly.
o) golang - 10
o) pybcrypt - 12
o) openbsd root - 9
o) openbsd user - 8
Implementation was already "broken":
o) no base64
I decided write here, not in irc
As I wrote before, it didnt crash always
modified code for demonstration:
(dm _t_ () # just for testing
(println (: tempStack))
(prinl "tempStack: " (: tempStack)) )
> crashes? What is in the temp stack? Perhaps it is the fixed prin/prinl
> issue of anonymous symbols.
tempStack is list, look how it prints when not crashed
> Perhaps you can 'trace' to locate the exact place?
My host is CentOS7 x64 (pil32 and pil64).
1. simpler code is enough to fault:
: f 4 ;
2. important note: pil32 *not* always coredumps
problem is like this code:
to whom it interesting how it was fixed
On Fri, Aug 26, 2016 at 7:23 PM, Alexander Burger
> On Fri, Aug 26, 2016 at 06:04:22PM +0200, Alexander Burger wrote:
Current implementation of bcrypt is slow (8 rounds == >4secs).
Its ok, nth is not for free.
o) blowfish encrypt one block of input data takes 32K nth calls.
o) 8 round's bcrypt takes 16M nth calls.
I will try re-implement blowfish's sboxes access and modifications via
%subj% is out:
Who want or can test for build and test bundled tests on pil32 and 64 on
FreeBSD 11 ?
1. Now I have a full collection of password hashes:
2. yescrypt and Argon2 are candidates in the future.
Every hash works slower and slower already.
3. I've implement local password hasher pilpwd as (pbkdf2+sha256)
4. Ideas for future online minimalism version:
My parallel-like map-reduce on (later) function:
Besides more tests for build-in functions it opens the gate to implement
Blake2xP versions of SHA3 finalist which have parallel versions for speed
I've implement more two versions for calculation Bitmessage POW on (later)
and (co) functions. It works.
o) DELL PowerEdge 430 (modern)
> The parallel magic seems to be here:
PicoLisp is pure magic itself.
> From superficial
> reading it seems it would just require some Makefile tweaks and a
> content-list file to create one - or would it be more complicated than
> that in reality?
As ports ex-maintainer I'would say - you dont need port for PIL, this is
jail and step backward.
I have PIL on
> When you say you are an ex-ports maintainer, do you mean in general?
> or of a Picolisp Ports-package in particular?
All related to OpenBSD.
It was in decades ago.
I cant help you here.
> Who want or can test for build and test bundled tests on pil32 and 64 on
> FreeBSD 11 ?
pil (32 and 64) passed all tests on FreeBSD-11 (i386, x64)
this out how i handle keys in 2048 game:
On Thu, Jan 12, 2017 at 5:25 PM, dean wrote:
> -- Forwarded message --
> From: dean
Please if you find a solution to your own problem next time append it as
> answer to your question to prevent others from waisting there time
Your are not wasting your time.
I need more experience in (native) usage.
If somebody need library bindings to something you can request here or
1 - 100 of 117 matches
Mail list logo