@z3dev for my purposes the type of api doesn't matter much, because I use a preprocessor (currently python, may be something like livescript in the future) that can generate whatever I need. Ideally I would use the lowest level.
That said, I could eventually use javascript as a frontend directly. It's a whole different situation with jscad compared to openscad as a backend.
My preprocessor generates a tree internally (which seems to be very similar to the vtree).
So, the transition to jscad could also be from my tree to vtree...
btw. I already created a new thread for further discussions, because I thought it would not fit well under "V2 hulls"):
v2-status-and-testing-environments