HUB
Sign inSign up

progit/pil-minimal

By progit

•Updated almost 10 years ago

64-Bit Buildroot + Vim + zsh

Image
1

1.0K

progit/pil-minimal repository overview

⁠64-Bit PicoLisp in a custom-built, 64-Bit Buildroot image.

This is version 16.12 of the PicoLisp programming language + Vim + zsh in a custom Buildroot container. The latest version of PicoLisp will be maintained in this image. Much thanks to Alexander Williams, Alexander Burger, and the whole picoLisp community for helping me get the latest source compiled!)

With Vim and zsh added size has grown to 30MB however now when you (edit 'sym) in PicoLisp it works! This has the benefit of exploring not only your code but symbol values, browsing databases live as well. All of these tools while still coming in at 30MB isn't too shabby.

Simply run:

docker pull progit/pil-minimal

Then...

docker run -it --rm progit/pil-minimal pil +

... and you'll be immediately dropped into the REPL.


To access to the shell:

docker run -it --rm progit/pil-minimal /bin/zsh

You cast use /bin/sh if you prefer. To share one of your local directories you can do:

docker run -it --rm -v /home/picolisp-rocks/src/my-cool-project:/home/pil/my-cool-project progit/pil-minimal /bin/zsh

Now you have read/write access to the contents of the /home/picolisp-rocks/src/my-cool-project directory in your container. There are more ways to get permanent storage in docker containers but that is beyond the scope of this appliance. See data volumes and data persistence in containers.


Taken from (PDF) PicoLisp: The Scalpel of Programming A Radical Approach to Software Development⁠:

If some programming languages claim to be the "Swiss Army Knife of Programming", then PicoLisp may well be called the "Scalpel of Programming": Sharp, accurate, small and lightweight, but also dangerous in the hand of the inexperienced. Less is more! - The maxim is: Keep it simple, and the programmer in control!


PicoLisp is one of the best kept secrets of development. It includes a database, web application framework, and a Prolog engine all as part of the language. Now it's available in a container for OS agnostic development. I moved from 64-Bit Tinycore to a custom Buildroot image so that I could include Vim as well as zsh while still keeping in line with some of PicoLisp's values of small and simple.

Happy hacking!

Tag summary

Content type

Image

Digest

Size

9.3 MB

Last updated

almost 10 years ago

docker pull progit/pil-minimal