summaryrefslogtreecommitdiffhomepage
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* web: the specification as a page, converted from typst's HTMLchore/c23-idiomsSean Kurtz5 days1-0/+8
| | | | | | | | | | typst writes no markdown, so the site had the typeset HTML export and no page that a reader could search or link into. web/spec-md.py reduces the export to what goldmark reads and hands it to pandoc, then puts back the heading ids the spec cross-references itself by and carries the MathML over untouched: browsers render it, so the page ships no TeX script. `make docs` writes it with the other document pages, and the site stays hand-written pages until someone runs that.
* web: a Hugo site for zashfeat/web-siteSean Kurtz5 days1-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | A site in web/, built with Hugo and no theme module, so it builds offline from one Go binary: hugo server --source web preview on localhost:1313 hugo --source web --minify -> web/public, which is ignored Pages: a home page with the shell's pitch, a terminal card, the four properties that define it and a short benchmark table, plus three docs pages (building, development, status) in a section with a sidebar. The palette comes from packaging/zash-logo.svg: mainframe navy, periwinkle, a signal blue. Dark only, monospace where a shell would be monospaced. Highlighting uses classes (`markup.highlight.noClasses = false`) against assets/css/chroma.css generated with `hugo gen chromastyles --style= tokyonight-night`, so code sits in the page instead of a monokai box. site.css and copy.js go through Hugo's minify+fingerprint pipeline. Two .gitignore fixes this needed: `docs/` matched web/content/docs/ (the generated Doxygen output is at the root, so it is `/docs/` now), and Hugo's .hugo_build.lock is ignored. Not published yet: zash is private and Pages is not available for a private repository on a free plan, so web/README.md records the options.
* z/OS: run 31-bit and load IGGCSI00 through the C librarySean Kurtz7 days1-1/+2
| | | | | | | | | | | | | zash was AMODE 64, so calling the AMODE 31 IGGCSI00 needed assembler glue (zos_csi.s) that switched addressing mode around the branch. Built with -m32 the program is 31-bit itself: the call goes through a plain function pointer, the work area and the saved registers live in one 31-bit block in C, and the glue is gone. The rest of the tree follows the change: the build, the off-z/OS lint shim, DESIGN.md and README.md, the benches, the Lean spec of the pattern matcher, and the tests that recorded what the extra address bits had changed.
* gitignore the z/OS build outputsSean Kurtz12 days1-1/+6
| | | | | zash-dbg, zash-ebcdic and the two AMBLIST listings are build products, so they were showing up as untracked files on the mainframe.
* Stop tracking generated __pycache__ bytecodeSean Kurtz12 days1-1/+2
| | | | | The committed .pyc changed on every run and made both copies of the tree look dirty.
* More progress, modifications to vscode working environment. Integrated ↵Sean Kurtz13 days1-1/+2
| | | | terminal work.
* Added LLDB debug builds and support to Makefile and VSCode.Sean Kurtz13 days1-1/+1
|
* z/OS: file tagging, catalog completion, time, and per-command optionsSean Kurtz2026-11-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tagging and conversion (sys_zos.c, redir.c, input.c, var.c, exec.c): - _TAG_REDIR_IN/OUT/ERR as /bin/sh documents them, cached by variable hooks so redirection tests a byte; honoured as a prefix on external commands and on pipeline stages. - ASCII builds tag new output and here-document files as text, tag pipes IBM-1047 (set +o pipetag to stop), and switch on autoconvert. - Scripts, . files, profile and ENV are read in either character set: tagged files get F_CONTROL_CVT, untagged ones are sniffed. - tag/chtag primitives (sys_tag_get/sys_tag_set) for a builtin to come. Data set completion (complete.c, mvsfmt.[ch], zos_csi.s): - //'HLQ.PART, "//'HLQ.PART, //NAME (user HLQ), //'DSN(MEM, //DD:NAME complete one qualifier at a time from the Catalog Search Interface, PDS directories and the TIOT. - IGGCSI00 is called through HLASM glue that switches to AMODE 31 and keeps every register and parameter below the bar (VERIFY). - The work-area, directory and TIOT decoders are portable and run on Linux against a stand-in catalog that produces the real EBCDIC bytes, including CSI resume and directory-block splits; fuzzed with libFuzzer (make fuzz). - A lone completion inside quotes now closes the quote. Other z/OS features: - time [-p] keyword with shell/children CPU split. - set -o jobnames (_BPX_JOBNAME per command), set -o shareas (_BPX_SHAREAS=YES for foreground commands only), set -o msgid (ZSHnnnnE/W message IDs), ulimit -M (MEMLIMIT), ZOS_SYSNAME, ZOS_SYSPLEX, ZOS_RELEASE, ZOS_ASID, ZOS_JOBNAME, prompt \S. - BPXWDYN entry point for an alloc builtin to come. Checking z/OS code off z/OS: - make zos-lint compiles sys_zos.c against declarations transcribed from the z/OS headers, and the rest with the MVS paths forced on. - make mvs-asan runs the suite with the MVS paths on, under ASan/UBSan. - make asan and make valgrind now check for leaks.
* Track tests/zash: .gitignore matched the directory as well as the binarySean Kurtz2026-11-151-2/+2
|
* Add [[ ]], make coverage, and fixes found by edge-case testsSean Kurtz2026-11-151-0/+1
| | | | | | | [[ ]] is parsed into a tree and evaluated without argv or lookup. Fixes: errexit inside a tested subshell, the ${x:?} message, arithmetic on variables holding expressions, printf %c of an empty argument, job text for arithmetic, and \n and \e prompt escapes.
* Add extensions, job control and the interactive layer; convert to C11Sean Kurtz2026-11-131-0/+1
| | | | | | | | | | | | | | | | | Language: $'...', aliases, function keyword, (( )) and let, typeset and integer, print, whence, setvar, ulimit, read -t, RANDOM, SECONDS, the ERR trap, trap -p, chdir, and more set -o names. Job control: a job table, process groups, terminal hand-over through the spawn layer, jobs/fg/bg, wait %n and kill %n. Interactive: prompt expansion, a built-in line editor with emacs and vi modes, completion, history with fc and HISTFILE, and libedit as a compile-time alternative (make EDIT=libedit LDLIBS=-ledit). The source is now C11 (was C23), uses typedef'd structs and enums, and has Doxygen comments throughout. Adds .clang-tidy, .clangd and a Doxyfile.
* zash: scripting core, test suite and benchmarksSean Kurtz2026-11-121-0/+5
A clean-slate POSIX shell for z/OS UNIX in the Almquist tradition, written in C23 for Clang (Linux) and IBM Open XL C/C++ (z/OS). - Parser, expansion, arithmetic, redirection, traps and builtins. - Spawn-first execution: fd plans instead of fork+dup2, in-shell pure builtins for pipelines and command substitution, $(a | b) without a subshell. - Flat .POSIX Makefile; asan, valgrind, bench, compdb and z/OS targets. - Tests: posix (dash-generated), zash, process accounting, linux, zos. Nothing has been compiled or run on z/OS yet.