A method of production of a homopolymer or copolymer or homo-oligomer or co-oligomer product characterised in that the product is obtained by condensation reaction of a diaminoanthracene, substituted or not, optionally with a diiminoanthracene substituted or not in the absence of anthraquinone substituted or not.