Commit graph

236 commits

Author SHA1 Message Date
vindarel
49b7f1a7bc scripts: allow scripts with or without a shebang line
We strip the shebang line out, if there is one,
so than the same .lisp file can be called with

ciel -s <name>.lisp

or

./name
2023-03-11 16:40:34 +01:00
vindarel
ef9ef8d72e CI: we want the latest cl-str 2023-03-11 15:25:12 +01:00
vindarel
f544fdbe77 CI: rename artifact to "ciel-v0", not "ciel-repl-v0" 2023-03-10 15:30:38 +01:00
vindarel
b33d99e4d2 add cl-json-pointer with shorter functions 2023-03-10 13:56:59 +01:00
vindarel
890c4a8a55 rm trivial-types:tuple and tuplep
not sure of its value
and it conflicts too easily with a word we might want to use
ourselves:

(loop for tuple in '((a b) (c d)) => conflict on :tuple symbol
when trying to quickload ciel.

although… strange, why the conflict?
2023-03-10 12:44:54 +01:00
vindarel
cee2f5c960 add local nickname in ciel-user: routes for easy-routes 2023-03-09 18:17:36 +01:00
vindarel
0186419b28 README: mention scripting with a shebang line 2023-03-08 17:24:24 +01:00
vindarel
b933eac663 README: .org -> .md, for better presentation on Github.
[ci skip]
2023-03-08 17:20:54 +01:00
vindarel
2c93b1576c scripts: use :flag, not :counter, and fix running files 2023-03-08 16:51:07 +01:00
vindarel
d6588d08cd README: Lisp links 2023-02-24 12:12:28 +01:00
vindarel
24f627c64f .asd: require cl+ssl, warn if missing
for #20
2023-02-24 11:58:42 +01:00
vindarel
7ebde8ea2c (minor) export disable-shell-passthrough
fixes #21
2023-02-22 12:25:51 +01:00
vindarel
519f432d4f scripting: add --scripts to list all available scripts 2023-01-21 00:01:48 +01:00
vindarel
095544beab script simpleHTTPserver: list and serve files 2023-01-21 00:00:29 +01:00
vindarel
cd1e0b7bb6 script simpleHTTPserver: catch "port in use" error 2023-01-21 00:00:29 +01:00
vindarel
78dd04d9fd scripting: run scripts in the right working directory (not the script's) 2023-01-21 00:00:26 +01:00
vindarel
9a4082f427 (minor) regenerate dependencies list 2023-01-20 23:25:24 +01:00
vindarel
9f7937dab2 add spinneret
it depends on:

  :depends-on ("parenscript"   <---- but there is a system spinneret/cl, is spinneret needed here?
               "alexandria"
               "cl-ppcre"
               "global-vars"
               "serapeum"
               "trivial-gray-streams")
2023-01-20 23:24:14 +01:00
vindarel
6cdf17ccbe (minor) remove short help -h 2022-12-30 00:39:39 +01:00
vindarel
5411f211ec scripting: add and use Clingon 2022-12-29 15:42:10 +01:00
vindarel
ae7410c77f (minor) scripting: a simple shebang works 2022-12-28 15:21:46 +01:00
vindarel
331099b3c8 FAQ: scripting 2022-12-28 15:21:16 +01:00
vindarel
0d95880caa scripting: register and call built-in scripts by name 2022-12-28 15:11:46 +01:00
vindarel
3c371c9a81 scripts: add quicksearch.lisp
[ci skip]
2022-12-14 19:44:35 +01:00
vindarel
d3a896e79f scripting: add simple HTTP server with Hunchentoot 2022-12-14 12:06:58 +01:00
vindarel
255b90871e scripting: --eval one-liners 2022-12-14 00:47:26 +01:00
vindarel
baf2d2dd51 scripting: enable shebang line 🚀 2022-12-10 00:01:08 +01:00
vindarel
2804f115d0 move nicknames to ciel-user, add one for os/filesystem 2022-12-09 20:02:41 +01:00
vindarel
c0ee6f5921 doc script++ 2022-12-09 16:20:21 +01:00
vindarel
2ca812a9cc fix repl.lisp for CI? 2022-12-09 15:43:14 +01:00
vindarel
9aea9a6ab7 (minor) update Serapeum doc
[ci skip]
2022-12-09 15:34:51 +01:00
vindarel
40961e60a3 (minor) docs: fix headers level 2022-12-09 15:33:20 +01:00
vindarel
59b164c1b8 doc++ 2022-12-09 15:27:47 +01:00
vindarel
442aa60439 Add scripting support!
Just run

$ ciel myscript.lisp

where you can use all the available libraries.
2022-12-09 15:01:07 +01:00
vindarel
eba9f86cff Naming: the core is ciel-core, the binary is ciel
previously: ciel and ciel-repl
2022-12-09 14:27:28 +01:00
vindarel
c6a47f66a6 repl: add --noinform (prepare for scripting) 2022-12-09 14:18:05 +01:00
vindarel
c43a22345d asd: no need of cffi anymore, add-history is long merged into cl-readline 2022-12-09 13:51:17 +01:00
vindarel
243fd292a3 repl: add disable-shell-passthrough (experimental)
doesn't always work?
2022-12-09 13:49:55 +01:00
vindarel
70acbfb580 README: system deps, Ultralisp link, can't share a core image 2022-12-09 13:49:55 +01:00
vindarel
2b032d18d0 (minor) typo 2022-12-09 13:45:03 +01:00
vindarel
b8e65c6182 Use Deploy's :deploy-console to silence its output (does it work?) 2022-12-09 13:44:33 +01:00
vindarel
38304461f0 more docstrings: defun, defmacro
[ci skip]
2022-09-28 18:39:31 +02:00
vindarel
5fc83b15b5 (minor) README: mention experimental CI build for Debian systems
[ci skip]
2022-09-28 18:39:31 +02:00
vindarel
66b4cc5e36 CI: cannot share a core image
[ci skip]
2022-09-27 17:51:07 +02:00
vindarel
d7c90a2f02 build-image on CI: load-asd now wants an absolute pathname
seen on SBCL 2.2.4
2022-09-27 17:42:16 +02:00
vindarel
50009c2311 .asd: we now need cl+ssl before loading the .asd 2022-09-27 17:22:54 +02:00
vindarel
0123250a66 CI: needs libmagic-dev 2022-09-27 17:04:16 +02:00
vindarel
abeb2ef38e add Gitlab CI (init) 2022-09-27 17:01:01 +02:00
vindarel
961460a800 build: with Deploy 2022-09-27 16:59:13 +02:00
vindarel
c5ee0b9165 build: use core compression 2022-09-27 16:46:49 +02:00