Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Writing Configuration Files

nehwgeneration is a type-mapping based code generator. This means, that while it generates server code for you, it is your task to tell it which struct, enums and co. you’d like to use. This is done by writing a config file, specifying matching-rules, and finally, writing conversion rules.

This chapter will teach you how to write both simple and intricate configuration files for ngen.