Hello,
Gibbon is the name of the full compiler, while the interesting part of that is the Location Calculus intermediate representation which the LoCal paper describes.
It took a couple iterations to explore the design space, but eventually it was quite straightforward to implement LoCal in Idris2 as an embedded domain specific language.
And yes, the LoCal EDSL is compatible with 2ltt staging, but i have not tried it yet, but it is planned.
Regarding the 2ltt implementations in MicroHs and Idris2 I can not say anything about the implementation complexity, because it was Claude Fable that did the implementation based on Andras Kovacs's staged demo and the corresponding papers.
But in theory it should be simple because one of my colleagues has a full and self contained implementation (with zero dependency) of a dep. typed language with 2ltt staging support under 1000 SLOC in Haskell. (including the parser and type checker and reducer)
Cheers,
Csaba Hruska