2026-11-30 22:22:18 +01:00
|
|
|
(package
|
|
|
|
|
(name (bjosh))
|
|
|
|
|
(version "0.1.0")
|
|
|
|
|
(description "A shell: POSIX command lines, job control, and built-in commands in Bjolang that pass values. Linux.")
|
|
|
|
|
(license "MPL-2.0")
|
Phase 1: POSIX command lines, job control and the prompt
- (bjosh syntax): a part of POSIX sh, parsed with (text
parser-combinators). Syntax that is not supported raises an error that
names it.
- (bjosh expand): variables, ~ and globs. Values are not split.
- (bjosh exec): pipes as (std run) jobs, && || ; &, redirections, and
NAME=value through env.
- (bjosh shell) and (bjosh builtins): the job table and cd, pwd, exit,
export, unset, jobs, fg, bg, kill, type, help, history.
- (bjosh editor): Enter waits for open quotes and trailing operators;
completion of commands and files.
- -c LINE, FILE, and stdin. A Native AOT build too.
- Tests: the parser, expansion, the editor, lines through -c, and job
control under script.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 06:19:45 +01:00
|
|
|
;; A native executable too, src/main: a shell must start fast.
|
|
|
|
|
(aot #t)
|
2026-11-30 22:22:18 +01:00
|
|
|
|
|
|
|
|
(depends
|
|
|
|
|
;; The line editor and the terminal. On disk until it has a remote.
|
|
|
|
|
(package (name (bjoterm)) (source (path (dir "../bjoterm"))))))
|