interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / tests / osh / vectors / expected.txt

24 lines · 1509 bytes Raw Blame History
1# OSH shared conformance corpus. Contract: ../OSH_PLATFORM_ABI.md (ABI v1 DRAFT). Format: README.md.
2# Authored from the spec; no implementation has produced these lines yet. Inputs: tools/make-vectors.sh.
3# Argv boundaries of v003, v005, v011 and v014 were cross-checked once against GNU bash (not a pinned reference).
4# The bash-verified lexer vectors (backslash-newline, append assignment, $_) are in bash_vectors.tsv; see README.md.
5v001 ok | P0 conn=1 | C0 b=0 argv="ls","-l","/tmp" as= rd=
6v002 ok | P0 conn=2 | C0 b=0 argv="a" as= rd= | P1 conn=3 | C0 b=0 argv="b" as= rd= | P2 conn=1 | C0 b=0 argv="c" as= rd= | P3 conn=1 | C0 b=0 argv="d" as= rd= | C1 b=0 argv="e" as= rd=
7v003 ok | P0 conn=1 | C0 b=0 argv="echo","3","2","x","y z" as= rd=
8v004 ok | P0 conn=1 | C0 b=0 argv= as=x="1",y="2 3" rd=
9v005 ok | P0 conn=1 | C0 b=0 argv="echo","aQc","hello" as= rd=
10v006 ok | P0 conn=1 | C0 b=0 argv="ls","nofile" as= rd=OUT1:"o",DUP2:1
11v007 refuse 222 GLOB off=5
12v008 refuse 226 CMDSUB off=6
13v009 more
14v010 refuse 227 BACKGROUND off=2
15v011 ok | P0 conn=1 | C0 b=0 argv="echo","a","b"," a b ","" as= rd=
16v012 refuse 245 VALUE_GLOB off=5
17v013 refuse 220 NUL_BYTE off=6
18v014 ok | P0 conn=1 | C0 b=0 argv="echo","ab" as= rd=
19v015 ok lex_resumes=1 | P0 conn=1 | C0 b=0 argv="echo","a"*1100 as= rd=
20v016 refuse 246 BRACE_EXPANSION off=9
21v017 refuse 246 BRACE_EXPANSION off=10
22v018 refuse 247 POSITIONAL_RANGE off=8
23v019 refuse 236 GROUP off=0
24v020 ok | P0 conn=1 | C0 b=0 argv="echo","{a}","{","}","{}" as= rd=