Thun/implementations/C
Simon Forman 3a11fcb834 loop
But it's pretty inefficient, eh?
2023-02-05 18:43:05 -08:00
..
.gitignore Ignore object files. 2023-02-02 16:14:11 -08:00
KEYWORDS.in loop 2023-02-05 18:43:05 -08:00
KEYWORDS.txt loop 2023-02-05 18:43:05 -08:00
Makefile Auto-generate defintions from defs.txt 2023-02-05 13:50:16 -08:00
README.md A README file. 2023-02-05 14:54:33 -08:00
convert_defs.py A README file. 2023-02-05 14:54:33 -08:00
definitions.c minor cleanup 2023-02-05 13:53:53 -08:00
definitions.h Auto-generate defintions from defs.txt 2023-02-05 13:50:16 -08:00
defs.txt Put defs into a generated file. 2023-02-05 13:04:31 -08:00
joy.c loop 2023-02-05 18:43:05 -08:00
joy.h loop 2023-02-05 18:43:05 -08:00
keywords.c loop 2023-02-05 18:43:05 -08:00
notes dip 2023-02-05 08:49:05 -08:00

README.md

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.