Files
Thun/implementations/C
Simon Forman f0c94aeed8 regularize defs.txt; new andies.
I made a crude facility in the C impl for excluding definitions that
would replace built-in commands.  This should be improved, eh?

I also started on renameing the logical Boolean ops
https://todo.sr.ht/~sforman/thun-der/29
2023-02-14 08:27:17 -08:00
..
2023-02-02 16:14:11 -08:00
2023-02-10 08:10:47 -08:00
2023-02-14 08:27:17 -08:00
2023-02-14 08:27:17 -08:00
2023-02-14 07:55:09 -08:00
2023-02-14 07:56:52 -08:00
2023-02-12 16:04:37 -08:00
2023-02-14 08:27:17 -08:00
2023-02-14 08:27:17 -08:00
2023-02-14 08:27:17 -08:00
2023-02-08 11:55:33 -08:00
2023-02-10 08:09:31 -08:00
2023-02-05 14:54:33 -08:00

Thun in C

This is my first attempt to write C in many years, I hope it's not too embarassing.

I use Gperf to create a static wordlist. This make word lookup very efficient, but there's no way currently to add definitions at runtime.

There's a janky script convert_defs.py that generates definitions.c, definitions.h, and KEYWORDS.txt from the defs.txt file. I would like to replace the dependency on Python with, say, Awk or something.