Subscribe

2017-02-06 Thread Christopher Howard
Hello Christopher Howard <christopher.how...@qlfiles.net> :-) You are now subscribed -- https://qlfiles.net -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Subscribe

2017-02-06 Thread Christopher Howard
Hello Christopher Howard <christop...@alaskasi.com> :-) You are now subscribed -- Christopher Howard, Computer Assistant Alaska Satellite Internet 3239 La Ree Way, Fairbanks, AK 99709 907-451-0088 or 888-396-5623 (toll free) fax: 888-260-3584 mailto:christop...@alaskasi.co

Re: Modularization / Shared Libraries

2017-02-08 Thread Christopher Howard
/db.l" "@test/src/net.l" "@test/src/ext.l" "@test/src/ht.l" ) How is the "@" character being used here? The reference documentation mentions the wildcard character in conjunction with match and fill, but I'm not clear on what it means here. O

Mips / LibreCMC build

2017-02-08 Thread Christopher Howard
Hi all, I was able to compile picolisp for mips32r2 to run on librecmc-1.3.4, which I did for the purpose of having a lisp interpreter on my TPE-R1100. 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

Modularization / Shared Libraries

2017-02-08 Thread 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 libraries. A few questions: 1) On Gnu/Linux, how do you put code into a shared library? 2) Where on the

Re: Building functions with dynamic scope

2017-02-21 Thread Christopher Howard
alues are constant by using pattern variables, here '@N': > >(de make-adder (@N) > (curry (@N) > (X) (+ X @N)) ) > >(make-adder 7) >-> ((X) (+ X 7)) > > > Another option (in addition to your direct 'list'ing, is 'fill' > > (de make

Re: Future of PicoLisp?

2017-02-20 Thread Christopher Howard
(pil32 and mini) which are written in C cannot >> be compiled >> on Clang, because Clang doesn't support dynamically allocated >> arrays, which >> pil32 depends on. As far as I notices, pil64 also has trouble on >> Clang/Android. >> >&

Re: Future of PicoLisp?

2017-02-20 Thread Christopher Howard
, etc.) Just take it as my $0.02 feedback if nothing else. On 02/20/2017 10:31 AM, Jakob Eriksson wrote: > > Another tradeoff is that there are very few people and projects > on any site besides Github. This is the reality. > > -- Jakob > -- Christopher Howard, Computer Assistan

Serial communication?

2017-02-17 Thread Christopher Howard
Hi list. As mentioned before, I've got picolisp running on a mips32r2 system running librecmc-1.3.4. I want to communicate with an ACM device available at /dev/ttyACM0. Is there a library for serial communication? And/Or do I need to interface to a C library? -- https://qlfiles.net --

Destructive element modification?

2017-02-24 Thread 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, without creating a new list, and without using "con" to change a lot of the list? -- https://qlfiles.net -- UNSUBSCRIBE:

Building functions with dynamic scope

2017-02-21 Thread Christopher Howard
e was some more readable way to do it. -- Christopher Howard, Computer Assistant Alaska Satellite Internet 3239 La Ree Way, Fairbanks, AK 99709 907-451-0088 or 888-396-5623 (toll free) fax: 888-260-3584 mailto:christop...@alaskasi.com http://www.alaskasatelliteinternet.com -- UNSUBSCRIBE: mailt

Recursion-Loop Macro?

2017-02-11 Thread 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 preferred approach is to just use a loop. I don't want to argue against that, but I was just wondering if perhaps somebody had a macro that made a loop look like a

Re: Mips / LibreCMC build

2017-02-08 Thread Christopher Howard
I added a wiki page here: http://picolisp.com/wiki/?picolisponmips On 02/08/2017 04:57 AM, Mike Pechkin wrote: > > > On Wed, Feb 8, 2017 at 3:45 PM, Christopher Howard > <christopher.how...@qlfiles.net <mailto:christopher.how...@qlfiles.net>> > wrote: > >

Segfault with huge list...?

2017-02-10 Thread Christopher Howard
Hi list. When I try to do (apply '+ (range 1 100) I get segfault. I thought maybe this was some kind of internal limitation of the apply function, so I defined a foldl: (de foldl (Fn Acc Lst) (if (== () Lst) Acc (let Acc2 (Fn Acc (car Lst)) (foldl Fn Acc2 (cdr Lst))

box? on address

2017-02-09 Thread Christopher Howard
Hi, I was just trying to understand... : (box? (box (4 5 6))) -> $384375304 : (box? $384375304) -> NIL : (car $384375304) -> 4 Shouldn't (box? $384375304) be non-NIL? -- Christopher Howard, Computer Assistant Alaska Satellite Internet 3239 La Ree Way, Fairbanks, AK 99709 907-451-00

Re: Lifespan of memory of parameters

2017-02-26 Thread Christopher Howard
Thanks for the quick reply, and the great info I get on this list. Maybe more to the point would be a function like so: (de foo (Lst) # some kind of escape condition usually here (foo (modified-copy Lst)) ) Where modified-copy is a function that returns a *new* list. After, say, the tenth

Lifespan of memory of parameters

2017-02-25 Thread Christopher Howard
Hi list, could someone educate me a little regarding the following (or point me to the right documentation): Say I have function (foo (Lst) (bar (copy Lst)) ) My question is: At the point when bar is called, is Lst now gone (i.e., marked for garbage collection) or does that wait until bar

Documenting PicoLisp code?

2017-03-23 Thread Christopher Howard
Hi list. How does one document his picolisp code? Has anybody developed any cool markup systems for use with picolisp? -- https://qlfiles.net -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Random Access?

2017-03-24 Thread Christopher Howard
Hi list. I noticed that when I evaluate (list (box) (box) (box)) I get ($177760526373112 $177760526373114 $177760526373116) Where each memory location is two more than the previous. I am wondering if this behavior is guaranteed to always be the case, the implication being one could have random

Re: Unclear licensing

2017-03-15 Thread Christopher Howard
any license, at least in this case, as your license is not full copyleft in the sense that the GPL licenses are. In any case, I don't think the existence of (2) eliminates the need for proper licensing of (1). On 03/13/2017 10:14 PM, Alexander Burger wrote: > On Mon, Mar 13, 2017 at 03:57:00PM -0800, C

Evaluation confusion

2017-03-31 Thread Christopher Howard
Hi list, I'm a little confused at a bug in my code. I have this procedure 'rooms that returns some data: : (rooms) -> (("threshold" (("long-description" "You stand in front of a wooden door, reputed to be the home of one Dr. Theobold. The door has a small keyhole.") NIL NIL 1)) NIL NIL 1) Now,

Re: Evaluation confusion

2017-04-01 Thread Christopher Howard
bols? On 04/01/2017 03:56 AM, Christopher Howard wrote: > Ah, okay. Somehow in my mind I had reversed the meaning of "==" and "=". > > @Joh-Tob: I am writing a text-adventure game, using a balanced binary > tree as the primary data structure for managing game data. I

Re: Evaluation confusion

2017-04-01 Thread Christopher Howard
rk these combinations it your > approach is faster the mailing list would be interested in your results > and the source. > > 2017-04-01 13:56 GMT+02:00 Christopher Howard > <christopher.how...@qlfiles.net <mailto:christopher.how...@qlfiles.net>>: > > A

Re: Evaluation confusion

2017-04-01 Thread Christopher Howard
Ah, okay. Somehow in my mind I had reversed the meaning of "==" and "=". @Joh-Tob: I am writing a text-adventure game, using a balanced binary tree as the primary data structure for managing game data. I wrote my own AA Tree implementation (with guidance from Wikipedia). I see the idx and balance

Re: List graph library?

2017-04-06 Thread Christopher Howard
render them using the various graphviz C > APIs. > > I hope this information is helpful. > > Cheers, > --Dave > PԔ � )mX�����zV�u�.n7�����r��e=== > -- Christopher Howard, Computer Assistant Alaska Satellite Internet 3239 La Ree Way, Fairbanks, AK 99709 90

Re: Which emacs mode to use?

2017-04-05 Thread Christopher Howard
Hi, I was referring to the lib/el folder inside the picolisp source archive from http://software-lab.de/picoLisp-16.12.tgz. I followed the manual installation instructions so that my picolisp is installed at /usr/local/src/picoLisp. And so I just added this to my ~/.emacs: (add-to-list

List graph library?

2017-04-05 Thread Christopher Howard
Hi. Does somebody have a FOSS library handy for graphing a picolisp list (like, hierarchically)? Say, SVG format or something? I can't imagine somebody else hasn't already tackled that problem... -- https://qlfiles.net -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: PilMCU status

2017-04-13 Thread Christopher Howard
U in action! >> >> https://youtu.be/mMgIvITAMBc >> >> I hope you will enjoy the show :) >> >> Again, my special thanks to Alex for his great idea and support on this >> project. >> >> Let's see how it goes and will keep you all posted. >> &

Re: PicoLisp mirror on github

2017-04-22 Thread Christopher Howard
What is the significance of the version number components (major, minor...)? Does versions 17.6 and greater aim for backwards compatibility with 16.12? On 04/21/2017 09:03 AM, Mansur Mamkin wrote: > Hi all! > > I've extended my previous script that handled >

Re: Serial communication?

2017-04-22 Thread Christopher Howard
Hi, revisiting this issue. I've got a Numato GPIO device using /dev/ttyACM0 that shows settings $ sudo stty -F /dev/ttyACM0 speed 9600 baud; line = 0; kill = ^H; min = 1; time = 0; -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -echo -echoe -echok I can connect to device just fine using

Re: Self-similar fractal curves on canvas

2017-03-02 Thread Christopher Howard
Hi, this looks cool and I want to play around with it, but licensing information is not clear. Could you please add clear licensing/copying terms to the repository (ideally on each source file)? On 03/01/2017 11:44 PM, Lindsay John Lawrence wrote: > I developed this a bit more. > >

TC -> Loop Transformation?

2017-03-04 Thread Christopher Howard
Hi, I while ago I asked how I might somehow represent a loop as a a tail call recursion, so as to give me the pattern I like without the call penalties. Since nothing was forthcoming, I took a stab at it myself. Probably my noobish attempt will be ugly to you veterans, but I was hoping if I posted

Re: Unclear licensing

2017-03-12 Thread Christopher Howard
I'll certainly do that if need arises, though I think it would be better if the release actually had them in there from the start. But if the lead developer is set against it, I'm not going to keep whining about it. Nevertheless, I would strongly recommend *at least* putting licensing information

Re: Unclear licensing

2017-03-11 Thread Christopher Howard
On 03/10/2017 11:18 PM, Alexander Burger wrote: > Hi Christopher, > >> Hello list. I'm having a lot of fun with picolisp, doing practice >> problems and working with different codes. > > Great! :) I'll be uploading all my own codes for git access as soon as my project request clears Savannah

Unclear licensing

2017-03-10 Thread Christopher Howard
Hello list. I'm having a lot of fun with picolisp, doing practice problems and working with different codes. One concern I have though is that most of the files in the Picolisp 16.12 release do not have proper license labeling. For legal safety and to avoid confusion, we need to have at least

Re: TC -> Loop Transformation?

2017-03-10 Thread Christopher Howard
Hi, sorry about the delayed response — just had a new baby and have been in the hospital for a few days. What I am trying to accomplish is be able to represent algorithms in a recursive format (which is often what comes naturally to me and seems cleaner and easier to understand) without the stack

Re: Unclear licensing

2017-03-13 Thread Christopher Howard
d code. Code with unclear licensing is no better than > proprietary > > code for practical purposes. > > Thanks for your concerns! But I still do not see where the > problem is. I don't > care what others do with the code. It is free! > >

Beginner RESTful Web app in PicoLisp?

2017-08-16 Thread Christopher Howard
Hi, I want to create a really simple PicoLisp Web application that parses the URL, and does something. Probably something silly, e.g., visiting http://localhost/addition/2/2 returns a Web page showing 2+2 = 4. Is there some small sample PicoLisp code I could look at or start with? I saw on

Re: Serial communication?

2017-04-25 Thread Christopher Howard
Significant...? select() document states that the purpose of select() is to make sure (among other things) that it is possible to do a read() without blocking. Perhaps I'm boring you all at this point. Maybe it would be more useful to talk with numato developers or a linux forum and come back wh

Re: Picolisp within Picolisp (for games, etc.)? Or, PicoLisp VM?

2017-04-28 Thread Christopher Howard
cations exhausts the virtual machine capacity. > > Am 28.04.2017 04:18 schrieb "Christopher Howard" > <christopher.how...@qlfiles.net <mailto:christopher.how...@qlfiles.net>>: >> >> Hi list, I was wondering if there would be a practical way to safely >

Re: Serial communication?

2017-04-24 Thread Christopher Howard
means, but it must be significant. The SIGINT is from me pressing Ctrl-C after the program seems to have hung. On 04/23/2017 05:39 AM, Alexander Burger wrote: > On Sat, Apr 22, 2017 at 04:46:35PM -0800, Christopher Howard wrote: >> (in Dev >> (line) # ADDED LINE &g

Picolisp within Picolisp (for games, etc.)? Or, PicoLisp VM?

2017-04-27 Thread Christopher Howard
Hi list, I was wondering if there would be a practical way to safely contain a picolisp interpreter (or some subset of commands) inside another picolisp program. E.g., suppose you have a computer game programmed in PicoLisp, and the main character found a computer terminal that allowed him to run

Re: Serial communication?

2017-04-25 Thread Christopher Howard
evaluating said data? There's load, but that always evaluates the file data. I guess I could do a character at a time and poll for eof...? On 04/24/2017 09:49 PM, Alexander Burger wrote: > On Mon, Apr 24, 2017 at 07:56:32PM -0800, Christopher Howard wrote: >> The lines... >> >>

Line Width Formatting

2017-08-09 Thread Christopher Howard
Hi list. I need a function that would print out a string, but inserting newlines in between words to ensure that line width does not exceed some arbitrary value. Does somebody already have such a function? I'm sure I could figure it out, but it seems like one of those reinventing- the-wheel

Re: Line Width Formatting

2017-08-09 Thread Christopher Howard
Sounds like just what I need. Thanks! On Wed, 2017-08-09 at 11:27 +0200, Alexander Burger wrote: > Hi Christopher, > > > Hi list. I need a function that would print out a string, but > > inserting > > newlines in between words to ensure that line width does not exceed > > some arbitrary value.

Re: Beginner RESTful Web app in PicoLisp?

2017-08-18 Thread Christopher Howard
, but in the USA, copyright means ALL RIGHTS RESERVED unless the copyright holder declares otherwise. On Fri, 2017-08-18 at 07:47 +0200, Alexander Burger wrote: > On Fri, Aug 18, 2017 at 07:44:33AM +0200, Alexander Burger wrote: > > On Thu, Aug 17, 2017 at 06:05:20PM -0800, Christopher How

Re: Beginner RESTful Web app in PicoLisp?

2017-08-17 Thread Christopher Howard
//bitbuck > et.org/iromero91/web.l/wiki/Home > > 2017-08-17 8:48 GMT+03:00 Christopher Howard <christopher.howard@qlfi > les.net>: > > Hi, I want to create a really simple PicoLisp Web application that > > parses the URL, and does something. Probably something silly, e.g.,

Re: Picolisp within Picolisp (for games, etc.)? Or, PicoLisp VM?

2017-05-03 Thread Christopher Howard
es on (ask regenaxer how the open pipe >>> is handled or wait for the result) 3 execution time aspect. >>> To controll the space aspect you need rewrite picolisp in picolisp and >>> maintain your own free list or let all functions the user can call >>> eith

State monad in PicoLisp

2017-05-09 Thread Christopher Howard
Hi list, just for the fun of sharing, I wanted to show that I translated the State Monad from Haskell into PicoLisp: http://git.savannah.nongnu.org/cgit/picolisp-nb.git/tree/state-monad/state-monad.l?id=cb96377cf513b927e8a3c73a77ab5ed6c95a9be8 One would perhaps want to write some more syntactic

single letters

2017-06-16 Thread Christopher Howard
Hi list. In picolisp, what would be the simplest way to check if a string (trans sym) is one character long and that the character is one of the letters a-z or A-Z? -- https://qlfiles.net -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: single letters

2017-06-16 Thread Christopher Howard
Thanks! On 06/16/2017 08:29 PM, Mike Pechkin wrote: > https://bitbucket.org/mihailp/tankfeeder/src/70c0cfb9e8e3adf4737f70a23a9d4b615d74e4ff/onechar.l?at=default=file-view-default > > On Sat, Jun 17, 2017 at 5:31 AM, Christopher Howard > <christopher.how...@qlfiles.net <mail

Less powerful 'str?

2017-06-17 Thread Christopher Howard
Hi list. I find that the 'str function is rather convenient for processing commands from the user, as it converts the input to list format, like in : (str (line T)) go north -> (go north) However, it creates complications in allowing commands like: : (str (line T)) `(+ 1 2 3) -> (6) and :

Re: Less powerful 'str?

2017-06-17 Thread Christopher Howard
If 'read does not suit your needs i wrote a tokenizer and parser but the > source code is not yet ready fot publication > > Am 17.06.2017 23:42 schrieb "Christopher Howard" > <christopher.how...@qlfiles.net <mailto:christopher.how...@qlfiles.net>>: > >

Re: PicoLisp on quora.com

2017-09-26 Thread Christopher Howard
software-lab.de/doc/faq.html > See also: http://picolisp.wikidot.com/ > > > > - Original Message - > From: Mike Pechkin [mailto:mike.pech...@gmail.com] > To: picolisp@software-lab.de > Sent: Tue, 26 Sep 2017 15:58:05 +0300 > Subject: Re: PicoLisp on quora.com > >

Unsubscribe

2017-10-03 Thread Christopher Howard
signature.asc Description: This is a digitally signed message part

Unsubscribe

2017-10-03 Thread Christopher Howard
Good bye Christopher Howard <christopher.how...@qlfiles.net> :-( You are now unsubscribed -- https://directory.fsf.org/wiki/Main_Page -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Dr. Theobold Text Adventure Game: Looking for Beta Testers

2017-09-02 Thread Christopher Howard
This link is a release announcement for a beta version of a text- adventure game I wrote in PicoLisp: http://lists.nongnu.org/archive/html/dr-theobold-discuss/2017-09/msg000 00.html This is the project home page: https://savannah.nongnu.org/projects/dr-theobold/ I am looking for at least one

Re: Dr. Theobold Text Adventure Game: Looking for Beta Testers

2017-09-02 Thread Christopher Howard
Hi, thanks for the response. I think I may need to disable the "Project Homepage" feature, or put a stub in there. Regarding the download links, which link are you using? A think there may be a problem with line wrapping in the release announcement I sent out, breaking the link

Installation / Load Paths

2017-09-02 Thread Christopher Howard
Hi, what is the customary way PicoLisp programmers deal with load path issues when trying to install a completed program onto a Gnu/Linux system? My program has two *.l files. What I wanted to do was: - Put the *.l files in $(PREFIX)/share/programname/ - Have a bash or picolisp script in