22 April 2019

xs

System: Slackware Linux (version 14.2)
CPUs: Intel(R) Atom(TM) CPU N270 @1.60GHz
Deps: XS-master.zip, meson-0.50.1.tar.gz

See the previous Posts on meson and python3.

TieDyedDevil/XS/@b210417
Allow build to function from a working directory without a .git/. The…
… git date, hash and url are rendered as - in $&version.
committed May 3, 2019

Modify meson.build.

    gc_lib = compiler.find_library('gc')
+   ncurses_lib = compiler.find_library('ncurses')
    readline_lib = compiler.find_library('readline')

-   common_dependencies = [boost_dep, readline_lib, gc_lib, ffi_lib]
+   common_dependencies = [boost_dep, readline_lib, ncurses_lib, gc_lib, ffi_lib]

The INSTALL file's boost minimum version number can be revised to 1.59.

From the collection of library functions written for the xs shell.

bash-4.3$ xs
; . ~/.xslib.d/miscellaneous.xs
; echo <={%linepower}
0
; exit
bash-4.3$

The directory name in the below was adjusted for a specific laptop.

fn %linepower {
            # Return true if the computer is on AC power.
            let (AC = /sys/class/power_supply/ACP1) {
                        if {! access -d $AC} {
                                  true
                        } else if {~ `{cat $AC/online} 1} {
                                  true
                        } else false
            }
}

See the earlier Post on src-highlite; the HTML adjusted to not use the deprecated <font> element.

[   ]


TieDyedDevil/XS@6b83ec3
Add examples/ directory. [No support.]
committed Oct 17, 2019

TieDyedDevil/XS@9592d9b
Also link libgccpp. This resolves the build failure due to compiler updates on Fedora 32.
committed Apr 29, 2020

TieDyedDevil/XS@789540c
Update README.md
committed Feb 2, 2021

varehus/XS@7a45695
Update required Meson version to 1.11.1
committed Aug 13, 2026