HUB
Sign inSign up

pl1950/stlisp

By pl1950

•Updated 14 days ago

Lisp basé sur la STL c++ : std::list, std::map, std::variant, std::shared_ptr.

Image
Languages & frameworks
0

720

pl1950/stlisp repository overview

⁠STLisp

STLisp is a functional Lisp interpreter written in modern C++20.

This Docker image provides:

  • the stlisp interpreter;
  • Lisp libraries and examples;
  • SQLite integration;
  • a built-in web server;
  • UTF-8 locale support;
  • Vim syntax highlighting for Lisp files;
  • an optional shared workspace.

⁠Pull the image

docker pull pl1950/stlisp:latest

Run a Lisp program

docker run --rm -it \
  -v "$PWD/workspace:/home/STLisp/workspace" \
  pl1950/stlisp:latest /home/STLisp/core_tests.l

Start the web server

docker run --rm -it \
  -p 8081:8081 \
  -v "$PWD/workspace:/home/STLisp/workspace" \
  pl1950/stlisp:latest /home/STLisp/web8081.l

The web server is then available at:

http://localhost:8081/Web/index.html

Interactive shell

docker run --rm -it \
  -v "$PWD/workspace:/home/STLisp/workspace" \
  --entrypoint /bin/bash \
  pl1950/stlisp:latest

Image contents

The image installs STLisp under  /home/STLisp  and includes:

•  stlisp 
•  core_tests.l 
• Lisp libraries and examples
•  Web/  and  sqlite/  modules
•  /home/STLisp/workspace  for user files

Tag summary

Content type

Image

Digest

sha256:7f8b9a7a3…

Size

97.6 MB

Last updated

14 days ago

docker pull pl1950/stlisp