My #plan9 #9front filesystem generator is in a state where it can be used for experiments. Looking at the #9p library and the 9pfile interface, I thought there should be a third way that uses a more declarative filesystem description, mixed with standard C code. My generator can interpret this description and generate a standard C file that can be included into a C project.
The paths that are described in the file can have variables /like/{this}, which can be accessed as a standard C char* variable in the code.
Take a look at the detailed description and a short sample filesystem here: http://shithub.us/sirjofri/fsgen/HEAD/info.html
Any feedback and ideas are welcome!