Liste des Groupes | Revenir à cl c |
Richard Harnden <richard.nospam@gmail.invalid> writes:You embed the XML in the program as a string, and then mount an internal filesystem over it. So you can use stdio functions on internal data.On 10/06/2024 14:19, Malcolm McLean wrote:There's not much difference between them, and the vast majority>>
Well that's a way of doing it. But it's pretty inconvenient. The shell
lets you edit a FileSystem, XML file in place. Then of course I've got
to test bbx_filesystem.c very rigorously because it must work, it's the
heart of BabyXFS. So by writing the shell, I flush out any problems with
it.
>
And of course now the fun part of the project comes in. I add MiniBasic
to the shell, so you can run basic programs from it.
>
I'd expect to run ksh commands from within ksh, bash commands from
within bash, etc.
of *nix commands aren't part of either shell, or the c shell variants,
but rather just programs that happen to be located via $PATH.
>Indeed. I've not yet understood the advantages of a purported XML filesystem.
I wouldn't expect a filesystem to be part of the shell at all.
Les messages affichés proviennent d'usenet.