rdm upd
This commit is contained in:
@@ -177,7 +177,7 @@ MicroBantam (`mb`) is a compressed Perl 5 reference implementation of the same a
|
|||||||
- `bantam.py` — Python reference implementation (stdlib only)
|
- `bantam.py` — Python reference implementation (stdlib only)
|
||||||
- `main.go`, `term_linux.go`, `term_darwin.go`, `term_windows.go`, `term_other.go` — Go implementation (stdlib only, module `code.luxferre.top/luxferre/bantam`)
|
- `main.go`, `term_linux.go`, `term_darwin.go`, `term_windows.go`, `term_other.go` — Go implementation (stdlib only, module `code.luxferre.top/luxferre/bantam`)
|
||||||
- `bantam.pl` — Perl 5 implementation (core modules only)
|
- `bantam.pl` — Perl 5 implementation (core modules only)
|
||||||
- `mb` — MicroBantam, compressed Perl 5 implementation (core modules only, 92 SLOC)
|
- `mb` — MicroBantam, compressed Perl 5 implementation (core modules only, under 100 SLOC)
|
||||||
- `model.cfg`, `system.txt` — shared configuration and system prompt
|
- `model.cfg`, `system.txt` — shared configuration and system prompt
|
||||||
- `README.md` — this document
|
- `README.md` — this document
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,7 @@ $SIG{__WARN__} = sub {
|
|||||||
warn $m;
|
warn $m;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Make STDOUT/STDERR UTF-8 aware so decoded Unicode (model output, tool
|
binmode(STDOUT, ':encoding(UTF-8)');binmode(STDERR, ':encoding(UTF-8)');binmode(STDIN, ':encoding(UTF-8)');
|
||||||
# results) prints cleanly instead of triggering "Wide character in print"
|
|
||||||
binmode(STDOUT, ':encoding(UTF-8)');
|
|
||||||
binmode(STDERR, ':encoding(UTF-8)');
|
|
||||||
binmode(STDIN, ':encoding(UTF-8)');
|
|
||||||
|
|
||||||
$| = 1; # unbuffered output: live spinner, responsive prompt
|
$| = 1; # unbuffered output: live spinner, responsive prompt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user