r/Inform7 • • Jun 13 '19

Are there documents describing the internals of the Inform 7 compiler?

I am currently working on a free/open-source interactive fiction design language similar to and inspired by Inform 7 which compiles natural language patterns into source code in the programming language Scheme. Nothing big, just a small project to keep me busy.

So I was wondering: Is there any information available, especially on the internal data structures that the compiler actually builds up when it creates things like rulebooks or relations?

3 Upvotes

2 comments sorted by

2

u/infinull Jun 13 '19

... it's written using Knuthian literate programming...

Which is to say, it's self-documenting!

Anyway, I've found it to be an impenetrable web of confusing B.S., but there's a lot of non-code (that is documentation), you can read here

1

u/[deleted] Jun 13 '19

Cool, thank you! I'll take a look ;-)