move •_while_ to standard system values

This commit is contained in:
dzaima 2023-12-01 14:27:22 +02:00
parent 6573232694
commit 6c2334812c

View File

@ -7,6 +7,7 @@ See [the BQN specification](https://mlochbaum.github.io/BQN/spec/system.html) fo
| `•BQN` | | | `•BQN` | |
| `•ReBQN` | Supported options: `repl`; `primitives`; `system` that's not `"safe"` | | `•ReBQN` | Supported options: `repl`; `primitives`; `system` that's not `"safe"` |
| `•primitives` | | | `•primitives` | |
| `•_while_` | |
| `•platform` | | | `•platform` | |
| `•Import` | | | `•Import` | |
| `•FFI` | see [FFI](#ffi) | | `•FFI` | see [FFI](#ffi) |
@ -46,10 +47,6 @@ See [the BQN specification](https://mlochbaum.github.io/BQN/spec/system.html) fo
`•term.OutRaw` and `•term.ErrRaw` output the given bytes directly to the specific stream, without any trailing newline. May be removed once a proper interface for stream I/O has been made. `•term.OutRaw` and `•term.ErrRaw` output the given bytes directly to the specific stream, without any trailing newline. May be removed once a proper interface for stream I/O has been made.
## `•_while_`
While `𝕨𝔾𝕩`, execute `𝕩↩𝕨𝔽𝕩`. Equivalent to `{𝕨𝔾𝕩? 𝕨 𝕊 𝕨𝔽𝕩; 𝕩}`.
## `•GetLine` ## `•GetLine`
Ignores its argument and returns one line of stdin. Ignores its argument and returns one line of stdin.
@ -123,7 +120,7 @@ That is, the supported types are:
- structs of any of the above (except `&`-pointers) or other structs (e.g. `{*i8,*{*u32:i8,u64:i32}}`), except structs that are within `&` themselves cannot contain any pointers other than converted opaque pointers (e.g. `*{*i32,u64}`, `&{*:i32,u64}`, and `&{i32,u64}` are fine, but `&{*i32,u64}` is not); - structs of any of the above (except `&`-pointers) or other structs (e.g. `{*i8,*{*u32:i8,u64:i32}}`), except structs that are within `&` themselves cannot contain any pointers other than converted opaque pointers (e.g. `*{*i32,u64}`, `&{*:i32,u64}`, and `&{i32,u64}` are fine, but `&{*i32,u64}` is not);
- the `a` type, which maps to `BQNV` from [bqnffi.h](../include/bqnffi.h) (example usage in [FFI tests](../test/ffi/)). - the `a` type, which maps to `BQNV` from [bqnffi.h](../include/bqnffi.h) (example usage in [FFI tests](../test/ffi/)).
# •SH # `•SH`
The left argument can be a namespace, providing additional options. The left argument can be a namespace, providing additional options.