Re: How to manage picoLisp projects

2015-06-30 Thread Alexander Williams
Hi,

I did create a module manager which uses the *Makefile* and *module.l*, but
the code is not clean and it doesn't entirely work the way I want, so I
haven't released it. I don't think I would have time to release anything
before the end of summer, so feel free to take a stab at it if you think
this type of thing is necessary for PicoLisp.

It's a tough problem, so care must be taken to avoid re-creating NPM ;)


AW

On Mon, Jun 29, 2015 at 4:18 AM, andr...@itship.ch wrote:

 Hi Erik, thanks for the hint!

 I discussed this topic with Alex Williams before, but somehow I wasn't
 aware of what he did here with the Makefile.
 That's really neat, something like this really should be intergrated in a
 module management, I think.


 - Original Message -
 From: Erik Gustafson [mailto:erik.d.gustaf...@gmail.com]
 To: picolisp@software-lab.de
 Sent: Mon, 29 Jun 2015 02:59:23 -0500
 Subject:

 Alex Williams is onto something. Checkout
 https://github.com/aw/picolisp-nanomsg, notably the Makefile and module.l.
 Works very well!

 On Monday, June 29, 2015, andr...@itship.ch wrote:

  Hi Rick
 
   Basically, I'm wondering if there is a project management tool like
   Maven (Java), Leiningen (Clojure), Cask (Elisp), ASDF (CL), but for
   picoLisp.  I'd also be interested in hearing arguments for or against
   such a thing.  (Not having used these tools, I'm ok just manually
   keeping these things up, but many of you here are more experienced
   than I in deploying and maintaining software, so I'd appreciate your
   thoughts.)
 
  Check this thread:
  https://www.mail-archive.com/picolisp%40software-lab.de/msg05140.html
 
  I'm attempting to do something on that topic, if anyone already has a
  solution or additional ideas, contact me please.
 
  - beneroth
 
 




RE: How to manage picoLisp projects

2015-06-29 Thread andreas
Hi Rick

 Basically, I'm wondering if there is a project management tool like
 Maven (Java), Leiningen (Clojure), Cask (Elisp), ASDF (CL), but for
 picoLisp.  I'd also be interested in hearing arguments for or against
 such a thing.  (Not having used these tools, I'm ok just manually
 keeping these things up, but many of you here are more experienced
 than I in deploying and maintaining software, so I'd appreciate your
 thoughts.)

Check this thread: 
https://www.mail-archive.com/picolisp%40software-lab.de/msg05140.html

I'm attempting to do something on that topic, if anyone already has a solution 
or additional ideas, contact me please.

- beneroth



Re: How to manage picoLisp projects

2015-06-29 Thread Erik Gustafson
Alex Williams is onto something. Checkout
https://github.com/aw/picolisp-nanomsg, notably the Makefile and module.l.
Works very well!

On Monday, June 29, 2015, andr...@itship.ch wrote:

 Hi Rick

  Basically, I'm wondering if there is a project management tool like
  Maven (Java), Leiningen (Clojure), Cask (Elisp), ASDF (CL), but for
  picoLisp.  I'd also be interested in hearing arguments for or against
  such a thing.  (Not having used these tools, I'm ok just manually
  keeping these things up, but many of you here are more experienced
  than I in deploying and maintaining software, so I'd appreciate your
  thoughts.)

 Check this thread:
 https://www.mail-archive.com/picolisp%40software-lab.de/msg05140.html

 I'm attempting to do something on that topic, if anyone already has a
 solution or additional ideas, contact me please.

 - beneroth




How to manage picoLisp projects

2015-06-28 Thread Rick Hanson
In looking at Henrik's pl-web, I copied the demo app directory
`demo-app` to a standalone directory that would be a project
directory. I called it `pl-web-demo`.  Then, I copied Henrik's
libraries `pl-web` and `ext` into the project directory.  And since
I'm running a global version of `pil` (in `/opt`), I linked in the
`lib` directory under the project directory.  So, now that project
directory looks like this.

[pl-web-demo]$ l
total 28
drwxr-xr-x 6 rick users 4096 Jun 28 16:49 .
drwxr-xr-x 3 rick users 4096 Jun 28 16:25 ..
drwxr-xr-x 3 rick users 4096 Jun 28 16:27 ext
lrwxrwxrwx 1 rick users   21 Jun 28 16:49 lib - /opt/lib/picolisp/lib
-rwxr-xr-x 1 rick users 1867 Jun 28 16:25 main.l
drwxr-xr-x 4 rick users 4096 Jun 28 16:26 pl-web
drwxr-xr-x 2 rick users 4096 Jun 28 16:25 public
drwxr-xr-x 2 rick users 4096 Jun 28 16:33 sessions

And everything is working fine.

But then I thought about the issues of creating such a project
directory.  It needs to keep track of its dependencies.  Notice that I
installed all the dependencies manually.  (I also had to create an
empty `sessions` directory with which to start -- this is a type of
dependency I guess.)

Now, to my question.  Is there a standard, automatic way to do this?

Basically, I'm wondering if there is a project management tool like
Maven (Java), Leiningen (Clojure), Cask (Elisp), ASDF (CL), but for
picoLisp.  I'd also be interested in hearing arguments for or against
such a thing.  (Not having used these tools, I'm ok just manually
keeping these things up, but many of you here are more experienced
than I in deploying and maintaining software, so I'd appreciate your
thoughts.)

Thanks!  --Rick
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe