Removed all libsql support. (0.40.4)
This commit is contained in:
parent
45dbcde527
commit
74a003236d
13 changed files with 6 additions and 226 deletions
3
docs/external/README.md
vendored
3
docs/external/README.md
vendored
|
|
@ -13,13 +13,10 @@ This section documents Fun's optional, build-time selectable extensions. Each pa
|
|||
- [JSON (json-c)](./json.md)
|
||||
- [libxml2 (XML)](./xml2.md)
|
||||
- [SQLite](./sqlite.md)
|
||||
- [libSQL (SQLite-compatible)](./libsql.md)
|
||||
- [PCRE2 (Perl-compatible regex)](./pcre2.md)
|
||||
- [PC/SC (Smart cards)](./pcsc.md)
|
||||
- [Notcurses (TUI)](./notcurses.md)
|
||||
- [Tcl/Tk (GUI)](./tcltk.md)
|
||||
- [OpenSSL](./openssl.md)
|
||||
- [LibreSSL](./libressl.md)
|
||||
|
||||
## Notes:
|
||||
|
||||
|
|
|
|||
1
docs/external/libressl.md
vendored
1
docs/external/libressl.md
vendored
|
|
@ -1 +0,0 @@
|
|||
This page has been removed. LibreSSL integration was dropped from the Fun project, along with related examples and build options.
|
||||
17
docs/external/libsql.md
vendored
17
docs/external/libsql.md
vendored
|
|
@ -1,17 +0,0 @@
|
|||
# libSQL extension (optional)
|
||||
|
||||
- CMake option: FUN_WITH_LIBSQL=ON
|
||||
- Purpose: SQLite-compatible client using the libSQL (Turso) library.
|
||||
- Homepage: https://libsql.org/
|
||||
|
||||
## Opcodes:
|
||||
|
||||
- OP_LIBSQL_OPEN: pops url_or_path; pushes handle (>0) or 0
|
||||
- OP_LIBSQL_CLOSE: pops handle; pushes Nil
|
||||
- OP_LIBSQL_EXEC: pops sql, handle; pushes rc:int (0=OK)
|
||||
- OP_LIBSQL_QUERY: pops sql, handle; pushes array<map>
|
||||
|
||||
## Notes:
|
||||
|
||||
- Uses a SQLite-compatible C API provided by libSQL; behavior is similar to the SQLite backend.
|
||||
- This module is independent from the SQLite extension; you may enable either or both.
|
||||
27
docs/external/notcurses.md
vendored
27
docs/external/notcurses.md
vendored
|
|
@ -1,27 +0,0 @@
|
|||
# Notcurses (TUI) extension (optional)
|
||||
|
||||
- CMake option: FUN_WITH_NOTCURSES=ON
|
||||
- Purpose: Terminal UI capabilities via the Notcurses library.
|
||||
- Homepage: https://notcurses.com/
|
||||
|
||||
## Opcodes:
|
||||
|
||||
- OP_NC_INIT: initialize Notcurses; returns 1 on success, 0 on failure
|
||||
- OP_NC_SHUTDOWN: shutdown; returns 0
|
||||
- OP_NC_CLEAR: clear screen/plane; returns 0
|
||||
- OP_NC_DRAW_TEXT: pops text, x, y; draws; returns 0
|
||||
- OP_NC_GETCH: pops timeout_ms; returns codepoint or -1 on timeout/error
|
||||
- OP_NC_GET_SIZE: push [rows, cols] of the stdplane, or -1 if unavailable
|
||||
- OP_NC_SET_STYLE: pops style, bg_rgb, fg_rgb; sets colors/styles for stdplane; returns 0/-1
|
||||
- OP_NC_DRAW_CHAR: pops ch, x, y; draws a single Unicode codepoint; returns 0/-1
|
||||
- OP_NC_DRAW_HLINE: pops len, x, y, ch; draws a horizontal line; returns 0/-1
|
||||
- OP_NC_DRAW_VLINE: pops len, x, y, ch; draws a vertical line; returns 0/-1
|
||||
- OP_NC_BOX: pops x, y, w, h, style; draws a rectangle using ASCII/Unicode box glyphs; returns 0/-1
|
||||
- OP_NC_FILL: pops x, y, w, h, ch; fills an area with a codepoint; returns 0/-1
|
||||
- OP_NC_RENDER: forces a render; returns 0/-1
|
||||
|
||||
## Notes:
|
||||
|
||||
- Requires Notcurses development headers/libs.
|
||||
- Behavior may vary across terminals; see the implementation for details.
|
||||
- When Fun is built without Notcurses (FUN_WITH_NOTCURSES=OFF), these opcodes still exist but perform no-ops and return -1/0 as documented, allowing scripts to degrade gracefully.
|
||||
Loading…
Add table
Add a link
Reference in a new issue