ZAbbrev has been ported from C# to C

I tried to get zabbrev working locally - for some reason, autoreconf doesn’t work correctly on my Mac, so I punted and created a dummy config.h and compiled it by hand.

It seems to work, but the input format of the text isn’t obvious to me. The Inform version seems to have letter prefixes on every line. My source language isn’t Inform or Zap.

Is there a version of input that is basically just raw text?

Thanks,

-Dave

EDIT: Just noticed the documentation at the top of gametext.txt, derp:

I: [I:info, G:game text, V:veneer text, L:lowmem string, A:abbreviation, D:dict word, O:object name, S:symbol, X:infix]
I: [H:game text inline in opcode, W:veneer text inline in opcode]

Well, it ran, but I can’t figure out where it put the output? It seems like it modifies the input gametext file?

Okay, it looks like you’re supposed to redirect the output. I tried ZAP (format 2) and the example earlier in this thread seemed a bit garbled near the end.

Is this the C version or the C#? Because I don’t think the C version is fully functional (It’s not the one I wrote so I won’t try to offer any support).

It’s the C version, which is why I posted in this thread, hoping the author would see this.

The output is usable for my purposes. My compiler produces something close enough to Inform-style game text that can serve as a usable input, and I modified my input routines to deal with the

Abbreviate “Your example” ! stats

output format it generates.

Thanks,

-Dave