u/killallspringboard

sma11: a brand-new utility library
▲ 13 r/pascal

sma11: a brand-new utility library

Get the source code here: https://gitlab.com/lebao3105/sma11

sma11 is a library made for many (but not all, for now?) things a programmer would do in their programming life:

* Iterate a directory

* Use regular expression to match strings

* Ask the user for input

* And more

This uses some RTL and FCL units, if you ask. And sma11 is NOT be a replacement for both, just a better way to access them.

Take a look at it! Feel free to tell me your thoughts, issues, and feature requests.

u/killallspringboard — 1 day ago
▲ 25 r/pascal

FPC on Android

You can get FPC from here: https://downloads.freepascal.org/fpc/snapshot/.

In Termux, run:

termux-setup-storage

apt update

apt install binutils

touch .bashrc

mkdir .local && cd .local

tar -xvf ../storage/Download/<fpc tar.gz file name here, press Tab to auto-complete>

bin/fpcmkcfg -o ~/.fpc.cfg

cd ~

Now open .fpc.cfg using your preferred editor, e.g nano or msedit (recommended), replace ALL occurences of u/units with u\~/.local/units.

Open .bashrc and update $PATH with:

export PATH=$HOME/.local/bin:$HOME/.local/bin/aarch64-android:$PATH

Start a new session or run the export command above and you're set.

u/killallspringboard — 26 days ago

System utilities, made in Pascal

You can try it on Linux (and maybe other UNIXes too). There is a limited support for Windows.

If the build fails due to internal compiler exceptions, rebuild for 2-3 times.

github.com
u/killallspringboard — 2 months ago