I'm not asking about
John Butt, Carmen Benjamin's A New Reference Grammar of Modern Spanish, now in its 2018 6 ed.
Rather, I yen for something like Maj-Britt Mosegaard Hansen's The Structure of Modern Standard French: A Student Grammar (2016) for Spanish whose author
holds a PhD in linguistics and
uses linguistics to describe grammar.
The book can be written in English or French or Spanish.
Written primarily for those readers who have an intermediate to advanced knowledge of French, this book nevertheless can be very useful to those who like the reviewer have been studying French intensely but who could be still classified as beginner/intermediate. Even though the book does not presuppose knowledge of linguistics, readers who have such knowledge, even if not advanced, will be better able to appreciate the analysis in the book. Some readers may be annoyed at the lack of English translation for the many examples given, but this lack can also force readers to concentrate more on working out the translations themselves.