A work mate gave me a tip, thanks Klaus. Much easier than learning the syntax of galasm. There is a nice project running on Java called #Digital on github. Logical elements, direct formula input, building the circuit automatically, simulate the circuit and much more. And a direct export to a JEDEC file for programming the GAL. Definitely worth taking a look at:
https://github.com/hneemann/Digital
#RetroProgramming #AddressDecoder #TTLLogic #GAL