A General Theory of Syntax With Bindings