|
|
|
|
|
by cosmos0072
90 days ago
|
|
> I am not familiar with the Scheme ecosystem but see you are implementing a lot within your shell (http client, sqlite support) what is great. Yes. Initially, I wanted to integrate http client, sqlite client etc. directly in the main shell executable. This turned out to be impractical, because it introduces compile-time dependencies on external libraries, and because any bug, vulnerability or crash in the C code would bring down the whole shell. My current solution is to have separate C programs (currently `http` and `parse_sqlite`) that are not compiled by default: you need to run `make utils` to build them. > But does that mean I can produce a Schemesh binary that will include Chez Scheme and run my script on any Linux or FreeBSD host? Yes, exactly. Schemesh is a C program that includes both Chez Scheme REPL and shell features. |
|